Build failure on x86 linux: undefined reference to `__atomic_load'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Noel,
After commit 3749d9af3745c0eaff7239e379578e4e2af89e9d
    tdf#130795 use concurrent hashmap in SharedStringPool
On both OpenSUSE Tumbleweed and Arch 32, I see the build failure below. Would you like any additional debugging info? 

-Luke

[DEP] LNK:Library/libsvllo.so
[LNK] Library/libsvllo.so
/usr/lib/gcc/i586-suse-linux/11/../../../../i586-suse-linux/bin/ld: /core/workdir/CxxObject/svl/source/misc/sharedstringpool.o: in function `libcuckoo::cuckoohash_map<_rtl_uString*, std::pair<rtl::OUString, rtl::OUString>, svl::(anonymous namespace)::HashFunction, svl::(anonymous namespace)::EqualsFunction, std::allocator<std::pair<_rtl_uString* const, std::pair<rtl::OUString, rtl::OUString> > >, 4u>::cuckoo_status libcuckoo::cuckoohash_map<_rtl_uString*, std::pair<rtl::OUString, rtl::OUString>, svl::(anonymous namespace)::HashFunction, svl::(anonymous namespace)::EqualsFunction, std::allocator<std::pair<_rtl_uString* const, std::pair<rtl::OUString, rtl::OUString> > >, 4u>::cuckoo_fast_double<std::integral_constant<bool, false>, std::integral_constant<bool, true> >(unsigned int)':
sharedstringpool.cxx:(.text+0x14ec): undefined reference to `__atomic_load'
/usr/lib/gcc/i586-suse-linux/11/../../../../i586-suse-linux/bin/ld: sharedstringpool.cxx:(.text+0x17f6): undefined reference to `__atomic_load'
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [/core/svl/Library_svl.mk:20: /core/instdir/program/libsvllo.so] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:288: build] Error 2





[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux