[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #13 from H.J. Lu --- Change assembler may break existing code. I think gold should behave the same as ld on this. -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #12 from Cary Coutant --- > The documentation can have some improvements. But ld.bfd behavior is > well-defined as shown by testcases in ld/testsuite/ld-elfvers. If you're going to maintain that ".symver foo,foo@VER" is valid, th

[Bug gold/18521] failing tests on fedora 22

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18521 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Depends on|

[Bug gold/18663] gold/testsuite/script_test_1.cc is incompatible with GCC 5

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18663 H.J. Lu changed: What|Removed |Added Blocks||18521 Referenced Bugs: https://sourceware

[Bug gold/18628] gold IFUNC testsuite failures with GCC 5

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18628 H.J. Lu changed: What|Removed |Added Blocks||18521 Referenced Bugs: https://sourceware

[Bug gold/18521] failing tests on fedora 22

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18521 --- Comment #5 from Cary Coutant --- Sigh. This bug isn't really a duplicate of PR 18628 (it's really 18268 that duplicates a subset of this one). Let's consider this bug split into PR 18628 (for the IFUNC failures) and PR 18863 (for the scrip

[Bug gold/18663] gold/testsuite/script_test_1.cc is incompatible with GCC 5

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18663 H.J. Lu changed: What|Removed |Added Status|REOPENED|NEW --- Comment #4 from H.J. Lu --- A patc

[Bug gold/18663] gold/testsuite/script_test_1.cc is incompatible with GCC 5

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18663 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE

[Bug gold/18628] gold IFUNC testsuite failures with GCC 5

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18628 H.J. Lu changed: What|Removed |Added Status|REOPENED|NEW --- Comment #7 from H.J. Lu --- This b

[Bug gold/18628] gold IFUNC testsuite failures with GCC 5

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18628 H.J. Lu changed: What|Removed |Added CC||rafael.espindola at gmail dot com --- Comm

[Bug gold/18521] failing tests on fedora 22

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18521 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gold/18628] gold IFUNC testsuite failures with GCC 5

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18628 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE

[Bug gold/18663] gold/testsuite/script_test_1.cc is incompatible with GCC 5

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18663 Cary Coutant changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gold/18521] failing tests on fedora 22

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18521 --- Comment #3 from Cary Coutant --- *** Bug 18663 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mail

[Bug gold/18521] failing tests on fedora 22

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18521 Cary Coutant changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug gold/18628] gold IFUNC testsuite failures with GCC 5

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18628 Cary Coutant changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #11 from H.J. Lu --- (In reply to Cary Coutant from comment #10) > > In this example, "foo" is both unversioned and versioned. In response > to the unversioned one, gold is creating a default version, as > directed by the linker s

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #10 from Cary Coutant --- >> T foo >> T foo@VERS_1.1 >> >> With the version script, gold sees the first of those (plain "foo") >> and makes it the default version (as, I think, it should). The seco

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #9 from H.J. Lu --- (In reply to Sriraman Tallam from comment #8) > > From your later comments, it does look like the difference is because > of the extra "@" added by gold to make it the default symbol. > Linker shouldn't add t

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread tmsriram at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #8 from Sriraman Tallam --- On Tue, Jul 21, 2015 at 5:07 PM, ccoutant at gmail dot com wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=18703 > > --- Comment #3 from Cary Coutant --- > Sorry, I need more context than that

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #7 from H.J. Lu --- (In reply to Cary Coutant from comment #6) > >Another usage of the '.symver' directive is: > > .symver NAME, NAME2@@NODENAME > >In this case, the symbol NAME must exist and be defined within the > >

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #6 from Cary Coutant --- >Another usage of the '.symver' directive is: > .symver NAME, NAME2@@NODENAME >In this case, the symbol NAME must exist and be defined within the > file being assembled. It is similar to NAME2

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #5 from H.J. Lu --- >From "info ld": To do this, you must use multiple '.symver' directives in the source file. Here is an example: __asm__(".symver original_foo,foo@"); __asm__(".symver old_foo,foo@VERS_1.1");

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #4 from H.J. Lu --- (In reply to Cary Coutant from comment #1) > I think this is working as intended, although comparing with Gnu ld output, > I see that gold defines it as a default version ("@@") where Gnu ld does > not. I'm not

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #3 from Cary Coutant --- Sorry, I need more context than that. You've said that the symbol is not versioned, but in fact it is. The only differences between the two linkers that I see are: (1) The name that appears in the linker s

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread tmsriram at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #2 from Sriraman Tallam --- On Tue, Jul 21, 2015 at 11:03 AM, ccoutant at gmail dot com wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=18703 > > --- Comment #1 from Cary Coutant --- > You're looking at the linker symbol

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 --- Comment #1 from Cary Coutant --- You're looking at the linker symbol table with nm. (And nm does not show versioning information from the .gnu.version* sections.) When I build this with gold, readelf -Vs shows: Symbol table '.dynsym' con

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread tmsriram at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 Sriraman Tallam changed: What|Removed |Added CC||ccoutant at gmail dot com -- You a

[Bug gold/18548] gold incorrectly exports start/stop symbols (GLOBAL)

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18548 Cary Coutant changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gold/18548] gold incorrectly exports start/stop symbols (GLOBAL)

2015-07-21 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18548 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Cary Coutant : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5417c94d1a944d1a27f99240e5d62a6d7cd324f1 commit 5417c94d1a944d1a27f99240e5d

[Bug gold/18703] Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread tmsriram at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 Sriraman Tallam changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You

[Bug gold/18703] New: Symbol version and Version script incompatibility with BFD ld

2015-07-21 Thread tmsriram at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18703 Bug ID: 18703 Summary: Symbol version and Version script incompatibility with BFD ld Product: binutils Version: 2.26 (HEAD) Status: NEW Severity: normal

[Bug gold/18698] internal error in target, at ../../binutils/gold/parameters.h:105

2015-07-21 Thread andrew.n.senkevich at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18698 Andrew Senkevich changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #6 from Andrew

[Bug gold/18698] internal error in target, at ../../binutils/gold/parameters.h:105

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18698 Cary Coutant changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gold/18698] internal error in target, at ../../binutils/gold/parameters.h:105

2015-07-21 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=18698 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Cary Coutant : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b8c6c5ef99ef8f07fcea1c777d5084dc6f7232e5 commit b8c6c5ef99ef8f07fcea1c777d5

[Bug gold/18698] internal error in target, at ../../binutils/gold/parameters.h:105

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18698 Cary Coutant changed: What|Removed |Added Assignee|andrew.n.senkevich at gmail dot co |ccoutant at gmail dot com

[Bug gold/18698] internal error in target, at ../../binutils/gold/parameters.h:105

2015-07-21 Thread andrew.n.senkevich at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18698 --- Comment #2 from Andrew Senkevich --- (In reply to Cary Coutant from comment #1) ... > or print a warning that the -e option should > be used when there is no startup file. But it could be some incremental linking. And, for example, ld.bfd

[Bug gold/18698] internal error in target, at ../../binutils/gold/parameters.h:105

2015-07-21 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18698 Cary Coutant changed: What|Removed |Added CC||ccoutant at gmail dot com --- Comment

[Bug gold/18695] [x86-64] Missing relocation overflow check

2015-07-21 Thread andrew.n.senkevich at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18695 Andrew Senkevich changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug gold/18698] internal error in target, at ../../binutils/gold/parameters.h:105

2015-07-21 Thread andrew.n.senkevich at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18698 Andrew Senkevich changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|ccouta

[Bug gas/18687] GNU as segfaults when file ended by '.endr' or '.endm' directive with spaces at end of line

2015-07-21 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18687 Alan Modra changed: What|Removed |Added Status|NEW |ASSIGNED CC|