Marc:
I just built the current tree on MacOS X 10.4.11, using the default
apple gcc-4.0.1, with the following commands:
91 21:08 make mostlyclean
92 21:09 ./configure CC='gcc -g' --enable-single-host
93 21:10 make
Then, under gdb, it crashed under startup
(gdb) run
Starting program: /Users/lucier/programs/gambc-v4_2_1/gsc/gsc
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000051
___H__20___kernel (___ps=0x43ee80) at _kernel.c:6533
6533 ___SET_R2(___CDR(___R2))
(gdb) where
#0 ___H__20___kernel (___ps=0x43ee80) at _kernel.c:6533
#1 0x000e5294 in ___call (nargs=4451968, proc=-944787260,
stack_marker=13632365) at setup.c:1820
#2 0x000e6264 in ___setup (setup_params=0xc7afb0c4) at setup.c:2943
#3 0x0023d7d4 in ___main (linker=0x5d90 <____20___gsc__>) at main.c:552
#4 0x000e6408 in ___main_char (argc=4451968, argv=0xbffff248,
linker=0x5d90 <____20___gsc__>, script_line=0x0) at os_base.c:337
#5 0x00005dd4 in main (argc=4451968, argv=0xc7afb0c4) at _gsc_.c:11955
(gdb) list
6528 ___END_ALLOC_STRUCTURE(5)
6529 ___SET_R1(___GET_STRUCTURE(5))
6530 ___SET_R2(___CURRENTTHREAD)
6531 ___SET_R2(___UNCHECKEDSTRUCTUREREF(___R2,___FIX(20L),___SUB
(4),___FAL))
6532 ___SET_R2(___VECTORREF(___R2,___FIX(4L)))
6533 ___SET_R2(___CDR(___R2))
6534 ___CHECK_HEAP(3,4096)
6535 ___DEF_SLBL(3,___L3__23__23_raise_2d_type_2d_exception)
6536 ___POLL(4)
6537 ___DEF_SLBL(4,___L4__23__23_raise_2d_type_2d_exception)