https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243364

            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: b...@freebsd.org
          Reporter: y...@freebsd.org

Testcase:
https://raw.githubusercontent.com/STEllAR-GROUP/hpx/master/cmake/tests/cxx11_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))
> 
> 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 invocation)

12.0-STABLE r347548

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to