[Bug c++/52241] Performance degradation of 447.dealII on corei7 at spec2006_base32.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 16 14:14:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52241

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-16 13:48:59 UTC ---
libtool apparently creates convenience libraries only with -fPIC stuff in it,
instead of having two sets of objects for each source, one -fPIC and one
non-fPIC.
Not sure if it is possible to override that behavior somehow.
So, when in 4.6 we had just libsupc++_convenience.la linked into libstdc++.la,
only the libsupc++ objects were -fPIC in libstdc++.a and the rest, not coming
from convenience library, was -fno-pic.  Now that everything else comes also
from convenience libraries, everything is -fPIC.  Not sure what is desirable...



More information about the Gcc-bugs mailing list