more on mips-elf test installed

Joel Sherrill joel.sherrill@OARcorp.com
Fri Dec 13 06:59:00 GMT 2002


Hi,

I now appear to have all the parts installed correctly but
I am getting this weird error:

/opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/bin/ld:
/opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/lib/crt0.o:
Relocations in generic ELF (EM: 0)^M
/opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/lib/crt0.o:
could not read symbols: File in wrong format^M
collect2: ld returned 1 exit status^M
compiler exited with status 1
output is:
/opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/bin/ld:
/opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/lib/crt0.o:
Relocations in generic ELF (EM: 0)^M

When I do a file on that crt0.o, I get

/opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/lib/crt0.o:
ELF 32-bit MSB relocatable, no machine, version 1, stripped

Even when I try a simple main(){}, I get the same error so it is not
specific to the gcc test suite. :(

Any ideas?

Thanks.

--joel sherrill



More information about the Gcc mailing list