[patch cygwin]: Increase stack limit to 8MB as for mingw targets

Kai Tietz ktietz70@googlemail.com
Wed Feb 11 11:44:00 GMT 2009


2009/2/11 Paolo Bonzini <bonzini@gnu.org>:
> Kai Tietz wrote:
>> Hello,
>>
>> I verified for most windows targets those stack-failed testcases and
>> found, that just for cygwin host those testcases are failing. Therefore I
>> propose to patch config/mh-cygwin to increase stack limit to same as Linux
>> default. Mingw targets already do it that way.
>>
>> ChangeLog
>>
>> 2009-02-10  Kai Tietz  <kai.tietz@onevision.com>
>>
>>         * mh-cygwin (LDFLAGS): Add linker option to increase stack limit
>>         up to 8MB.
>>
>> I tested it for i686-pc-cygwin and for x86_64-pc-mingw32 cross compiler
>> without seeing any regressions.
>> Is this patch ok for trunk?
>
> Can you assume the only make is GNU make on mingw and cygwin?  If so,
> it's better to use
>
>   override LDFLAGS += -Wl,--stack,8388608

Well, AFAIK there are at least some people using alternative make. So
I think it is better to remain here compliant.

> instead.  Okay either way though.

Ok, I'll apply.

Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination



More information about the Gcc-patches mailing list