[Bug ld/14773] ld --as-needed reports undefined reference in the wrong library

2012-11-01 Thread ats-sourceware at offog dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=14773 --- Comment #3 from Adam Sampson 2012-11-01 09:47:28 UTC --- Thanks very much for your explanation -- I understand what ld's doing better now. Yes, sorry, I'm not saying that it's wrong to give an error -- I'm saying that the error message is

[Bug gold/14769] Gold generates bad executable with -z relro

2012-11-01 Thread allan at archlinux dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=14769 Allan McRae changed: What|Removed |Added CC||allan at archlinux dot org -- Configure

[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined

2012-11-01 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14272 --- Comment #13 from H.J. Lu 2012-11-01 23:03:46 UTC --- (In reply to comment #12) > Should ld really be covering up this gcc bug? I think this is a real linker bug since input is correct, even if not optimized. My current code is: /*

[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined

2012-11-01 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14272 --- Comment #14 from Alan Modra 2012-11-01 23:36:34 UTC --- Correct me if I'm wrong, but I thought the situation was that lto output object files were referencing IR only symbols. That is a gcc bug, even if those places in the lto output are

[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined

2012-11-01 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14272 --- Comment #15 from H.J. Lu 2012-11-01 23:48:50 UTC --- (In reply to comment #14) > Correct me if I'm wrong, but I thought the situation was that lto output > object > files were referencing IR only symbols. That is a gcc bug, even if those

[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined

2012-11-01 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14272 --- Comment #16 from Alan Modra 2012-11-02 01:32:26 UTC --- HJ, your response just described your patch. I can see what your patch does. Please respond to this concern: > If we hide this error in ld like gold appears to do, then we run the r

[Bug gas/14798] New: gas mips target generates badly typed symbols

2012-11-01 Thread bugdal at aerifal dot cx
http://sourceware.org/bugzilla/show_bug.cgi?id=14798 Bug #: 14798 Summary: gas mips target generates badly typed symbols Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component