From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D8E5B3858427; Tue, 1 Nov 2022 15:42:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8E5B3858427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667317352; bh=nZEITAzSzfO9StuRNQNZB/gUiNvJwxhmHsoWR8EKBtM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ui/5R9SBTX2BHvjx/2BZwjoA83vAuPhsLO0xx4TWj8FHtfpmqNP1zUb8qPMCeIxbN oSOAc+iC8IN/eN9oGAfWJ7DjqTl8WB6BOeOqpUuc33c3JPWPk2HwZNsxMfYfByyKK8 WduXyaRcV3/y5FkhULpkdsosioqunwqJ3Dvje3vs= From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/107491] Gccgo stack not resizing on Solaris Date: Tue, 01 Nov 2022 15:42:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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=3D107491 --- Comment #3 from Ian Lance Taylor --- The stack size on a system that does not support -fsplit-stack is set by StackMin in libgo/runtime/stack.c. There is currently no way to override t= he default value of 4MB, but we could probably add one based on an environment variable. (Or we could support -fsplit-stack on Solaris if there is an available slot accessible via the TLS segment register. On Linux x86_64 we use %fs:0x70.)=