PDA

View Full Version : Signal 11 - segmentation fault


Rich-Boy
06-03-2007, 05:39 PM
Each time i try to compile literally anything i get something like the following;

root# make
cc -c -O2 -fno-strict-aliasing -pipe -Wall -DHAVE_CONFIG_H -DCONFIG_FILE="\"/usr/local/etc/healthd.conf\"" -I. -DINET6 getMBinfo.c
getMBinfo.c: In function `InitMBInfo':
getMBinfo.c:71: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Obviously this isn't good, and from what i hear is most likely related to hardware. Has anyone experienced this before, if so how did you get around it?

FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:56:09 UTC 2007

Thanks for any input
Chris

Chrysalis
06-03-2007, 07:09 PM
if random segfaults during compile get the ram tested and swapped if necessary.

elvandar
06-04-2007, 10:27 AM
Like the previous post, check your hardware because this does not seem FreeBSD related (I am building new releases every day and I didn't see this one popping up).

That said: PLEASE describe the title bar a bit better next time "segmentation fault" etc are not descriptive, "GCC Compiler error during all builds" is already much more descriptive and attract the appropriate people.

Regards,
Remko Lodder
- FreeBSD.org

Rich-Boy
06-14-2007, 06:32 AM
Problem fixed, it was dodgy ram.