From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5F8B03858C52; Thu, 28 Sep 2023 09:55:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F8B03858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695894942; bh=qzc4f4PqIC8jUyPDa9C1ufWlMyS/C00m45N9YxBRtBk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aTtoF5RXfP+wRHFwr8CWy9tY3551PRfLRT5YvOo06HQyHiuaUQfl+LN9MIGGCy7SO QlYegNOp1r+RNJ31BGF0+Qb/8znu857yjCbfcvtl+blXoQpypvADiHksEUGgEgkeWZ zvkCsXq2lZBOPoBH+IC2EzkZm4amfkMzqIxjm76k= From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111448] g++ ICE Segmentation fault in qemu-riscv64-static emulator Date: Thu, 28 Sep 2023 09:55:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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=3D111448 --- Comment #5 from Andreas Schwab --- GCC tries to increase the stack limit to 64Mb, but the qemu user-space emulation uses a fixed stack size (initialized on startup from the current stack limit) and ignores the RLIMIT_STACK request.=