This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/10757] Adding -fpic/-fPIC causes crash with PCH created without -fpic/-fPIC
- From: "carlo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2003 03:10:12 -0000
- Subject: [Bug pch/10757] Adding -fpic/-fPIC causes crash with PCH created without -fpic/-fPIC
- References: <20030512190603.10757.ljrittle@acm.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.