------- Comment #20 from dougmencken at gmail dot com 2010-05-10 16:23 ------- But how to rebuild binutils to remove libgcc_s.so.1 dependency from ld?
$ ./print-sharedlib-deps.sh /usr/bin/ld /usr/bin/ld: libz.so.1 libc.so.0 libgcc_s.so.1 Now I'm using libgcc_s.so.1 copied from 4.4.2 (the last working one), and tried to build binutils with --disable-shared too, but the above list (it is from this build) does show that this lib is still required for ld to work (i.e. for any non-static program to work). I can't imagine how long 4.4.2's libgcc_s.so.1 will remain binary compatible with any new GCC release. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43911