[Mesa-dev] [Bug 92629] lp_bld_debug.cpp:141: undefined reference to `llvm::sys::getProcessTriple()'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 26 02:29:56 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=92629
Jose Fonseca <jfonseca at vmware.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTOURBUG
--- Comment #1 from Jose Fonseca <jfonseca at vmware.com> ---
Thanks Vinson.
I can repro this on Ubuntu 15.10 doing
CC=clang CXX=clang++ scons lp_test_arit
If I do
nm -u build/linux-x86_64-debug/gallium/auxiliary/gallivm/lp_bld_debug.os
with G++ I get
U _ZN4llvm3sys16getProcessTripleB5cxx11Ev
where as with Clang I get
_ZN4llvm3sys16getProcessTripleEv
If I run both through c++filt I get with g++
U llvm::sys::getProcessTriple[abi:cxx11]()
whereas with clang I get
U llvm::sys::getProcessTriple()
In other words, clang is not emitting cxx11 abi symbols, when g++ is.
This seems to be a known problem:
http://allanmcrae.com/2015/06/the-case-of-gcc-5-1-and-the-two-c-abis/
https://www.reddit.com/r/cpp/comments/3b2glr/why_clang_cant_use_the_new_gcc_5_cxx11_abi/
And there's even a LLVM/clang bug filed:
https://llvm.org/bugs/show_bug.cgi?id=23529
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151026/d32b11c3/attachment.html>
More information about the mesa-dev
mailing list