[Bug pch/10757] Adding -fpic/-fPIC causes crash with PCH created without -fpic/-fPIC

carlo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 30 06:49:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From carlo at gcc dot gnu dot org  2003-09-30 03:10 -------
I ran into this too, independantly.  I think it should indeed be fixed
before 3.4 is released because it is likely to happen: -fPIC is added
by libtool (when compiling a library thus) but libtool refused to put
together a .gch.  Users will therefore likely run into this ICE even while
they are using the same CXXFLAGS etc. while compiling their .gch as whatever
they use for CXXFLAGS while compiling the rest (with libtool).  This is
what happened to me.



More information about the Gcc-bugs mailing list