From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22233 invoked by alias); 23 Oct 2010 17:31:12 -0000 Received: (qmail 22218 invoked by uid 22791); 23 Oct 2010 17:31:11 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BJ X-Spam-Check-By: sourceware.org Received: from mail-ww0-f51.google.com (HELO mail-ww0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 23 Oct 2010 17:31:02 +0000 Received: by wwb18 with SMTP id 18so2047991wwb.8 for ; Sat, 23 Oct 2010 10:31:00 -0700 (PDT) Received: by 10.216.17.130 with SMTP id j2mr943350wej.47.1287855059062; Sat, 23 Oct 2010 10:30:59 -0700 (PDT) Received: from [192.168.2.99] (cpc2-cmbg8-0-0-cust61.5-4.cable.virginmedia.com [82.6.108.62]) by mx.google.com with ESMTPS id w41sm2853369weq.8.2010.10.23.10.30.56 (version=SSLv3 cipher=RC4-MD5); Sat, 23 Oct 2010 10:30:58 -0700 (PDT) Message-ID: <4CC32149.9030007@gmail.com> Date: Sat, 23 Oct 2010 19:41:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Joseph S. Myers" CC: Richard Henderson , GCC Patches , dj@redhat.com, kai.tietz@onevision.com Subject: Re: [PATCH, v4] Use cygwin spawn functions References: <4CB3AEC5.3090209@redhat.com> <4CB791AE.9080303@redhat.com> <4CBA02C4.9050801@redhat.com> <4CC319AF.6070501@gmail.com> <4CC31F3F.5060607@gmail.com> In-Reply-To: <4CC31F3F.5060607@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg02050.txt.bz2 On 23/10/2010 18:45, Dave Korn wrote: > On 23/10/2010 18:04, Joseph S. Myers wrote: >> On Sat, 23 Oct 2010, Dave Korn wrote: >> >>> It might be suitable to address this in gcc by adding "-Wl,--stack,4194304" >>> or simlar to the host build flags. Or there could be some kind of bug or >> Toplevel config/mh-{mingw,cygwin} already contain >> >> LDFLAGS += -Wl,--stack,8388608 >> >> for this purpose. >> > > It's not working: > >> admin@ubik /gnu/gcc/obj-lto >> $ objdump -p gcc/cc1.exe | grep Stack >> SizeOfStackReserve 00200000 >> SizeOfStackCommit 00001000 >> >> admin@ubik /gnu/gcc/obj-lto >> $ > > (I'm sure we've had this discussion before in a java-related context.) Yep, found it(*). The top-level config/mh-* flags are only used for stage1, that's why. cheers, DaveK -- (*) - http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00881.html and related thread.