This is the mail archive of the gcc-help@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: Internal error: Segmentation fault (program cc1plus)


"Marc Oude Kotte" <moudekotte@khaeon.nl> writes:

> I'm new to this list so I hope I'm posting this on the right list :) 

You are.

> Can you guys give me some hints/tips on what I might do to prevent gcc
> from crashing? The output above is the result of trying to compile a
> source file, but when I try to compile a precompiled header gcc crashes
> with the exact same message.

If the crash only happens when using precompiled headers, then try
turning off exec-shield-randomize, which I believe you do by writing 0
to the file /proc/sys/kernel/exec-shield-randomize or by editing
sysctl.conf.  For more information, see:
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14206
    http://gcc.gnu.org/ml/gcc/2004-03/msg00201.html

If the crash happens when no precompiled headers are seen, then please
file a bug report at http://gcc.gnu.org/bugzilla/.  See:
    http://gcc.gnu.org/bugs.html

Ian


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