http://sourceware.org/bugzilla/show_bug.cgi?id=12557

--- Comment #2 from Octoploid <cryptooctoploid at gmail dot com> 2011-03-10 
06:31:09 UTC ---
The problem comes from:
"-Wl,-R/usr/lib64 -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl"
If I remove "-lnspr4" from above, ld links without any problem.

When I remove the whole system library part:
"-Wl,-R/usr/lib64 -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl" 
ld still links fine.

So it seems that ld gets irritated when you explicitly specify system 
libraries that it already figured out itself in the -flto/--as-needed case.

-- 
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
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to