Hello, Missatge de Otto Kekäläinen <o...@debian.org> del dia ds., 27 de jul. 2019 a les 3:21: > > Package: mariadb-10.3 > X-Debbugs-CC: debian-ri...@lists.debian.org > User: debian-ri...@lists.debian.org > Usertags: riscv64 > > The version of the package currently FTBFS on the riscv64 port. > > >From > >https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.3&arch=riscv64&ver=1%3A10.3.16-1&stamp=1561225015&raw=0 > > > /usr/bin/ld: librocksdblib.a(memtable.cc.o): in function `.L0 ': > ./builddir/storage/rocksdb/./storage/rocksdb/rocksdb/util/dynamic_bloom.h:177: > undefined reference to `__atomic_fetch_or_1' > /usr/bin/ld: librocksdblib.a(memtable.cc.o): in function `.LVL1731': > ./builddir/storage/rocksdb/./storage/rocksdb/rocksdb/util/dynamic_bloom.h:179: > undefined reference to `__atomic_fetch_or_1' > /usr/bin/ld: librocksdblib.a(memtable.cc.o): in function `SaveValue': > ./builddir/storage/rocksdb/./storage/rocksdb/rocksdb/db/memtable.cc:596: > undefined reference to `__atomic_compare_exchange_1' > /usr/bin/ld: librocksdblib.a(memtable.cc.o): in function `.L0 ': > /usr/include/c++/8/bits/atomic_base.h:434: undefined reference to > `__atomic_compare_exchange_1' > /usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:434: undefined > reference to `__atomic_compare_exchange_1' > /usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:434: undefined > reference to `__atomic_compare_exchange_1' > /usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:434: undefined > reference to `__atomic_compare_exchange_1' > /usr/bin/ld: > librocksdblib.a(memtable.cc.o):/usr/include/c++/8/bits/atomic_base.h:434: > more undefined references to `__atomic_compare_exchange_1' follow > collect2: error: ld returned 1 exit status > > If you are an RISC expert, feel free to fork > https://salsa.debian.org/mariadb-team/mariadb-10.3, play around, and > make a merge request.
According to: https://github.com/riscv/riscv-gnu-toolchain/issues/183#issuecomment-253721765 The code including atomic must link using `-latomic`, that is apparently GCC bug, which it is not often seen in other architectures. I have been unable to test the assumption. Regards -- Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-.