From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11818 invoked by alias); 5 Aug 2014 14:09:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 11742 invoked by uid 48); 5 Aug 2014 14:09:15 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/60874] FAIL: go.test/test/recover.go execution Date: Tue, 05 Aug 2014 14:09:00 -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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: NEW 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00299.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60874 --- Comment #6 from Ian Lance Taylor --- I don't know why making the types smaller in comment #4 makes any difference. On a system that does not use split stacks, the runtime will allocate a 2M stack for each goroutine (see StackMin in libgo/runtime/proc.c). That is clearly more than large enough to hold a 8192 byte value. The comments in the test about splitting the stack only apply to systems that support stack splitting. This will need more investigation by somebody with access to an Alpha. I guess one simple first step would be to verify that USING_SPLIT_STACK and LINKER_SUPPORTS_SPLIT_STACK are both 0 in the file TARGET/libgo/config.h.