[Bug ld/29424] ld chokes on DW_FORM_rnglistx
https://sourceware.org/bugzilla/show_bug.cgi?id=29424 Nick Clifton changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #8 from Nick Clifton --- Fixed -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29424] ld chokes on DW_FORM_rnglistx
https://sourceware.org/bugzilla/show_bug.cgi?id=29424 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The binutils-2_39-branch branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c87bc94762a0f5c5960c69278a68c7d60ca2c0c9 commit c87bc94762a0f5c5960c69278a68c7d60ca2c0c9 Author: Nick Clifton Date: Fri Jul 29 13:00:09 2022 +0100 Stop the linker from complaining about unrecognized DW_FORM_rnglistx and DW_FORM_loclistx attribute formats. PR 29424 * dwarf2.c (read_attribute_value): Handle DW_FORM_rnglistx and DW_FORM_loclistx. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29424] ld chokes on DW_FORM_rnglistx
https://sourceware.org/bugzilla/show_bug.cgi?id=29424 --- Comment #6 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b44cfc5de139d7e2410e91846df0f0164d663d0b commit b44cfc5de139d7e2410e91846df0f0164d663d0b Author: Nick Clifton Date: Fri Jul 29 12:58:10 2022 +0100 Stop the linker from complaining about unrecognised DW_FORM-rnglistx and DW_FORM_loclistx format attributes. PR 29424 * dwarf2.c (read_attribute_value): Handle DW_FORM_rnglistx and DW_FORM_loclistx. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29424] ld chokes on DW_FORM_rnglistx
https://sourceware.org/bugzilla/show_bug.cgi?id=29424 --- Comment #5 from Rainer Orth --- > --- Comment #4 from Rainer Orth --- > I've just spotchecked ld 2.38.90 with that patch included with my > testcase: the link worked fine (or rather failed as expected due to the > missing __atomic_* symbols, but without the DWARF error). I'm now > running a full LLVM main build with that ld on > sparc64-unknown-linux-gnu. Will take a couple of hours, though... The build just completed without any issues. Thanks again. Rainer -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29424] ld chokes on DW_FORM_rnglistx
https://sourceware.org/bugzilla/show_bug.cgi?id=29424 --- Comment #4 from Rainer Orth --- > --- Comment #2 from Nick Clifton --- Hi Nick, > Unfortunately the reproducer fails for me due to lots of missing system > libraries. Not surprising really given that I was running the test on an > x86_64 linux box... no wonder indeed. That's why I mentioned gcc202 ;-) > Please could you try out the patch I am about to upload. It does not do > much > more than ignore the form, but it may be enough in this particular case. (I > believe that the linker is only parsing the DWARF information so that it can > generate an error message about the missing symbols, so I am hoping that not > decoding the range information will not be a big problem). I've just spotchecked ld 2.38.90 with that patch included with my testcase: the link worked fine (or rather failed as expected due to the missing __atomic_* symbols, but without the DWARF error). I'm now running a full LLVM main build with that ld on sparc64-unknown-linux-gnu. Will take a couple of hours, though... Thanks. Rainer -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29424] ld chokes on DW_FORM_rnglistx
https://sourceware.org/bugzilla/show_bug.cgi?id=29424 --- Comment #3 from Nick Clifton --- Created attachment 14238 --> https://sourceware.org/bugzilla/attachment.cgi?id=14238=edit Proposed Patch -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29424] ld chokes on DW_FORM_rnglistx
https://sourceware.org/bugzilla/show_bug.cgi?id=29424 Nick Clifton changed: What|Removed |Added Assignee|unassigned at sourceware dot org |nickc at redhat dot com CC||nickc at redhat dot com Status|NEW |ASSIGNED --- Comment #2 from Nick Clifton --- Hi Rainer, Unfortunately the reproducer fails for me due to lots of missing system libraries. Not surprising really given that I was running the test on an x86_64 linux box... Please could you try out the patch I am about to upload. It does not do much more than ignore the form, but it may be enough in this particular case. (I believe that the linker is only parsing the DWARF information so that it can generate an error message about the missing symbols, so I am hoping that not decoding the range information will not be a big problem). Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29424] ld chokes on DW_FORM_rnglistx
https://sourceware.org/bugzilla/show_bug.cgi?id=29424 --- Comment #1 from Rainer Orth --- Created attachment 14237 --> https://sourceware.org/bugzilla/attachment.cgi?id=14237=edit Debian 11/sparc64 testcse I see the binutils bugzilla filesize limit is way larger than GCC's, so attaching the testcase. Apart from the object files, it includes two shell scripts: * sst-la.sh contains the ld invocation with -latomic included, no error * sst-no-la.sh is the same, just without -latomic, which shows the error -- You are receiving this mail because: You are on the CC list for the bug.