From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 58A913858291; Sat, 22 Jul 2023 05:18:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 58A913858291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690003108; bh=XG9KgoqFZdEzb+ueUbI44hmO4ejz7Adm1sAXLNfxTJc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=du1YlnXAfYwavngZGdRxQUfZEh035ZHZ93zaZAVh6+Xx5dXSz2RYWV0vlW19GOTLW GNJ0qb3gTUKwxH/hJ2TiRnsv0k9hkU5lQhJVXrFLpLTC+SwEnxyoEErEMSKyugP5NW VG+573Fg4rDmwxlWUvrEreYgXqXisprae28iiBKE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110066] [RISC-V] Segment fault if compiled with -static -pg Date: Sat, 22 Jul 2023 05:18:28 +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: 13.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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=3D110066 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Can you try reverting r13-923-g2d546ff69455f7deadab and try GCC 13 again? That looks like the only thing that changed between GCC 12 and GCC 13 for crtbeginT.o . Also can you attach the two versions of crtbeginT.o (the one from GCC 12 and one from GCC 13). If anything there has to be some extra null pointer happening ...=