[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS

From: cryptooctoploid at gmail dot com
Subject: [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS
Date: Thu, 10 Mar 2011 06:31:23 +0000


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]