This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: printing exceptions?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]