From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1EA84395BC52; Wed, 2 Dec 2020 12:29:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1EA84395BC52 From: "mliska at suse dot cz" To: dwz@sourceware.org Subject: [Bug default/26987] GCC 11 Ada binaries contain unknown tags Date: Wed, 02 Dec 2020 12:29:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mliska at suse dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 12:29:15 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26987 --- Comment #6 from Martin Liska --- (In reply to Mark Wielaard from comment #5) > My local build of binutils readelf doesn't show this issue. Might it be > https://sourceware.org/bugzilla/show_bug.cgi?id=3D26548 (which should be = part > of 2.35.1, but was a bug in 2.35) It's actually the following commit: commit ef5e3e92dc7234f64e77e8c8af5d61685d96263b Author: Nick Clifton Date: Tue Oct 27 16:17:13 2020 +0000 Fix the decoding of DW_FORM_ref_addr DWARF attribute. * dwarf.c (struct abbrev_list): New structure. Used to collect lists of abbreviation sets. (struct abbrev_map): New structure. Used to map CU offsets to abbreviation offsets. (record_abbrev_list): New function. A new entry to an abbreviation list. (free_all_abbrevs): Update to free abbreviation lists. (new_abbrev_list): New function. Start a new abbreviation list. (find_abbrev_list_by_abbrev_offset): New function. (find_abbrev_map_by_offset): New function. (add_abbrev): Add abbrev_list parameter. (add_abbrev_attr): Likewise. (process_abbrev_section): Rename to process_abbrev_set and add list parameter. (get_type_abbrev_from_form): New function. Attempts to decode = the forms used by DW_AT_type attributes. (get_type_signedness): Display type names if operating in wide mode. Use get_type_abbrev_from_form. (read_and_display_attr_value): Use get_type_abbrev_from_form. (process_debug_info): Pre-parse the CU headers to collate all t= he abbrevs before starting the main scan. (process_debug_abbrev): Do not free any loaded abbrevs. (free_debug_memory): Free the abbrev maps. (cherry picked from commit bcd213b2cfbca2df53fb7e5d187fd67ea8eb7185) The commit was installed after 2.35.1 was released. >=20 > Also dwz gnatmake doesn't show any issues. > So I assume it is an issue when doing dwz -m ? Yes, I'll attach you a file from gcc11 package build that suffers from that. --=20 You are receiving this mail because: You are on the CC list for the bug.=