From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 08EFA3857C44; Mon, 15 Mar 2021 12:37:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 08EFA3857C44 From: "mark at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99488] dwz: /usr/lib/gcc/mips64el-linux-gnuabi64/11/go1: Found two copies of .debug_line_str section Date: Mon, 15 Mar 2021 12:37:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2021 12:37:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99488 --- Comment #8 from Mark Wielaard --- On Mon, 2021-03-15 at 12:21 +0000, jakub at gcc dot gnu.org wrote: > --- Comment #7 from Jakub Jelinek --- > [43] .debug_line_str MIPS_DWARF 0000000000000000 ecf07bf 0066e6 = 01 MS > 0 0 1 > [44] .debug_line_str MIPS_DWARF 0000000000000000 ecf6ea5 0005d1 = 01 MS > 0 0 1 > Thus, doesn't seem to be dwz fault, the two .debug_line_str sections is > something unexpected. But that is odd. It has the same name, section type, flags (merge strings) and alignment. Why didn't the linker merge these? The only difference with other arches would be the MIPS_DWARF instead of PROGBITS type. But that shouldn't really matter to the linker.=