On Tue, Jan 09, 2007 at 04:42:41PM +0100, Paolo Bonzini wrote: > > >I am testing this patch now. It should fix the regresions when > >libstdc++ is built with > > > >-Bsymbolic-functions --dynamic-list-cpp-new
I tested it on gcc 4.2 with C, C++, Java and Fortran on Linux/x86-64. There is no regression. > > What about just --dynamic-list-cpp that enables the new behavior and > implies --dynamic-list-cpp-typeinfo (I know that it is useless in this > particular case, since C++ typeinfo is data, but in general such an > option sounds more useful than only --dynamic-list-cpp-new). I think you only need --dynamic-list-cpp-new for building libstdc++.so. -Bsymbolic-functions should be sufficient for other C++ shared libraries. H.J.