From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 997D83858D32; Fri, 13 Jan 2023 08:55:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 997D83858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673600153; bh=ZeG3HJkopKGKGFrrH789Fbheqt5ZgzvHmK81k1Dv718=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KSUwHk7PQAL47wtvtxfDcArELU/kYTrKngX/3ILjTL/QKdBI/8x2JpmMZWaBOLyWd v8/YSeHym4f+csmFbUGXpp6ldGREdeGldJFPNOZv+f0b3+jIjxwE3hSdkmN8IkWLwH fucY1d28ObvDFAi93co2+/YxAoKxuPQh/Bug/SNc= From: "mliska at suse dot cz" To: elfutils-devel@sourceware.org Subject: [Bug general/28608] elflint elfstrmerge fails with ld.gold Date: Fri, 13 Jan 2023 08:55:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mliska at suse dot cz X-Bugzilla-Status: NEW 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: cf_reconfirmed_on bug_status everconfirmed 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D28608 Martin Liska changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-01-13 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #4 from Martin Liska --- (In reply to Martin Liska from comment #3) > It's likely caused by the following 2 sections that are in elfstrmerge.o: >=20 > $ readelf -SW elfstrmerge.o | grep rodata > Section Headers: > [Nr] Name Type Address Off Size ES > Flg Lk Inf Al > ... > [ 5] .rodata.str1.1 PROGBITS 0000000000000000 000480 0002d0 01 > AMS 0 0 1 > [ 6] .rodata.str1.8 PROGBITS 0000000000000000 000750 0004df 01 > AMS 0 0 8 > ... This is unrelated, it's a different file that is checked. So it fails for: $ /home/marxin/Programming/elfutils/src/elflint --gnu /home/marxin/Programming/elfutils/tests/elfstrmerge section [17] '.rodata': merge flag set but entry size is zero $ readelf -SW /home/marxin/Programming/elfutils/tests/elfstrmerge | grep ro= da [17] .rodata PROGBITS 0000000000402ea0 002ea0 0007bf 00 = AMS=20 0 0 8 As seen the section has SHF_STRING flag, thus having sh_entsize =3D=3D 0 sh= ould be fine. @Mark: Can you please take a look? --=20 You are receiving this mail because: You are on the CC list for the bug.=