Interesting xnox,
if you look here
https://buildd.debian.org/status/logs.php?pkg=mariadb-10.3&arch=riscv64 you see
the sad build history.
The fail seems to happen with g++:
195782 cd /<<PKGBUILDDIR>>/builddir/storage/perfschema &&
/usr/bin/riscv64-linux-gnu-g++ -DHAVE_CONFIG_H -DMYSQL_SERVER
-D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>>/builddir/include -I/<<PKGBU
195783 /usr/bin/ld: librocksdblib.a(memtable.cc.o): in function
`rocksdb::SpinMutex::try_lock()':
195784
./builddir/storage/rocksdb/./storage/rocksdb/rocksdb/util/mutexlock.h:106:
undefined reference to `__atomic_compare_exchange_1'
195785 /usr/bin/ld: librocksdblib.a(memtable.cc.o): in function `void
rocksdb::DynamicBloom::AddHash<rocksdb::DynamicBloom::AddHashConcurrently(unsigned
int)::{lambda(std::atomic<unsigned ch
195786
./builddir/storage/rocksdb/./storage/rocksdb/rocksdb/util/dynamic_bloom.h:181:
undefined reference to `__atomic_fetch_or_1'
195787 /usr/bin/ld:
./builddir/storage/rocksdb/./storage/rocksdb/rocksdb/util/dynamic_bloom.h:182:
undefined reference to `__atomic_fetch_or_1'
195788 /usr/bin/ld: librocksdblib.a(memtable.cc.o): in function
`rocksdb::MemTable::Add(unsigned long, rocksdb::ValueType, rocksdb::Slice
const&, rocksdb::Slice const&, bool, rocksdb::MemTab
195789 ./builddir/storage/rocksdb/./storage/rocksdb/rocksdb/db/memtable.cc:583:
undefined reference to `__atomic_fetch_or_1'
195790 /usr/bin/ld:
./builddir/storage/rocksdb/./storage/rocksdb/rocksdb/db/memtable.cc:583:
undefined reference to `__atomic_fetch_or_1'
195791 /usr/bin/ld: librocksdblib.a(memtable.cc.o): in function
`std::__atomic_base<bool>::compare_exchange_weak(bool&, bool,
std::memory_order, std::memory_order)':
195792 /usr/include/c++/9/bits/atomic_base.h:457: undefined reference to
`__atomic_compare_exchange_1'
195793 /usr/bin/ld: /usr/include/c++/9/bits/atomic_base.h:457: undefined
reference to `__atomic_compare_exchange_1'
195794 /usr/bin/ld: /usr/include/c++/9/bits/atomic_base.h:457: undefined
reference to `__atomic_compare_exchange_1'
195795 /usr/bin/ld: /usr/include/c++/9/bits/atomic_base.h:457: undefined
reference to `__atomic_compare_exchange_1'
195796 /usr/bin/ld: /usr/include/c++/9/bits/atomic_base.h:457: undefined
reference to `__atomic_compare_exchange_1'
195797 /usr/bin/ld:
librocksdblib.a(memtable.cc.o):/usr/include/c++/9/bits/atomic_base.h:457: more
undefined references to `__atomic_compare_exchange_1' follow
195798 collect2: error: ld returned 1 exit status
Currently rocksdb considers to add it to their build at
https://github.com/facebook/rocksdb/pull/7060/commits/af4046c6ae81e0e03594921a405717fc3a869119
And in my Debian MP we try that patch instead of the disabling.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876814
Title:
Package mariadb-10.3 forked in Debian, patches not upstreamed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.3/+bug/1876814/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs