970917 eh problems - bootstrap failure
Robert Lipe
robertl@dgii.com
Wed Sep 17 20:29:00 GMT 1997
> > Now, the assembler keels on a truckload of forward references:
>
> If the SCO assembler can't handle forward refs, it's not going to work real
> well. Perhaps we should go back to the old ugly code in dwarf2out which
Is this a rare feature? Options include requiring gas (ick) or I could
try to pressure SCO into fixing it - albeit this is very unlikely to
happen in the timeframe of the pending EGCS release and would then require
some update from SCO to use EGCS. Ick.
I've ported GAS to OpenServer for both COFF and ELF (yes, it requires
a funky build procedure) so that is an option. I imagine that
Unixware will have this same problem. I wonder if any other non-gas
x86 targets will share it. Are there any others left? Is there a
Solaris x86 tester on the list?
We could weenie out and just #undef the DWARF2_STACK stuff if not
configured --with-gas.
> explicitly calculated the size of the frame unwind info. Or maybe you
> should just #define DWARF2_UNWIND_INFO to 0.
Ha. I fell for that trick in default.h You should instead remove the
definition of it, becuase the tests are #ifdef DWARF2_UNWIND_INFO, not
#if DWARF2_UNWIND_INFO. [ I wish I had a deposit to my 401K for every
time I've fallen for that trick. ]
Anyway, once I do that, make clean, make bootstrap, it fell over linking
cc1 with unresolved calls to dwarf2out_def_cfa(), dwarf2out_cfi_label(),
dwarf2out_reg_save() in i386.c.
Since you understand the issues and the solutions far better than I do,
it's entirely your call. I'll advise or test as you see fit.
Thanx,
RJL
More information about the Gcc
mailing list