https://sourceware.org/bugzilla/show_bug.cgi?id=12549
Rose Garcia <rose.garcia-eggl2fk at yopmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rose.garcia-eggl2fk@yopmail | |.com --- Comment #18 from Rose Garcia <rose.garcia-eggl2fk at yopmail dot com> --- Created attachment 7198 --> https://sourceware.org/bugzilla/attachment.cgi?id=7198&action=edit as-needed patch for binutils 2.23.2 as of binutils 2.23.2, this issue still exists gcc 4.5.4, 4.7.3 (and probably all others as well) fail to build during target library compilation because libgcc_s.so.1 is getting used unconditionally, despite --as-needed being passed. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58427 if libgcc_s.so happens to be installed already, this bug will go unnoticed. in my case, the first gcc is built with --disable-shared, so no libgcc_s.so is installed. applying an extract of the original patch makes the gcc compilation error (and the inclusion of libgcc_s) go away. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils