Peter N Lewis wrote,
> ####
> #### FDE 0x2aea4 (OB 0x13fd60, fde_end 0x2affc) has zero
> length!Aborting.
> ####
> Abort
Fixed with gcc-3.3.
Geoff Keating wrote:
>
> Adriaan van Os writes:
>> (4) compiling any .c source with -ggdb or -gdwarf-2 (instead of
>> -gstabs or -g) produces the following output:
>> Internal compiler error in default_no_named_section, at varasm.c:5305
>
> Darwin doesn't really support dwarf2 at present.
Fixed with gcc-3.3, there is now a message "unknown or unsupported -g
option".
Geoff Keating wrote:
>
> Adriaan van Os writes:
>
>> Does anyone know what the status is of the following problems,
>> encountered with gcc-3.2.1/3.2.2 on Darwin/Mac OS X ?
>>
>> (1) trampolines crash (I have a patch to fix it)
>>
>> (2) longjumps crash (I have a patch to fix it also)
>>
>> (3) non-local goto's don't work, e.g.
>
> These are all fixed in GCC 3.3.
Well, not quite. Longjump crashes and non-local goto crashes have been
fixed, but trampoline crashes not. The gcc-3.2.x trampoline patch can
be applied to gcc-3.3 and it fixes most trampoline crashes, but .....
./test_run: line 193: 766 Segmentation fault "$DIFF"
testmake.tmp "$xo"
TEST fproc.pas: failed
... running the testuite for fproc.pas takes a long time and fails.
After a while the hardddisk starts to spin continuously, which might
indicate that the system is allocating lots virtual memory (on a 1.25
GB Mac). After this, gpc1 crashes when compiling ANY .pas file, until a
reboot. The typical backtrace looks like this:
Date/Time: 2003-05-18 03:11:07 +0200
OS Version: 10.2.4 (Build 6I32)
Host: G4.local.
Command: gpc1
PID: 27979
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
#0 0x0014ec68 in find_reloads (reload.c:4000)
#1 0x0011bbe8 in reload_as_needed (reload1.c:3893)
#2 0x00115388 in reload (reload1.c:1107)
#3 0x001dca60 in global_alloc (global.c:583)
#4 0x000991ec in rest_of_compilation (toplev.c:3304)
#5 0x00007b58 in finish_routine (declarations.c:2436)
#6 0x0002d27c in main_yyparse (parse.c:1739)
#7 0x00097ce0 in compile_file (toplev.c:2134)
#8 0x0009ce94 in do_compile (toplev.c:5370)
#9 0x0009cf60 in toplev_main (toplev.c:5400)
#10 0x00002700 in _start (crt.c:267)
#11 0x00002580 in start
Maybe, virtual memory is corrupt after the fproc.pas testrun ??
Running the testsuite for fproc.pas with --longjmp-all-nonlocal-labels,
results in a compiler error message:
TEST fproc.pas: /var/tmp//ccMu9pMb.s:unknown:Can't emit reloc
{- symbol "LSJR11"} @ file address 800.
/var/tmp//ccMu9pMb.s:unknown:Can't emit reloc {- symbol "LSJR11"} @
file address 796.
/var/tmp//ccMu9pMb.s:unknown:Undefined local symbol L3$pb
failed
Regards,
Adriaan van Os