This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Failed build of GLIBC for MIPS...
- To: binutils at sources dot redhat dot com
- Subject: Re: Failed build of GLIBC for MIPS...
- From: "Gabor Z. Papp" <gzp at myhost dot mynet>
- Date: Thu, 08 Mar 2001 15:34:44 GMT
- Organization: gzp
- References: <m2u26gxiet.fsf@dejima.jp.tlan> <3AA7A540.16382045@cotw.com>
* 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.