This is what I get, building the new alpha with gcc-3.2.1 on Mac OS X
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 --unit-path=/Users/adriaan/gnu/gpc-20030507/gcc/p/rts --automake `cat needed-options` -DRTS_RELEASE_STRING="'`cat /Users/adriaan/gnu/gpc-20030507/gcc/p/rts/rts-version`'" -DGCC_VERSION="'3.2.1'" /Users/adriaan/gnu/gpc-20030507/gcc/p/rts/filename.pas /Users/adriaan/gnu/gpc-20030507/gcc/p/rts/filename.pas: In function `ConfigFileName': /Users/adriaan/gnu/gpc-20030507/gcc/p/rts/filename.pas:1481: internal error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions. make[2]: *** [filename.o] Error 1 make[1]: *** [pascal.rts] Error 2 make: *** [all-gcc] Error 2
The backtrace reads:
Command: gpc1 PID: 5381
Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed: #0 0x000d90d8 in ggc_set_mark (ggc-page.c:437) #1 0x000d8138 in ggc_mark_trees (ggc-common.c:521) #2 0x000d6da0 in ggc_mark_roots (ggc-common.c:261) #3 0x000d97d0 in ggc_collect (ggc-page.c:1437) #4 0x000a4618 in rest_of_compilation (toplev.c:2552) #5 0x00007b08 in finish_routine (declarations.c:2434) #6 0x0002b898 in main_yyparse (parse.c:1739) #7 0x0002dab8 in yyparse (parse.c:2974) #8 0x000a3dd8 in compile_file (toplev.c:2128) #9 0x000a8a3c in do_compile (toplev.c:5218) #10 0x000a8ae0 in toplev_main (toplev.c:5250) #11 0x000b4638 in main (main.c:35) #12 0x00002518 in _start (crt.c:267) #13 0x00002398 in start
PPC Thread State: srr0: 0x000d90d8 srr1: 0x0200d930 vrsave: 0x00000000 xer: 0x20000000 lr: 0x000d908c ctr: 0x000d7f5c mq: 0x00000000 r0: 0x00000008 r1: 0xbfffddb0 r2: 0x28000248 r3: 0x02000000 r4: 0x00001000 r5: 0x00000000 r6: 0x00000001 r7: 0x00000001 r8: 0x00000000 r9: 0x00000fff r10: 0x002d1c20 r11: 0x00000000 r12: 0x44000282 r13: 0x00000008 r14: 0x000000c8 r15: 0xbfffe1d0 r16: 0x00000075 r17: 0x00000000 r18: 0x002b968c r19: 0x002d968c r20: 0x00000001 r21: 0x002d1ca8 r22: 0x002d1b98 r23: 0x00000022 r24: 0x002d72bc r25: 0x002b72bc r26: 0x00000001 r27: 0x0190cc40 r28: 0x00000012 r29: 0x00000000 r30: 0x02000000 r31: 0x000d908c