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

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #24 from Octoploid 2011-03-11 19:24:33 UTC --- >I really need a small testcase. Understood. I will take a deeper look. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this m

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

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

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

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 Octoploid changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever Confirmed|1

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

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #21 from H.J. Lu 2011-0

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

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Summary|--as-needed doesn't work|Firefox fails to build with

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

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #18 from Octoploid 2011-03-11 18:23:03 UTC --- Created attachment 5295 --> http://sourceware.org/bugzilla/attachment.cgi?id=5295 gcc_verbose_bad -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email -

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

2011-03-11 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #17 from Octoploid 2011-03-11 18:22:34 UTC --- Created attachment 5294 --> http://sourceware.org/bugzilla/attachment.cgi?id=5294 gcc_verbose_good -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email

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

2011-03-11 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #16 from H.J. Lu 2011-03-11 17:57:01 UTC --- Please show the output of "g++ -v ...". -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #15 from Octoploid 2011-03-11 07:34:09 UTC --- Now two lines stands out in "vimdiff verbose_good verbose_bad": libnspr4.so needed by ../../../../dist/bin/libxul.so found libnspr4.so at /usr/lib/libnspr4.so These two lines are mis

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 Octoploid changed: What|Removed |Added Attachment #5290|0 |1 is obsolete|

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 Octoploid changed: What|Removed |Added Attachment #5289|0 |1 is obsolete|

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #12 from Octoploid 2011-03-10 18:28:19 UTC --- Thanks. Unfortunately nothing obvious stands out in vimdiff. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because:

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

2011-03-10 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

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

2011-03-10 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Attachment #5289|application/octet-stream|text/plain mime type|

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #10 from Octoploid 2011-03-10 17:45:27 UTC --- Created attachment 5290 --> http://sourceware.org/bugzilla/attachment.cgi?id=5290 map_good Everything is attached. Good > without --as-needed Bad > with --as-needed -- Configure

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #9 from Octoploid 2011-03-10 17:43:59 UTC --- Created attachment 5289 --> http://sourceware.org/bugzilla/attachment.cgi?id=5289 output_good -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- Yo

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #8 from Octoploid 2011-03-10 17:43:32 UTC --- Created attachment 5288 --> http://sourceware.org/bugzilla/attachment.cgi?id=5288 map_bad -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You ar

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #7 from Octoploid 2011-03-10 17:43:09 UTC --- Created attachment 5287 --> http://sourceware.org/bugzilla/attachment.cgi?id=5287 output_bad -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You

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

2011-03-10 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #6 from H.J. Lu 2011-03-10 17:20:13 UTC --- Please provide the output of -Wl,--verbose=2,-Map,map as well as map file. I need both working/non-working outputs. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?t

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 Octoploid changed: What|Removed |Added Attachment #5285|0 |1 is obsolete|

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

2011-03-10 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #4 from Octoploid 2011-03-10 16:30:57 UTC --- Created attachment 5285 --> http://sourceware.org/bugzilla/attachment.cgi?id=5285 mozconfig No, there's only one libnspr4.so on my system. # cd / / # find . -name "libnspr4*" ./usr/l

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

2011-03-10 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

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

2011-03-09 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #2 from Octoploid 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 who

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

2011-03-09 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING CC|

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

2011-03-09 Thread cryptooctoploid at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 Octoploid changed: What|Removed |Added CC||cryptooctoploid at gmail