https://sourceware.org/bugzilla/show_bug.cgi?id=16403

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Wow, that's quite an unusual testcase.  The only reason you need libc.so.6 is
due to a reference from libc_nonshared.a.

libc.so:
GROUP ( libc.so.6 libc_nonshared.a  ld-linux.so.2 )

A workaround is to link -lc twice, or change libc.so to link libc.so.6 both
before and after libc_nonshared.a.

Another possible solution is to modify ld GROUP behaviour when --as-needed is
in effect.

-- 
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

Reply via email to