Bug #57350
failed to build on riscv64
Status:
New
Priority:
Normal
Assignee:
-
Category:
build
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
From Debian buildd:
/usr/bin/ld: ../../lib/libos.a(MemStore.cc.o): in function `std::__atomic_base<unsigned short>::operator++()':
/usr/include/c++/12/bits/atomic_base.h:385: undefined reference to `__atomic_fetch_add_2'
/usr/bin/ld: ../../lib/libos.a(MemStore.cc.o): in function `std::__atomic_base<unsigned short>::operator--()':
/usr/include/c++/12/bits/atomic_base.h:393: undefined reference to `__atomic_fetch_sub_2'
/usr/bin/ld: ../../lib/libos.a(MemStore.cc.o): in function `std::__atomic_base<unsigned short>::operator++()':
/usr/include/c++/12/bits/atomic_base.h:385: undefined reference to `__atomic_fetch_add_2'
/usr/bin/ld: ../../lib/libos.a(MemStore.cc.o): in function `std::__atomic_base<unsigned short>::operator--()':
/usr/include/c++/12/bits/atomic_base.h:393: undefined reference to `__atomic_fetch_sub_2'
/usr/bin/ld: /usr/include/c++/12/bits/atomic_base.h:393: undefined reference to `__atomic_fetch_sub_2'
/usr/bin/ld: /usr/include/c++/12/bits/atomic_base.h:393: undefined reference to `__atomic_fetch_sub_2'
/usr/bin/ld: /usr/include/c++/12/bits/atomic_base.h:393: undefined reference to `__atomic_fetch_sub_2'
/usr/bin/ld: ../../lib/libblk.a(KernelDevice.cc.o): in function `std::__atomic_base<bool>::compare_exchange_strong(bool&, bool, std::memory_order, std::memory_order)':
/usr/include/c++/12/bits/atomic_base.h:560: undefined reference to `__atomic_compare_exchange_1'
/usr/bin/ld: ../rocksdb/librocksdb.a(memtable.cc.o): in function `rocksdb::MergeContext::GetOperandsDirectionBackward()':
/<<PKGBUILDDIR>>/src/rocksdb/db/merge_context.h:98: undefined reference to `__atomic_compare_exchange_1'
/usr/bin/ld: ../rocksdb/librocksdb.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: ../rocksdb/librocksdb.a(memtable.cc.o):/usr/include/c++/12/bits/atomic_base.h:523: more undefined references to `__atomic_compare_exchange_1' follow
collect2: error: ld returned 1 exit status
make[3]: *** [src/os/CMakeFiles/ceph-bluestore-tool.dir/build.make:134: bin/ceph-bluestore-tool] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:4724: src/os/CMakeFiles/ceph-bluestore-tool.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
History
#1 Updated by Eric Long over 1 year ago
Pull Request: 47883
#2 Updated by Ilya Dryomov about 1 year ago
- Target version deleted (
v16.2.11)