glibc --as-needed changes

Alan Modra amodra@bigpond.net.au
Mon Apr 5 13:24:00 GMT 2004


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



More information about the Libc-alpha mailing list