[Bug ld/28875] ld should warn or error out about creating copy relocs & direct external references for protected symbols

2022-02-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28875 H.J. Lu changed: What|Removed |Added Attachment #13964|0 |1 is obsolete|

[Bug ld/28875] ld should warn or error out about creating copy relocs & direct external references for protected symbols

2022-02-10 Thread thiago at kde dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28875 --- Comment #3 from Thiago Macieira --- That is, this patch brings BFD ld on par with Gold. The remaining issue for Gold is #28876. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28875] ld should warn or error out about creating copy relocs & direct external references for protected symbols

2022-02-10 Thread thiago at kde dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28875 --- Comment #2 from Thiago Macieira --- (In reply to H.J. Lu from comment #1) > Created attachment 13964 [details] > A patch > > Try this. Confirmed for copy relocations: $ cat main.cpp extern __attribute__((visibility("default"))) long int

Issue 40956 in oss-fuzz: binutils:fuzz_ranlib_simulation: Direct-leak in bfd_malloc

2022-02-10 Thread sheriffbot via monorail
Updates: Labels: -restrict-view-commit -deadline-approaching Deadline-Exceeded Comment #3 on issue 40956 by sheriffbot: binutils:fuzz_ranlib_simulation: Direct-leak in bfd_malloc https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40956#c3 This bug has exceeded our disclosure deadline.

[Bug ld/28848] [2.38 Regression] ld assertion fail ../../bfd/elf32-arm.c:14807

2022-02-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28848 --- Comment #6 from Nick Clifton --- (In reply to Richard Earnshaw from comment #5) > I need to think about this a bit. The object file is arguably buggy in that > it says that it uses hw fp, but doesn't say which version. But if we report

[Bug ld/28879] New: [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-10 Thread evangelos at foutrelis dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 Bug ID: 28879 Summary: [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors Product: binutils Version: 2.39 (HEAD) Status: UNCONFIRMED S

[Bug ld/28848] [2.38 Regression] ld assertion fail ../../bfd/elf32-arm.c:14807

2022-02-10 Thread rearnsha at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28848 --- Comment #7 from Richard Earnshaw --- (In reply to Nick Clifton from comment #6) > Fair enough. The thing that worries me is that the problematic file - > crti.o - comes from glibc and is going to affect the building of a lot of > project

[Bug ld/28848] [2.38 Regression] ld assertion fail ../../bfd/elf32-arm.c:14807

2022-02-10 Thread rearnsha at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28848 --- Comment #5 from Richard Earnshaw --- (In reply to Nick Clifton from comment #3) > Created attachment 13968 [details] > Proposed Patch > > Hi Richard, > > How about this patch ? > > I was unsure what should be done with the other pot

[Bug ld/28848] [2.38 Regression] ld assertion fail ../../bfd/elf32-arm.c:14807

2022-02-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28848 --- Comment #3 from Nick Clifton --- Created attachment 13968 --> https://sourceware.org/bugzilla/attachment.cgi?id=13968&action=edit Proposed Patch Hi Richard, How about this patch ? I was unsure what should be done with the other po

[Bug ld/28848] [2.38 Regression] ld assertion fail ../../bfd/elf32-arm.c:14807

2022-02-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28848 Nick Clifton changed: What|Removed |Added CC||plugwash at p10link dot net --- Commen

[Bug ld/28859] Assertion failed while building glibc on raspbian bookworm.

2022-02-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28859 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug gas/28866] The results of "as" command are not consistent in arm and x86

2022-02-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28866 Nick Clifton changed: What|Removed |Added Resolution|--- |NOTABUG Status|UNCONFIRMED

[Bug binutils/28878] [RISCV] Incorrect DW_AT_high_pc for assembly source with linker relaxation

2022-02-10 Thread Joseph.Faulls at imgtec dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28878 --- Comment #2 from Joseph Faulls --- Created attachment 13966 --> https://sourceware.org/bugzilla/attachment.cgi?id=13966&action=edit myfunc.c -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/28878] [RISCV] Incorrect DW_AT_high_pc for assembly source with linker relaxation

2022-02-10 Thread Joseph.Faulls at imgtec dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28878 --- Comment #3 from Joseph Faulls --- Created attachment 13967 --> https://sourceware.org/bugzilla/attachment.cgi?id=13967&action=edit main.c -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/28878] [RISCV] Incorrect DW_AT_high_pc for assembly source with linker relaxation

2022-02-10 Thread Joseph.Faulls at imgtec dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28878 --- Comment #1 from Joseph Faulls --- Created attachment 13965 --> https://sourceware.org/bugzilla/attachment.cgi?id=13965&action=edit myfunc.s -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/28878] New: [RISCV] Incorrect DW_AT_high_pc for assembly source with linker relaxation

2022-02-10 Thread Joseph.Faulls at imgtec dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28878 Bug ID: 28878 Summary: [RISCV] Incorrect DW_AT_high_pc for assembly source with linker relaxation Product: binutils Version: 2.37 Status: UNCONFIRMED Severit