From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CB0293858D28; Sat, 4 Mar 2023 09:56:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB0293858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677923815; bh=1xMX+ngYoVmbbbh4tRUc6iKFDcu9XP1FM9G2ccjaTkM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sAsmpKNzMpft+iWFh5xQRoqGoJd06VAvUBH2b4fNAOOxM6pSvVPCcnZi8xNJC4Yaj geDUtsDqCQ0pFpw7xMYWUqS/7FqAn8i90gfxqwk2TKI2GwFfgzGBBYh8R+1vmFXo2q peMlpCMSTAkT78oyhVTtBZ1tU1VNLqAxInMZSNP4= From: "bugreporter66 at gmail dot com" 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: Sat, 04 Mar 2023 09:56:54 +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: bugreporter66 at gmail dot com X-Bugzilla-Status: WAITING 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109007 --- Comment #4 from bugreporter66 at gmail dot com --- I did the remote debugging as suggested by Andrew Pinski and it seems to fa= il somewhere in _GLOBAL__sub_i_eh_alloc.cc After connecting to qemu from gdb I issued step command and the program was terminated with SIGILL (illegal instruction) single stepping until exit from that function (which has no line number information). I am attaching the screenshot.=