| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <417DFEB1.1080604@familiehaase.de> |
| Date: | Tue, 26 Oct 2004 09:37:21 +0200 |
| From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| Organization: | Esse keine toten Tiere |
| User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 |
| MIME-Version: | 1.0 |
| To: | "Billinghurst, David \(CALCRTS\)" <david DOT billinghurst AT comalco DOT riotinto DOT com DOT au> |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: g77 executable with largish array fails (solved?) |
| References: | <8ED2FA87C8ACC04192709688DDFD5F5F09B3BA AT calttsv025 DOT cal DOT riotinto DOT org> |
| In-Reply-To: | <8ED2FA87C8ACC04192709688DDFD5F5F09B3BA@calttsv025.cal.riotinto.org> |
| X-IsSubscribed: | yes |
Billinghurst, David (CALCRTS) wrote:
>>From: David Billinghurst
>>
>>The following test case is distilled from the LAPACK timing test cases.
>>These used to work on some previous versions of cygwin/g77, but now fail.
>
>
> I translated the problem into C using f2c. It becomes:
>
> $ cat labugc.c
> int main() {
> static float a[39*1024*1024];
> }
>
> $ gcc -O0 -o labugc.exe labugc.c
> $ ./labugc
> C:\cygwin\usr\people\billingd\labugc.exe (3372): *** MapViewOfFileEx(0x728, in_h 0x728) failed, Win32 error 6
>
>
> Aha, I says. Looks like stack overflow. Google pointed me to an work around
> gcc -Wl,--stack,200000000 -O0 -o labugc.exe labugc.c
>
> David
Interesting, it works without special flags when using gcc-3.4.1.
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |