delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/15/10:14:32

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: 1.7.0 CVS mmap failure
Date: Mon, 15 Jan 2007 15:14:04 -0000
Message-ID: <024801c738b7$cb137890$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <024601c738b4$26412220$a501a8c0@CAM.ARTIMI.COM>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 15 January 2007 14:48, Dave Korn wrote:

> On 15 January 2007 14:03, Pierre Baillargeon wrote:
> 
>> About the reason why the last 64K just before 2GB can't be used in
>> Windows, I'll refer you to this post in The Old New Thing blog by
>> Raymond Chen, who regularly discusses such obscure compatibility issues.
>> 
>> See http://blogs.msdn.com/oldnewthing/archive/2003/10/08/55239.aspx.
>> 
>> (Short answer: it has to do with address fixup when loading executable
>> image and the influence of the alpha processor on the design.)
> 
>   Presumably you got that link from the post about six posts back in this
> thread where it was first mentioned...?  ;)
> 
>   http://cygwin.com/acronyms#YSHFRTT!
> 

  Also, it should be pointed out that this is not the real problem here.  We
aren't rebasing a DLL into the no-man's land, so the question of what kinds of
relocs the linker supports isn't relevant.  The problem is that we were handed
this address by allocating virtual memory, and it violates the 64k granularity
expectation because the upper part of it is overlaid by the fs: segment and so
there is no linear address available to map the upper part of the ds: space.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019