delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/28/13:56:21

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: mmap() on 64K aligned address fails
Date: Mon, 28 Nov 2005 12:51:04 -0600
Lines: 26
Message-ID: <dmfjip$nt0$1@sea.gmane.org>
References: <dmajga$8lq$1 AT sea DOT gmane DOT org> <20051126214701 DOT GW5074 AT bouh DOT residence DOT ens-lyon DOT fr> <dmaov2$nk0$1 AT sea DOT gmane DOT org> <dmavc9$5bt$1 AT sea DOT gmane DOT org> <20051127130652 DOT GT2999 AT calimero DOT vinschen DOT de> <dmdba8$dd4$1 AT sea DOT gmane DOT org> <20051127222246 DOT GJ5150 AT bouh DOT residence DOT ens-lyon DOT fr> <dmdd26$hrf$1 AT sea DOT gmane DOT org> <20051128115109 DOT GF2999 AT calimero DOT vinschen DOT de> <u4q5w2553 DOT fsf AT gnu DOT org> <20051128154044 DOT GK2999 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <20051128154044.GK2999@calimero.vinschen.de>
OpenPGP: url=ldap://keyserver.pgp.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Corinna Vinschen wrote:
[snip]
> No wonder, it's still based on crappy tests.  The attached configure
> script is a good example of making bold assumptions which match a couple
> of systems but the programmer didn't bother to verify the correctness of
> the code.
>=20
> Note: If the code works on most major Unixy systems, it isn't necessarily
> correct.

I agree.

The sad thing is that not one function in all the libraries that come with =
the
gcc tree uses the MAP_FIXED flag, only a few of the tests use it.  So we en=
d up
with bad tools (gcj-dbtool for instance core dumps because its badly implem=
ented
for the case where it assumes there is no mmap) or crippled libraries.

Those bad assumptions are hurting their own software.
--=20
Ren=E9 Berber


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