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]
Other format: [Raw text]

sln and libgcc_s.so?!


Enlighten me, it is either to late or I'm just missing something
really really obvious.  But why does this happen?

It shouldn't be appending -lgcc_s at all (the static version is called
libgcc_eh.a nowadays; and libgcc_s is a shared library), specially
when you are compiling a static binary.

The funny thing is that it worked the day before yesterday, and my
setup hasn't changed.  And no changes have been done to the Makeconf,
Makefile, or anything related...

i386-unknown-gnu0.3-gcc -nostdlib -nostartfiles -static -o /home/update/ams/gnu-tools/src/libc.obj/elf/sln   /home/update/ams/gnu-tools/src/libc.obj/csu/crt0.o /home/update/ams/gnu-tools/src/libc.obj/csu/crti.o `i386-unknown-gnu0.3-gcc --print-file-name=crtbegin.o` /home/update/ams/gnu-tools/src/libc.obj/elf/sln.o  -Wl,-\( /home/update/ams/gnu-tools/src/libc.obj/libc.a /home/update/ams/gnu-tools/src/libc.obj/mach/libmachuser.a /home/update/ams/gnu-tools/src/libc.obj/hurd/libhurduser.a -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed -Wl,-\) `i386-unknown-gnu0.3-gcc --print-file-name=crtend.o` /home/update/ams/gnu-tools/src/libc.obj/csu/crtn.o
/slask/psilo1/ams/gnu-tools/bin/../lib/gcc/i386-unknown-gnu0.3/3.4.1/../../../../i386-unknown-gnu0.3/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[2]: *** [/home/update/ams/gnu-tools/src/libc.obj/elf/sln] Error 1


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