This is the mail archive of the gcc@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]

Re: PCH failures / ICE: Segmentation fault


Laurent GUERBY wrote:

I changed my build & test script to avoid running make install
before running make -k check, it fixed all the pch failures.

I am seeing lots of PCH failures while running make check, and this is without running make install - and just C.


This is on Fedora Core 0.95. (I.e. the new community-based version of Red Hat Linux.)

I took at look at the problem using gdb. The behavior is not consistent. One "run" will finish cleanly, while the next "run" will crash. It looks like different runs will allocate memory or addresses in different locations. I don't know what could cause this.

The FC release notes (http://fedora.redhat.com/docs/release-notes/) methods that FC supports "Position Independent Executables", but implies it is not the default.
--
--Per Bothner
per@bothner.com http://per.bothner.com/




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