This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]