Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
riscv64 (and other libatomic requiring platforms)
Description
What was fixed, is broken again.
from deb build log:
[ 69%] Linking CXX executable sst_dump
|
cd /<<PKGBUILDDIR>>/builddir/storage/rocksdb && /usr/bin/cmake -E cmake_link_script CMakeFiles/sst_dump.dir/link.txt --verbose=1
|
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/mariadb-10.6-1:10.6.11-2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Wno-range-loop-construct -O2 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall -Wenum-compare -Wenum-conversion -Wextra -Wformat-security -Wmissing-braces -Wno-format-truncation -Wno-init-self -Wno-nonnull-compare -Wno-unused-parameter -Woverloaded-virtual -Wnon-virtual-dtor -Wvla -Wwrite-strings -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,-z,relro,-z,now CMakeFiles/sst_dump.dir/rocksdb/tools/sst_dump.cc.o -o sst_dump librocksdblib.a -llz4 -lsnappy -lzstd -lz -ldl
|
collect2: error: ld returned 1 exit status
|
make[4]: *** [storage/rocksdb/CMakeFiles/sst_dump.dir/build.make:105: storage/rocksdb/sst_dump] Error 1
|
/usr/bin/ld: librocksdblib.a(memtable.cc.o): in function `rocksdb::MemTable::ApproximateMemoryUsage()':
|
/usr/src/mariadb-10.6-1:10.6.11-2/storage/rocksdb/rocksdb/db/memtable.cc:129: undefined reference to `__atomic_compare_exchange_1'
|
/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)':
|
/usr/include/c++/12/bits/atomic_base.h:523: undefined reference to `__atomic_compare_exchange_1'
|
/usr/bin/ld: /usr/include/c++/12/bits/atomic_base.h:523: undefined reference to `__atomic_compare_exchange_1'
|
/usr/bin/ld: /usr/include/c++/12/bits/atomic_base.h:523: undefined reference to `__atomic_compare_exchange_1'
|
/usr/bin/ld: /usr/include/c++/12/bits/atomic_base.h:523: undefined reference to `__atomic_compare_exchange_1'
|
/usr/bin/ld: librocksdblib.a(memtable.cc.o):/usr/include/c++/12/bits/atomic_base.h:523: more undefined references to `__atomic_compare_exchange_1' follow
|
Attachments
Issue Links
- relates to
-
MDEV-23051 RocksDB build fails on riscv64
- Closed