segmentation fault
Andrew Haley
aph-gcc@littlepinkcloud.COM
Tue Jun 5 15:56:00 GMT 2007
Andrew Haley writes:
> Redirected to gcc-help.
>
> fred.cotton@oasincorp.com writes:
> > With apologies for being new:
> > In porting a hardware configuration from gcc-3.4.1 to gcc-4.2.0, I'm getting the
> > following error message:
> >
> > In file included from /cygdrive/c/gcc-4.2.0/gcc/crtstuff.c:68:
> > /cygdrive/c/gcc-4.2.0/gcc/tsystem.h:53: internal compiler error: Segmentation
> > fault.
> >
> > Lines 52-54 of tsystem.h are:
> >
> > #ifndef malloc
> > extern void *malloc (size_t);
> > #endif
> >
> > If I remove these lines, all the other extern statements fail also.
> > What precisely does Segmentation fault mean in this context? Is it referring to
> > the underlying Windows XP?
> > What sort of compiler, configuration or operating system parameters could be the
> > cause?
> > Where should I be looking?
>
> Your gcc-4.2.0 is broken. You need to look at exactly how it was
> built. Did you build it yourself from source?
Or, does this perhaps happen when you are building gcc-4.2.0 with gcc-3.4.1?
Andrew.
More information about the Gcc-help
mailing list