Date: Wed, 15 Jan 2020 05:06:39 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243364] #include <atomic> leads to error: undefined symbol: __atomic_store Message-ID: <bug-243364-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243364 Bug ID: 243364 Summary: #include <atomic> leads to error: undefined symbol: __atomic_store Product: Base System Version: 12.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org Testcase: https://raw.githubusercontent.com/STEllAR-GROUP/hpx/master/cmake/tests/cxx1= 1_std_atomic.cpp > $ c++ -o a ./work/hpx-1.3.0/cmake/tests/cxx11_std_atomic.cpp > ld: error: undefined symbol: __atomic_store > >>> referenced by cxx11_std_atomic.cpp > >>> /tmp/cxx11_std_atomic-83659e.o:(std::__1::__atomic_base= <uint128_type, false>::store(uint128_type, std::__1::memory_order)) >=20 > ld: error: undefined symbol: __atomic_load > >>> referenced by cxx11_std_atomic.cpp > >>> /tmp/cxx11_std_atomic-83659e.o:(std::__1::__atomic_base= <uint128_type, false>::load(std::__1::memory_order) const) > c++: error: linker command failed with exit code 1 (use -v to see invocat= ion) 12.0-STABLE r347548 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243364-227>