[Bug binutils/27865] Unsupported name-unmangling for C++20 modules?
https://sourceware.org/bugzilla/show_bug.cgi?id=27865 --- Comment #5 from Nick Clifton --- Hi Guys, It sounds like we may be jumping the gun a bit if we push for an update to libiberty before this mangling scheme is fully defined... Maybe it would be best to hold off for a bit ? Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/27884] readelf: ../../binutils/dwarf.c:1965: skip_attr_bytes: Assertion `(data) <= (end)' failed.
https://sourceware.org/bugzilla/show_bug.cgi?id=27884 Martin Liska changed: What|Removed |Added CC||amodra at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/27884] New: readelf: ../../binutils/dwarf.c:1965: skip_attr_bytes: Assertion `(data) <= (end)' failed.
https://sourceware.org/bugzilla/show_bug.cgi?id=27884 Bug ID: 27884 Summary: readelf: ../../binutils/dwarf.c:1965: skip_attr_bytes: Assertion `(data) <= (end)' failed. Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: mliska at suse dot cz Target Milestone: --- Created attachment 13458 --> https://sourceware.org/bugzilla/attachment.cgi?id=13458&action=edit testcase Started with: commit edba4e4abaf679d3ce4d61fcbfe77b2bebfd4537 Author: Alan Modra Date: Sat May 15 14:39:11 2021 +0930 process_debug_info This patch constrains process_debug_info to stay within the data specified by the CU length rather than allowing access up to the end of the section. * dwarf.c (process_debug_info): Always do the first CU length scan for sanity checks. Remove initial_length_size var and instead calculate end_cu. Use end_cu to limit data reads. Delete now dead code checking length. for a test-case taken from dwz test-suite: $ ./binutils/readelf -wi 1 >/dev/null readelf: ../../binutils/dwarf.c:1965: skip_attr_bytes: Assertion `(data) <= (end)' failed. Aborted (core dumped) -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/27884] readelf: ../../binutils/dwarf.c:1965: skip_attr_bytes: Assertion `(data) <= (end)' failed.
https://sourceware.org/bugzilla/show_bug.cgi?id=27884 Alan Modra changed: What|Removed |Added Assignee|unassigned at sourceware dot org |amodra at gmail dot com Last reconfirmed||2021-05-18 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Alan Modra --- Oh yes, DW_FORM_ref_addr can look outside the current CU. Thanks for the report, I'll look into fixing it tomorrow. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/27878] [z80-unknown-elf]: ld (hl), <16 bit immediate> should fail assembly
https://sourceware.org/bugzilla/show_bug.cgi?id=27878 --- Comment #1 from Pete Moore --- Interestingly, the assembler will fail if the out-of-range value comes from a label rather than an explicitly specified constant in the assembly source code: ``` $ cat test.asm .org 0x1232 ; value chosen intentionally so that label == 0x1234 ld (hl), label label: $ z80-unknown-elf-as -o test.o test.asm && z80-unknown-elf-objdump -d test.o test.asm: Assembler messages: test.asm:2: Error: value of 4660 too large for field of 1 byte at 4659 ``` This is the output I was also expecting for `ld (hl), 0x1234`. Note, if the `.org 0x1232` is removed, label fits in 8 bits, and assembly succeeds, as expected. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/27884] readelf: ../../binutils/dwarf.c:1965: skip_attr_bytes: Assertion `(data) <= (end)' failed.
https://sourceware.org/bugzilla/show_bug.cgi?id=27884 --- Comment #2 from Alan Modra --- Created attachment 13459 --> https://sourceware.org/bugzilla/attachment.cgi?id=13459&action=edit proposed fix This ought to set up the proper cu bounds. Not tested properly yet. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/27888] New: fix link of gas with zlib by libtool 2.4.6
https://sourceware.org/bugzilla/show_bug.cgi?id=27888 Bug ID: 27888 Summary: fix link of gas with zlib by libtool 2.4.6 Product: binutils Version: 2.35.2 Status: NEW Severity: minor Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: nicolas at debian dot org Target Milestone: --- Created attachment 13460 --> https://sourceware.org/bugzilla/attachment.cgi?id=13460&action=edit patch always passing -lz and only removing -L with-system-lib When running autoreconf -f -i with libtool 2.4.6, then configuring with --with-system-zlib, the linker fails to find the deflate symbol for gas. For the record, -f works without -i. The attached patch copies the solution used by {bfd,binutils}/Makefile.am. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/27879] stack-buffer-overflow on sysdump
https://sourceware.org/bugzilla/show_bug.cgi?id=27879 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9d9e2a340ba50670f406afa314acaa9a2c34ec64 commit 9d9e2a340ba50670f406afa314acaa9a2c34ec64 Author: Alan Modra Date: Tue May 18 23:39:35 2021 +0930 PR27879, stack-buffer-overflow on sysdump PR 27879 * sysdump.c (getBARRAY): Sanity check size against max. (getINT): Avoid UB shift left. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/27884] readelf: ../../binutils/dwarf.c:1965: skip_attr_bytes: Assertion `(data) <= (end)' failed.
https://sourceware.org/bugzilla/show_bug.cgi?id=27884 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1b3892bedc7674dfd86b1b0285951271cd82de63 commit 1b3892bedc7674dfd86b1b0285951271cd82de63 Author: Alan Modra Date: Tue May 18 23:41:10 2021 +0930 PR27884, skip_attr_bytes: Assertion (data) <= (end) failed PR 27884 * dwarf.c (get_type_abbrev_from_form): Replace cu_offset_return param with map_return, and return map for DW_FORM_ref_addr. (get_type_signedness): Adjust calls to get_type_abbrev_from_form. Pass returned cu map start and end to recursive call. (read_and_display_attr_value): Similarly. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/27884] readelf: ../../binutils/dwarf.c:1965: skip_attr_bytes: Assertion `(data) <= (end)' failed.
https://sourceware.org/bugzilla/show_bug.cgi?id=27884 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.37 --- Comment #4 from Alan Modra --- patch applied -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/27879] stack-buffer-overflow on sysdump
https://sourceware.org/bugzilla/show_bug.cgi?id=27879 Alan Modra changed: What|Removed |Added Target Milestone|--- |2.37 Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #2 from Alan Modra --- Fixed, along with a ubsan complaint on the same testcase. -- You are receiving this mail because: You are on the CC list for the bug.