[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


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


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:


And there's even a LLVM/clang bug filed:


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