From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3232338582B6; Wed, 6 Mar 2024 13:12:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3232338582B6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709730730; bh=iLjIqQQkwDxnclK0eQ18nUJCDTnUHlHqQPtJTfdxxdk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=L7pNWtzoWQbADpVG3LosHDAWuEUwGHsIKiYA2OK5L7o0yJh5rSYPiAmUAzbGWBomu 8uPl31QPANHMVXtD7QljAHuwMMKxNDtnnTrP2RlXA+YYvsnllumiarsugVtB4Qu5zM Sv6WuYZS9ZD4PX1Jwp3yti/EVMevUFnMWztgtmuw= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113331] AMDGCN: Compilation failure due to duplicate .LEHB/.LEHE symbols Date: Wed, 06 Mar 2024 13:12:08 +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: 14.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_reconfirmed_on cc bug_status 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113331 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2024-02-20 00:00:00 |2024-3-6 CC| |ams at gcc dot gnu.org, | |jakub at gcc dot gnu.org Status|ASSIGNED |NEW --- Comment #4 from Thomas Schwinge --- (I've not yet started working on this, but) I've noticed that we run into t= he same issue for 'libgomp.c++/firstprivate-2.C' that Jakub recently added in commit r14-9257-g4f82d5a95a244d0aa4f8b2541b47a21bce8a191b "OpenMP/C++: Fix (first)private clause with member variables [PR110347]": spawn -ignore SIGHUP g++ ../source-gcc/libgomp/testsuite/libgomp.c++/firstprivate-2.C [...] -fopenmp= -O2 -lm -o ./firstprivate-2.exe /tmp/ccLrOMGJ.mkoffload.2.s:215:1: error: symbol '.LEHB0' is already defined .LEHB0: ^ /tmp/ccLrOMGJ.mkoffload.2.s:241:1: error: symbol '.LEHE0' is already defined .LEHE0: ^ /tmp/ccLrOMGJ.mkoffload.2.s:341:1: error: symbol '.LEHB0' is already defined .LEHB0: ^ /tmp/ccLrOMGJ.mkoffload.2.s:367:1: error: symbol '.LEHE0' is already defined .LEHE0: ^ /tmp/ccLrOMGJ.mkoffload.2.s:467:1: error: symbol '.LEHB0' is already defined .LEHB0: ^ /tmp/ccLrOMGJ.mkoffload.2.s:493:1: error: symbol '.LEHE0' is already defined .LEHE0: ^ gcn mkoffload: fatal error: x86_64-pc-linux-gnu-accel-amdgcn-amdhsa-gcc returned 1 exit status [...] FAIL: libgomp.c++/firstprivate-2.C (test for excess errors) Again, that's for GCN offloading compilation only, but not nvptx.=