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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 15 15:01:37 PDT 2015


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

--- Comment #11 from Felix von Leitner <felix-freedesktop at fefe.de> ---
Good news! It works now that I recompiled llvm with RTTI support!

I thought I had RTTI in my LLVM but I was doing it wrong.
For the record: the right way to build LLVM with RTTI support is:

cmake [path-to-llvm-sources] -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr -DLLVM_LIBDIR_SUFFIX=64 -DBUILD_SHARED_LIBS=ON
-DLLVM_ENABLE_RTTI=1

(the -DLLVM_ENABLE_RTTI=1 part is the important part)

-- 
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/20150415/c47538f2/attachment.html>


More information about the mesa-dev mailing list