Perhaps search Apple's XCode user mailing list - I seem to vaguely recall a discussion about a similar issue quite some time ago. Sorry I can't remember the details myself.
Grant
jan.ruzicka@comcast.net wrote:
Jan-Ruzickas-Computer:~/Desktop/downloads/gpc-20041218/p/test janruzicka$ ./test_sum < test_log Test Run By janruzicka on 2005-01-07 01:11:40 Native configuration is powerpc-apple-darwin (Jan-Ruzickas-Computer.local) gpc 20041218, based on gcc-3.3.3, flags: -g -O3 -W -Wall -Wno-unused TEST aregextest.pas: SKIPPED: librx not installed TEST asmtest.pas: SKIPPED: only for IA32 TEST fjf165a.pas: ./fjf165a.cmp: line 40: unexpected EOF while looking for matching `"' ./fjf165a.cmp: line 42: syntax error: unexpected end of file TEST fjf558m.pas: O./test_run: line 336: 23294 Segmentation fault ./"$A_OUT" "$1" TEST fjf558n.pas: O./test_run: line 336: 23315 Segmentation fault ./"$A_OUT" "$1" TEST fjf558o.pas: O./test_run: line 336: 23336 Segmentation fault ./"$A_OUT" "$1" TEST fjf558p.pas: O./test_run: line 336: 23357 Segmentation fault ./"$A_OUT" "$1" TEST fproc.pas: 9c9,11
< ./test_run: line 336: 17581 Segmentation fault ./"$A_OUT" "$1"
Stack frame: 8 formal print = -1 formal routine = -1 Stack frame: 9 formal print = -1 formal routine = -1 Stack frame: 10 formal print = -1 formal routine = -1
failed TEST goto5.pas: O./test_run: line 336: 18086 Segmentation fault ./"$A_OUT" "$1" TEST longr2.pas: SKIPPED: no LongReal math routines available TEST nlgpp2.pas: 14c14,30
< ./test_run: line 336: 24176 Segmentation fault ./"$A_OUT" "$1"
Try again with --longjmp-all-nonlocal-labels. This works around a bug in gcc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10901. Please complain l o u d l y on the gcc mailing list.
TEST systemtest.pas: *** malloc: vm_allocate(size=2147483648) failed (error code=3) *** malloc[452]: error: Can't allocate region *** malloc: vm_allocate(size=2147483648) failed (error code=3) *** malloc[452]: error: Can't allocate region
A bug in Mac OS X. Please report it to devbugs@apple.com.
Regards,
Adriaan van Os