From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9CD513857816; Mon, 15 Mar 2021 13:14:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CD513857816 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/27578] --odr mode fails for a Libreoffice shared library Date: Mon, 15 Mar 2021 13:14:53 +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: vries at gcc dot gnu.org 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: Mon, 15 Mar 2021 13:14:53 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27578 --- Comment #4 from Tom de Vries --- OK, that's due to: ... idx: 48 cu: 0xbc incoming: 200 incoming: 201 incoming: 201 incoming: 203 incoming: 204 incoming: 208 ... There are two incoming edges from the same CU. So, one CU is importing the same PU twice. We can see this in the output if we do --no-import-optimize: ... <1><4742f>: Abbrev Number: 51 (DW_TAG_imported_unit) <47430> DW_AT_import : <0x7f02> [Abbrev Number: 18 (DW_TAG_partial_unit)] <1><47434>: Abbrev Number: 51 (DW_TAG_imported_unit) <47435> DW_AT_import : <0x7f02> [Abbrev Number: 18 (DW_TAG_partial_unit)] ... --=20 You are receiving this mail because: You are on the CC list for the bug.=