On 05 June 2007 16:49, [EMAIL PROTECTED] wrote: > 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?
It's a memory-protection error, usually indicating you have dereferenced a NULL pointer or otherwise tried to access an unmapped memory address. > What sort of compiler, configuration or operating system parameters could > be the cause? > Where should I be looking? Almost certainly your backend is dereferencing a pointer without realising it's NULL at the time. Given the association with extern decls, do you implement a TARGET_ENCODE_SECTION_INFO macro? cheers, DaveK -- Can't think of a witty .sigline today....