[Bug gold/25968] New: plugin_test_1 fails when --gc-sections is on by default
https://sourceware.org/bugzilla/show_bug.cgi?id=25968 Bug ID: 25968 Summary: plugin_test_1 fails when --gc-sections is on by default Product: binutils Version: 2.35 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com Target Milestone: --- [hjl@gnu-cfl-2 testsuite]$ `echo g++ -fcf-protection -W -Wall -Wstack-usage=262144 -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -fno-use-linker-plugin -o plugin_test_1 | sed -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir\/\2/' -e 's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -Wl,--no-demangle,--emit-relocs,--plugin,"./plugin_test.so",--plugin-opt,"_Z4f13iv" two_file_test_main.o two_file_test_1.o.syms two_file_test_1b.o.syms two_file_test_2.o.syms empty.o.syms -Wl,--gc-sections API version: 1 gold version: 116 option: _Z4f13iv Number of wrap symbols = 0 /usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/crt1.o: claim file hook called (offset = 0, size = 10584) gcctestdir/collect-ld: internal error in do_layout, at /export/gnu/import/git/gitlab/x86-binutils/gold/object.cc:1933 cleanup hook called collect2: error: ld returned 1 exit status [hjl@gnu-cfl-2 testsuite]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gold/25476] [gold] Gold doesn't handle GDesc -> IE transition correctly
https://sourceware.org/bugzilla/show_bug.cgi?id=25476 --- Comment #1 from H.J. Lu --- When creating a shared library, input object files can have GDesc and IE relocations against the same symbol. Ld can convert GDesc to IE. But gold can't. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/25447] objcopy : free() invalid pointer in _bfd_coff_free_symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=25447 Alan Modra changed: What|Removed |Added CC||dkcjd2000 at gmail dot com --- Comment #9 from Alan Modra --- *** Bug 25958 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/25958] [objdump] crash with -d flag in linux/raise.c:54
https://sourceware.org/bugzilla/show_bug.cgi?id=25958 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Alan Modra --- Fixed already. In future, please run fuzzing attacks against latest binutils git master. *** This bug has been marked as a duplicate of bug 25447 *** -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/25959] [nm] segmentation fault with at vms-alpha.c:1577
https://sourceware.org/bugzilla/show_bug.cgi?id=25959 Alan Modra changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Alan Modra --- I believe this is already fixed on master. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/25960] [nm] crash at vms_traverse_index at vms-lib.c:230
https://sourceware.org/bugzilla/show_bug.cgi?id=25960 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Alan Modra --- This also is already fixed on master. -- You are receiving this mail because: You are on the CC list for the bug.
Re: Possible bug in ld-2.33.90: ld/ldlang.c:3662
On Sat, May 09, 2020 at 05:09:18PM +0200, Antonio Ceballos wrote: > --- ld/ldlang.c 2020-01-18 14:55:48.0 +0100 > +++ ld/ldlang_new.c 2020-05-09 16:57:21.576153371 +0200 > @@ -3659,7 +3659,7 @@ >if ((ctf_output = ctf_create (&err)) != NULL) > return; > > - einfo (_("%P: warning: CTF output not created: `s'\n"), > + einfo (_("%P: warning: CTF output not created: `%s'\n"), >ctf_errmsg (err)); > >LANG_FOR_EACH_INPUT_STATEMENT (errfile) Thanks for the patch. This was fixed on mainline with git commit c48acf6f267 but not applied to the 2.34 branch. I'm unsure whether changes like this should be applied to a release branch, but it seems likely they should not. -- Alan Modra Australia Development Lab, IBM
[Bug binutils/25961] [nm] crash at _IO_flush_all_lockp at genops.c:779
https://sourceware.org/bugzilla/show_bug.cgi?id=25961 Alan Modra changed: What|Removed |Added Last reconfirmed||2020-05-11 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at sourceware dot org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment #2 from Alan Modra --- The bug dates back to 1999, git commit ec0ef80e9f4. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/25962] [nm] crash at vms_add_index at vms-lib.c:157
https://sourceware.org/bugzilla/show_bug.cgi?id=25962 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Alan Modra --- Already fixed on master. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/25963] [nm] crash at __memcpy_avx_unaligned () at memcpy-avx-unaligned.S:245
https://sourceware.org/bugzilla/show_bug.cgi?id=25963 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Alan Modra --- Already fixed on master. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/25964] [nm] crash at vms_traverse_index at vms-lib.c:230
https://sourceware.org/bugzilla/show_bug.cgi?id=25964 Alan Modra changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Alan Modra --- Already fixed on master. -- You are receiving this mail because: You are on the CC list for the bug.
Re: Possible bug in ld-2.33.90: ld/ldlang.c:3662
Ok, thanks for your reply. I should have checked git, sorry! As the fix is on mainline, the next release will include it, which is fair enough. Antonio On Mon, May 11, 2020 at 8:04 AM Alan Modra wrote: > On Sat, May 09, 2020 at 05:09:18PM +0200, Antonio Ceballos wrote: > > --- ld/ldlang.c 2020-01-18 14:55:48.0 +0100 > > +++ ld/ldlang_new.c 2020-05-09 16:57:21.576153371 +0200 > > @@ -3659,7 +3659,7 @@ > >if ((ctf_output = ctf_create (&err)) != NULL) > > return; > > > > - einfo (_("%P: warning: CTF output not created: `s'\n"), > > + einfo (_("%P: warning: CTF output not created: `%s'\n"), > >ctf_errmsg (err)); > > > >LANG_FOR_EACH_INPUT_STATEMENT (errfile) > > Thanks for the patch. This was fixed on mainline with git commit > c48acf6f267 but not applied to the 2.34 branch. I'm unsure whether > changes like this should be applied to a release branch, but it seems > likely they should not. > > -- > Alan Modra > Australia Development Lab, IBM >