https://bugs.freedesktop.org/show_bug.cgi?id=37637
--- Comment #6 from José Fonseca <jfons...@vmware.com> 2011-05-27 14:21:44 PDT --- (In reply to comment #5) > Now I had some time to investigate this. > > It seems to me that llvm initializes some iostream thing, which calls > dynamic_cast<>() (at libstdc++-v3/include/bits/locale_classes.tcc:97), but the > unreal engine has its own implementation of that, or something with the same > name (in Core.so, unfortunately this is not included in the public unreal > sources), which takes precedence over libc++, and the world ends. Hmm.. > Maybe it > wasn't a very good idea to use C++ in a GL implementation. There's nothing C++ specific about this. This is a symbol collision which can and sometimes happen with C too. The problem here is that we're linking to LLVM/libstdc++ as a shared library, and polluting the symbol namespace. The right fix is to link to LLVM/libstdc++ as a static library and/or ensure that all its symbols are not visible outside of the DRI driver. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev