From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52101 invoked by alias); 30 May 2018 09:35:38 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 51945 invoked by uid 48); 30 May 2018 09:35:25 -0000 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/23247] Segfault in 0.171 RC1 release candidate Date: Wed, 30 May 2018 09:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned 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-SW-Source: 2018-q2/txt/msg00108.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23247 --- Comment #2 from Mark Wielaard --- (In reply to Mark Wielaard from comment #1) > While looking at this I also noticed that for this test file eu-readelf > --debug-dump=3Dranges claims to find some unused garbage in .debug_ranges, > which might indicate that we are either missing some attributes in the > associated CU, or GCC really puts garbage in the .debug_ranges section > (which would surprise me). That is odd. It seems eu-readelf really is correct, there is unused garbage= in the .debug_ranges sections, but not generated by GCC, but by GNU AS: DWARF section [28] '.debug_info' at offset 0xe3c0: [Offset] Compilation unit at offset 0: Version: 2, Abbreviation section offset: 0, Address size: 8, Offset size: 4 [ b] compile_unit abbrev: 1 stmt_list (data4) 0 ranges (data4) range list [ 0] name (strp) "../sysdeps/x86_64/crti.S" comp_dir (strp) "/home/abuild/rpmbuild/BUILD/glibc-2.27/csu" producer (strp) "GNU AS 2.30.0" language (data2) Mips_Assembler (32769) [...] Compilation unit at offset 81846: Version: 2, Abbreviation section offset: 6828, Address size: 8, Offset siz= e: 4 [ 13fc1] compile_unit abbrev: 1 stmt_list (data4) 23645 ranges (data4) range list [ 21a0] name (strp) "../sysdeps/x86_64/crtn.S" comp_dir (strp) "/home/abuild/rpmbuild/BUILD/glibc-2.27/csu" producer (strp) "GNU AS 2.30.0" language (data2) Mips_Assembler (32769) DWARF section [33] '.debug_ranges' at offset 0x3e2b0: CU [ b] base: +000000000000000000 [ 0] base address +000000000000000000 [ 10] ... 48 bytes ... [...] CU [ 13fc1] base: +000000000000000000 [ 21a0] base address +000000000000000000 [ 21b0] All the other CU/ranges look fine. I assume that GNU AS is padding the sect= ion for some reason. Anyway, this doesn't look like an eu-readelf bug. --=20 You are receiving this mail because: You are on the CC list for the bug.