X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: mmap() on 64K aligned address fails Date: Mon, 28 Nov 2005 12:51:04 -0600 Lines: 26 Message-ID: References: <20051126214701 DOT GW5074 AT bouh DOT residence DOT ens-lyon DOT fr> <20051127130652 DOT GT2999 AT calimero DOT vinschen DOT de> <20051127222246 DOT GJ5150 AT bouh DOT residence DOT ens-lyon DOT fr> <20051128115109 DOT GF2999 AT calimero DOT vinschen DOT de> <20051128154044 DOT GK2999 AT calimero DOT vinschen DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/