From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D54913858D35; Sun, 5 Mar 2023 18:59:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D54913858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678042767; bh=cZZ+dkf7hs3P02tRlokgmYapDe0jN58agcEIV9LlErc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=E7UaPHrATmoD8yFtos8PeMsg1GxGUrAVmZGHGGkdaT0hmecXGvrLOSFQOXCAieph6 dFDkm0OThZxlHH9P7nSW3XRWsne10JM5s7v6IY4cp9ZezmBLCn93Q0eWDHIa1LMoSt iLtfg/rgCg0KhKrn3iG3NnwCyNlzlyEb2YvO92II= From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109007] building for POWER8 leaks into POWER9 ISA with g++ 11.3 (cross-compiler on x86_64 host) Date: Sun, 05 Mar 2023 18:59:27 +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.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109007 --- Comment #15 from Segher Boessenkool --- (In reply to bugreporter66 from comment #14) > I should be able to workaround that by emulating all LE targets on POWER9, > with a comment that building for POWER8 natively on target should work to= o. If you want to default to Power9 but still support Power8 (on builds that u= se -mcpu=3Dpower8), you need to set up appropriate multilibs. If you want tha= t, please do a feature request for that? As a new PR, not hidden inside this one please :-)=