[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 |
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/12557] New: Firefox fails to build with -flto and --as-needed LDFLAGS, cryptooctoploid at gmail dot com, 2011/03/09
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, cryptooctoploid at gmail dot com, 2011/03/09
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, hjl.tools at gmail dot com, 2011/03/09
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS,
cryptooctoploid at gmail dot com <=
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, hjl.tools at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, cryptooctoploid at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, cryptooctoploid at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, hjl.tools at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, cryptooctoploid at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, cryptooctoploid at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, cryptooctoploid at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, cryptooctoploid at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, hjl.tools at gmail dot com, 2011/03/10
- [Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS, hjl.tools at gmail dot com, 2011/03/10