This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, I have unsuccessfully tried to build a cross compiler based on gcc-2.8.1 but failed. My config.status looks like: /gnu/onetree/src/configure --host=sparc-sun-solaris2.5.1 --target=ppc-elf --program-suffix=-ppc --prefix=/tmp/gcc The problem occurs when libgcc2.a is being built with the following error: _eh /var/tmp/cca006JF.s: Assembler messages: /var/tmp/cca006JF.s:899: Internal error, aborting at /gnu/onetree/src/gas/config/tc-ppc.c line 4759 in md_apply_fix3 Please report this bug. gnumake[3]: *** [libgcc2.a] Error 1 gnumake[3]: Leaving directory `/work/andersb/gcc/ppc/2.8.1/gcc' What upsets the compiler/assembler can be demonstrated with the following small program: int g () { return 0; } void f () { int i = g(); } > ./xgcc -mrelocatable-lib -S bug.c > ./as -o bug.o bug.s bug.s: Assembler messages: bug.s:47: Internal error, aborting at /gnu/onetree/src/gas/config/tc-ppc.c line 4759 in md_apply_fix3 Please report this bug. The problem in the bug.s file is the line bl g@plt Does anybody on this list have a hint of what can be done? Regards Anders Blomdell ------------------------------------------------------------------------------ Anders Blomdell Department of Automatic Control Email: anders.blomdell@control.lth.se Lund Institute of Technology Phone: +46 46 222 4625 Box 118, S-221 00 Lund, Sweden Fax: +46 46 138118