[Mesa-dev] [Bug 59879] reducing symbol visibility of shared objects / static libstdc++
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 22 11:57:28 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=59879
--- Comment #3 from Emil Velikov <emil.l.velikov at gmail.com> ---
The issue here is that while -static-libstdc++ should work for both executables
and libraries and gcc is smart enough to understand it, libtool is not :\
The latter essentially ignores the switch and always explicitly appends
"-lstdc++". Thus even adding "-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic" to our
linker flags (inside the makefiles) will not work, as those come prior to
"-lstdc++".
I fear that someone familiar with libtool will need to fix it... that or we can
nuke the c++ code from mesa xD
Either way, at least the symbol visibility is resolved has been fixed with
recent mesa :)
--
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/20140922/d22353a1/attachment.html>
More information about the mesa-dev
mailing list