X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:cc:subject:in-reply-to:message-id
	:references:mime-version:content-type; q=dns; s=default; b=AZMMw
	z1duuyOjKRCs44pLiHY/AtXytvHjA+Ft6oCpIGavt0qH+s/wAPP3hnsRU94UBRfY
	ZWw8b/bKj0o8kAigJ14FkN3u2E/6ViE3J832YmB25Wf5wX2asjed9qbbeUNXa1mV
	vWhKczoyYfPBLfHeJibEQzxaOTznme/ShzazbA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:cc:subject:in-reply-to:message-id
	:references:mime-version:content-type; s=default; bh=pcfbkyKIorc
	uyL09HyJVDZLglic=; b=jz1vgAsIe19eS5ZV75VRFb7rFF5PEDY6JP8ktXlZTud
	ewZpUBJAMual4kgSbZD0zm6d98cQ1LW/6HroIZDXeYSzM3x1bySFivbemz97CXTT
	LPSDvMVNVjmYBn8HKoeJ4RWCxGu8jxkpwiKSBREhY3jrAwHfJ3WlWjDhHRIf41ts
	=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: mail.sciencetools.com
Date: Wed, 12 Feb 2014 11:06:18 -0800 (PST)
From: Richard <richard@KarmannGhia.org>
To: David Conrad <DavidConrad@acm.org>
cc: Andrey Repin <cygwin@cygwin.com>
Subject: Re: g77 on cygwin64
In-Reply-To: <CAEotdwn+dWCyiw2a6oN987XOP2Fs6BkAfkwChe5ZH3UWs3d=Cg@mail.gmail.com>
Message-ID: <alpine.LFD.2.03.1402121103430.24343@KarmannGhia.org>
References: <52FAF082.6020805@appstate.edu> <52FB0686.8080403@gmail.com> <52FB13E2.1070107@appstate.edu> <724410821.20140212111451@mtu-net.ru> <CAMCbSMoqb_TsY3BQSU-AwnCOuCYecwCw4YexBQuUhbAbpSNDQg@mail.gmail.com> <52FB8E3C.3030704@appstate.edu> <1436686110.20140212211626@mtu-net.ru> <CAEotdwn+dWCyiw2a6oN987XOP2Fs6BkAfkwChe5ZH3UWs3d=Cg@mail.gmail.com>
User-Agent: Alpine 2.03 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-IsSubscribed: yes


On Wed, 12 Feb 2014, David Conrad wrote:
>
> Since the problem occurs going from 32-bit to 64-bit Cygwin, it sounds
> to me like all-the-world's-a-VAX syndrome. I bet there are places
> where it reads from files and assumes that if it reads N words into
> integers, that is N 32-bit quantities, or something like that. I
> haven't written any Fortran since the 1980s, but I bet there are types
> that have changed size due to the switch to 64-bit and that results in
> reading incorrect values from files, including reading some of them
> from the wrong file offsets, and hitting end-of-file at a different
> point.

It's called, "inadvertent varriable sharing."

Yeah, I was there, fought those battles. The proof of what was going on 
was found in crash dumps. ...This was from the era when "RISC 
architecture" meant "Relegate all the Important Sh_t to the Compiler."

Richard

--
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

