http://sourceware.org/bugzilla/show_bug.cgi?id=15149
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2013-03-11 19:45:05 UTC --- (In reply to comment #4) > This change is bogus, and breaks lots of packages. > There is nothing wrong with undef weak references that might sometimes be > satisfied by some library, but in the next version of the library no longer > brought in. DT_NEEDED for undef weak references shouldn't be added, and > nothing should be diagnosed. Please revert. The old linker silently adds the DSO to DT_NEEDED for weak reference. Even if the next version of the library no longer brings in the DSO, it is still in DT_NEEDED of executables linked against the current library. Gold doesn't add the DSO to DT_NEEDED for weak reference. But it leads to different run-time behavior. See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56431 for example. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- 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