printing exceptions?

Krister Walfridsson cato@df.lth.se
Sun Mar 31 09:48:00 GMT 2002


On 30 Mar 2002, Alexandre Oliva wrote:
>        * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
>        (LINK_COMMAND_SPEC): ... from here.
>        (init_gcc_specs): Duplicate it here too, omitting
>        shared_name in the second copy.
>        (init_spec): Test for duplicate


This change to gcc.c breaks bootstrap on i386-unknown-netbsdelf1.5ZC.

What happens is that the linker gets incorrect options when trying
to link gengenrtl. Before this change it was passed

   stage1/collect2 -dc -dp -e __start -dynamic-linker /usr/libexec/ld.elf_so -o gengenrtl /usr/lib/crt0.o /usr/lib/crtbegin.o -Lstage1 gengenrtl.o ../libiberty/libiberty.a -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/lib/crtend.o

and after

   stage1/collect2 -dc -dp -e __start -dynamic-linker /usr/libexec/ld.elf_so -o gengenrtl /usr/lib/crt0.o /usr/lib/crtbegin.o -Lstage1 gengenrtl.o ../libiberty/libiberty.a -lgcc /usr/lib/crtend.o

   /Krister



More information about the Java mailing list