[Mesa-dev] [Bug 90032] build fails, undefined reference to llvm:RTDyldMemoryManager

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 14 16:43:58 PDT 2015


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

--- Comment #8 from Felix von Leitner <felix-freedesktop at fefe.de> ---
Hah, this is actually quite funny.

src/gallium/auxiliary/util/u_debug.h

185 #ifdef DEBUG
186 #define debug_assert(expr) ((expr) ? (void)0 : _debug_assert_fail(#expr,
__FILE__, __LINE__, __FUNCTION__))
187 #else
188 #define debug_assert(expr) (void)(0 && (expr))
199 #endif


So even if you turn off debugging, you still evaluate expr, which contains the
typeid.

I added another line before 188 that #defines typeid(a) to 0, let's see what
happens.

-- 
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/20150414/01e5759a/attachment.html>


More information about the mesa-dev mailing list