Failed build of GLIBC for MIPS...
Gabor Z. Papp
gzp@myhost.mynet
Thu Mar 8 07:39:00 GMT 2001
* Steven J. Hill <sjhill@cotw.com>:
| /usr/local/mips-le/lib/gcc-lib/mipsel-linux/3.1/libgcc.a(__main.o): In function
| `no symbol':
| /data/cvs/gcc/gcc/libgcc2.c(.text+0x18c): undefined reference to `atexit'
| collect2: ld returned 1 exit status
Andreas, when it isn't glibc related error, then something
really wrong with binutils' ld. I have tired with
2.10.91.0.4 and 2.10.1, both failed. BTW the binaries have
the same size.
Steven, you must add "-lpthread" to the CFLAGS to link that
object, because "atexit" is referenced in libpthread.so, and
someway ld doesn't link it automatically.
More information about the Binutils
mailing list