<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - reducing symbol visibility of shared objects / static libstdc++"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59879#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - reducing symbol visibility of shared objects / static libstdc++"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59879">bug 59879</a>
              from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
        <pre>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 :)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>