From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24635 invoked by alias); 15 Nov 2011 15:54:11 -0000 Received: (qmail 24313 invoked by uid 22791); 15 Nov 2011 15:54:09 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wy0-f171.google.com (HELO mail-wy0-f171.google.com) (74.125.82.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Nov 2011 15:53:36 +0000 Received: by wyg24 with SMTP id 24so734310wyg.2 for ; Tue, 15 Nov 2011 07:53:35 -0800 (PST) Received: by 10.180.77.42 with SMTP id p10mr31798571wiw.66.1321372415406; Tue, 15 Nov 2011 07:53:35 -0800 (PST) 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 z5sm14602827wix.5.2011.11.15.07.53.29 (version=SSLv3 cipher=OTHER); Tue, 15 Nov 2011 07:53:31 -0800 (PST) Message-ID: <4EC28AE7.70600@gmail.com> Date: Tue, 15 Nov 2011 15:54:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: [SOLVED] Re: What updates done after October 3 may affect gfortran built binaries? References: <1320840871.13045.51.camel@kare-desktop> In-Reply-To: <1320840871.13045.51.camel@kare-desktop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00243.txt.bz2 On 09/11/2011 12:15, Edvardsen KÃ¥re wrote: > This is again related to the failure of execution of a gfortran built > binary ("cannot execute binary", see thread > http://cygwin.com/ml/cygwin/2011-11/msg00034.html ) > > In short, the main problem is that I can't build a successful binary > from the FLEXPART fortran code I helped Edvardsen to track this down off-list. It turns out that FLEXPART is one of those huge number-crunching Fortran programs that's just jam-packed with ginormous multi-dimensional arrays. The final linked executable had 3.38 GB of .bss space! So, it's not too surprising that it didn't load on 32-bit Windows; and it's not, as I was worrying, any explicit bug in the compiler or binutils (although it may be arguable that ld could be helpful if it issued some kind of warning in these circumstances). cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple