From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zack Weinberg" To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: bootstrap/3163 Date: Wed, 13 Jun 2001 20:36:00 -0000 Message-id: <20010614033602.6164.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00616.html List-Id: The following reply was made to PR bootstrap/3163; it has been noted by GNATS. From: "Zack Weinberg" To: Robert Lipe Cc: gcc-gnats@gcc.gnu.org, john@Calva.COM Subject: Re: bootstrap/3163 Date: Wed, 13 Jun 2001 20:33:38 -0700 On Wed, Jun 13, 2001 at 11:45:25AM -0500, Robert Lipe wrote: > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3163&database=gcc > > HP/UX allocates pages backward in memory. No OS has yet > been > observed > to be so perverse as to leave unmapped space between > consecutive calls > to mmap. */ > > Well, UnixWare 7.1.1 is that perverse system. It seems to > leave > one page between each mapping. > > This is actually documented behaviour. From the mmap man page: > > References to pages in a mapped region which are beyond the > page containing the end of a file will result in the delivery of a > SIGBUS signal. That sentence is in everybody's mmap(2), but not everybody's mmap leaves one page between each successive anonymous mapping. The test is, however, too picky. I originally wrote it to exercise every last detail of a Cygwin runtime bug. I've seen problem reports go by for it on Solaris 8 and the Hurd as well as UnixWare 7.1.1. Fixing it just hasn't been very high on my list. It would probably be better to check for the buggy versions of Cygwin instead. I don't know how to do that reliably, or which version is the earliest in which the bug was fixed. See thread at http://gcc.gnu.org/ml/gcc-bugs/2000-11/msg00588.html . -- zw I now propose to do a little a priorizing of my own. -- Jerry Fodor, _The Mind Doesn't Work That Way_