I did some debugging with gdb to locate the problem:
(gdb) bt #0 0x900039f8 in free () #1 0x0000a278 in do_spec_1 (spec=0x7b340 "/Developer/Pascal/gpc33d2/lib/gcc-lib/powerpc-apple-darwin/3.3/gpc1", inswitch=0, soft_matched_part=0x1ce10 "") at ../../gpc-3.3/gcc/p/gpc.c:4607
More precise debugging shows that the problem is in the executed subprocess gpc1:
(gdb) *** malloc[1147]: Deallocation of a pointer not malloced: 0xc92360; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug 0x90003910 in write () (gdb) bt #0 0x90003910 in write () #1 0x9000108c in __sflush () #2 0x900157f0 in __sbprintf () #3 0x900011a8 in vfprintf () #4 0x900010ec in fprintf () #5 0x00002ec8 in translate_options (argcp=0x610077, argvp=0xbb013a) at ../../gpc-3.3/gcc/p/gpc.c:1399 #6 0x0002f780 in _xexit_cleanup () #7 0x00097d94 in ?? () #8 0x0009cf48 in ?? () #9 0x0009d014 in ?? () #10 0x000027a8 in translate_options (argcp=0x1000, argvp=0x4) at ../../gpc-3.3/gcc/p/gpc.c:1426 #11 0x00002628 in translate_options (argcp=0xbfffffb7, argvp=0xbfffffda) at ../../gpc-3.3/gcc/p/gpc.c:1425
Regards,
Adriaan van Os