X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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@sea.gmane.org> <20051126214701.GW5074@bouh.residence.ens-lyon.fr> <dmaov2$nk0$1@sea.gmane.org> <dmavc9$5bt$1@sea.gmane.org> <20051127130652.GT2999@calimero.vinschen.de> <dmdba8$dd4$1@sea.gmane.org> <20051127222246.GJ5150@bouh.residence.ens-lyon.fr> <dmdd26$hrf$1@sea.gmane.org> <20051128115109.GF2999@calimero.vinschen.de> <u4q5w2553.fsf@gnu.org> <20051128154044.GK2999@calimero.vinschen.de>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

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/

