[Bug 52136] Mesa fails to link r600_dri.so with LLVM

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 16 13:41:13 PDT 2012


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

--- Comment #1 from Tom Stellard <tstellar at gmail.com> 2012-07-16 13:41:13 PDT ---
I've seen this before.  The problem is mismatched CXXFLAGS in mesa and llvm. 
The typeinfo errors are caused the -fno-rtti flag (or the absence of it) and
the isCurrentDebugType and DebugFlag errors are cause by -DNDEBUG.  The problem
with -DNDEBUG is that LLVM defines DNDEBUG in public headers, so if you
compiled LLVM with it, you have have to compile Mesa with it as well.

If you play with your configure flags you should be able to get this to work. 
I'll try to look into a proper solution when I get a chance.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list