This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
glibc --as-needed changes
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: hjl at gcc dot gnu dot org
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 5 Apr 2004 22:54:01 +0930
- Subject: glibc --as-needed changes
Hi HJ,
Your recent --as-needed change to glibc is broken for the case where
gcc is not built with a shared libgcc. This is often so when
bootstrapping a new toolchain, as you can't build shared libs without
crt files, which you don't have until glibc is built.. You need to
test that both the linker support for --as-needed is available, *and*
that -lgcc_s can be found.
--
Alan Modra
IBM OzLabs - Linux Technology Centre