This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fixing MIPS target under GLIBC....


On Wed, Mar 14, 2001 at 10:44:59AM -0600, Steven J. Hill wrote:
> /data/build/build-glibc/libc.so.6 /data/build/build-glibc/libc_nonshared.a -lgcc
> `mipsel-linux-gcc --print-file-name=crtend.o` /data/build/build-glibc/csu/crtn.o
> /opt/toolchains/mips/mipsle/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

atexit has been moved to libc_nonshared.a, which is a static archive.
Since -lgcc comes after libc_nonshared.a, libc_nonshared.a is not
searched for the reference to atexit in libgcc.a. I am wondering why
I didn't see it under ia32. I will take a look to see what is going
on. We may have to modify gcc.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]