[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in OBSD 'ld'



> Testing libgcc1.  Ignore linker warning messages.
> ./xgcc -B./ -DCROSS_COMPILE -DIN_GCC   -g -I./include libgcc1-test.o -o
> libgcc1-test  -nostartfiles -nostdlib `./xgcc -B./
> --print-libgcc-file-name`
> /local3/OpenBSD/usr/mips-r4kbe-openbsd2.0/bin/ld: libgcc1-test.o:
> compiled for a little endian system and target is big endian
> xgcc: Internal compiler error: program ld got fatal signal 11
> *** Error code 1

Just for everyone's edification (and for posterity), this is what
happens when you build gas with the wrong endianity, it is not
a problem in 'ld' per se.

Mike