[Mesa-dev] [Bug 70471] undefined reference to `typeinfo for llvm::format_object_base'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 15 09:26:00 CEST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70471

--- Comment #6 from Alexander von Gluck <kallisti5 at unixzen.com> ---
Created attachment 87648
  --> https://bugs.freedesktop.org/attachment.cgi?id=87648&action=edit
fix revision 1

It's now the wee hours of the morning.  Please try the fix attached.  If it
works i'll send it to mesa-dev in the morning after I get some sleep.

The LLVM_CPPFLAGS and LLVM_CXXFLAGS are used in the autotools scrips, while
only LLVM_CPPFLAGS is used in scons. Removing the rtti made this bug float to
the top.

We can't simply apply CXX flags to everything as they are C++ only.  The patch
attached should apply the CXX flags only where needed (kind of like how the
autotools one works.. src/gallium/auxiliary and gallium/drivers/llvmpipe)

If this doesn't solve the issue, let me know and i'll try other solutions and
maybe setup a Debian / Ubuntu machine. (all of the machines I have locally have
RTTI enabled in llvm)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131015/d6b56d8e/attachment.html>


More information about the mesa-dev mailing list