Control: reopen -1

On 22/11/2018 10:24, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the src:ceph package:
> 
> #913601: ceph: FTBFS on mips/el: /usr/include/c++/8/bits/atomic_base.h:304: 
> undefined reference to `__atomic_fetch_sub_8'
> 
> It has been closed by Gaudenz Steinlin <gaud...@debian.org>.

This still failed somewhat similarly:

cd /<<BUILDDIR>>/ceph-12.2.8+dfsg1/obj-mips-linux-gnu/src/test/objectstore && 
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/unittest_rocksdb_option.dir/link.txt --verbose=1
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/ceph-12.2.8+dfsg1=. 
-fstack-protector-strong -Wformat -Werror=format-security  -g1 --param 
ggc-min-expand=5 -Wdate-time -D_FORTIFY_SOURCE=2  -D_FILE_OFFSET_BITS=64 -Wall 
-Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith 
-Werror=format-security -fno-strict-aliasing -fsigned-char -Wno-unknown-pragmas 
-rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto 
-I/usr/include/nss -I/usr/include/nspr -I/usr/include -fno-builtin-malloc 
-fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free  -Wl,-z,relro 
-Wl,-z,now -Wl,--as-needed -pie 
CMakeFiles/unittest_rocksdb_option.dir/TestRocksdbOptionParse.cc.o 
../CMakeFiles/unit-main.dir/unit.cc.o  -o ../../../bin/unittest_rocksdb_option 
-Wl,-rpath,/<<BUILDDIR>>/ceph-12.2.8+dfsg1/obj-mips-linux-gnu/lib -latomic 
../../../lib/libgmock_main.a ../../../lib/libgmock.a ../../../lib/libgtest.a 
-lpthread -ldl ../../../lib/libglobal.a ../../../lib/libos.a -lblkid 
../../../lib/libceph-common.so.0 -lblkid ../../../lib/libjson_spirit.a 
../../../lib/libcommon_utf8.a ../../../lib/liberasure_code.a 
/usr/lib/mips-linux-gnu/libboost_thread.so 
/usr/lib/mips-linux-gnu/libboost_chrono.so 
/usr/lib/mips-linux-gnu/libboost_atomic.so 
/usr/lib/mips-linux-gnu/libboost_random.so 
/usr/lib/mips-linux-gnu/libboost_system.so 
/usr/lib/mips-linux-gnu/libboost_program_options.so 
/usr/lib/mips-linux-gnu/libboost_date_time.so 
/usr/lib/mips-linux-gnu/libboost_iostreams.so 
/usr/lib/mips-linux-gnu/libboost_regex.so -lssl3 -lsmime3 -lnss3 -lnssutil3 
-lplds4 -lplc4 -lnspr4 -lpthread -lpthread -lrt -ldl -lresolv -libverbs -laio 
-lfuse ../../../lib/libkv.a -latomic -lleveldb ../../rocksdb/librocksdb.a 
-ltcmalloc -lsnappy -lz -lbz2 
/usr/bin/ld: ../../rocksdb/librocksdb.a(db_impl_files.cc.o): undefined 
reference to symbol '__atomic_fetch_sub_8@@LIBATOMIC_1.0'
/usr/bin/ld: /usr/lib/gcc/mips-linux-gnu/8/libatomic.so: error adding symbols: 
DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** 
[src/test/objectstore/CMakeFiles/unittest_rocksdb_option.dir/build.make:126: 
bin/unittest_rocksdb_option] Error 1

Looks like librocksdb needs to be linked to libatomic too.

Cheers,
Emilio

Reply via email to