From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 93E7638582A1; Sun, 20 Aug 2023 10:30:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 93E7638582A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692527447; bh=gTJCiMBue5ZRq76gxUlMpxSOeoLdzkpKmtv65cHAid4=; h=From:To:Subject:Date:From; b=lQf/44K1gq2nY/jURKVGzQ5cqfOBV+Ylj07ymJptxhlc6/w/UwZWug8WHGoQ81f0N iYDYjXMxZybTfDV8mk2EP45BmCzSBw8lKkKdXPENPEBSIenya8a78WmxxrMbQtGvfp DKtHyUDBAMv8lVpZmZ/Qjw30NTWXHZUDcKYlcHhA= From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/111081] New: LTO link failure on darwin: g++.dg/lto/pr65276 Date: Sun, 20 Aug 2023 10:30:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111081 Bug ID: 111081 Summary: LTO link failure on darwin: g++.dg/lto/pr65276 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: fxcoudert at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- The test failure is seen on both x86_64-apple-darwin and aarch64-apple-darw= in: FAIL: g++.dg/lto/pr65276 cp_lto_pr65276_0.o-cp_lto_pr65276_1.o link, -flto = -O0 -std=3Dc++11 The error occurs at linking, and it says: duplicate symbol 'typeinfo name for std2::exception' in: cp_lto_pr65276_0.o cp_lto_pr65276_1.o duplicate symbol 'typeinfo for std2::exception' in: cp_lto_pr65276_0.o cp_lto_pr65276_1.o ld: 2 duplicate symbols for architecture arm64=