Mainline bootstrap failure on Tru64 UNIX V5.1

Zack Weinberg zack@codesourcery.com
Tue Jan 21 19:16:00 GMT 2003


Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:

> Zack,
>
> current mainline doesn't bootstrap on alpha-dec-osf5.1 (HP Tru64 UNIX V5.1): 
>
> It fails trying to compile crtfastmath.c (the first invokation of the newly
> built xgcc) since mips-tfile is invoked incorrectly:
...
> % ./xgcc -B./ -v -c test.c
> [...]
>  as -g -oldas -c -nocpp -O0 -o test.o /tmp//ccIiVBip.s
>  ./mips-tfile -v -o test.o
>
> whereas xgcc as of 20021215 (immediately before the bib merge) invokes
> mips-tfile as follows:
>
>  as -g -oldas -c -nocpp -O0 -o test.o /tmp//ccQz9I9S.s
>  ./mips-tfile -v -o test.o /tmp//ccQz9I9S.s
>
> i.e. it adds the assembler source file to the invokation.

The problem is related to the change you called out, although not
directly.  I believe that if you change the last line of
ASM_FINAL_SPEC to

  %{.s:%i} %{!.s:%m.s}

it will work again.  You should also stick an

  %{pipe:%e-pipe cannot be used with this assembler}

in there.  If that change fixes the problem please check it in;
otherwise let me know and I'll investigate further.

zw



More information about the Gcc-bugs mailing list