[LLVMbugs] [Bug 19490] Assertion with std::atomic<X> where X is a class type.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 5 14:50:35 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19490

Nick Lewycky <nlewycky at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nlewycky at google.com
         Resolution|---                         |FIXED

--- Comment #1 from Nick Lewycky <nlewycky at google.com> ---
$ clang a.cc -std=c++11
/tmp/a-2664ac.o:a.cc:function std::atomic<X>::load(std::memory_order) const:
error: undefined reference to '__atomic_load_8'
/tmp/a-2664ac.o:a.cc:function __clang_call_terminate: error: undefined
reference to '__cxa_begin_catch'
/tmp/a-2664ac.o:a.cc:function __clang_call_terminate: error: undefined
reference to 'std::terminate()'
/tmp/a-2664ac.o(.eh_frame+0x15b): error: undefined reference to
'__gxx_personality_v0'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140905/29968eca/attachment.html>


More information about the llvm-bugs mailing list