*BSD News Article 43791


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!news.gmi.edu!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mmap() problem [940412-SNAP, pdksh]
Date: 10 May 1995 21:35:37 GMT
Organization: SRI Intl. - Montana Operations
Lines: 41
Message-ID: <3orbj9$i72@helena.MT.net>
References: <3onilv$5jb$1@usenet.pa.dec.com>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

In article <3onilv$5jb$1@usenet.pa.dec.com>,
Ed Randall <erandall@reo.dec.com> wrote:
>
>Over the weekend I finally erased Linux and began installing FreeBSD
>from the 950412-SNAP distribution.  Having struggled through a few
>initial partitioning problems (don't do too many things in "disklabel",
>it crashes !) I finally got it all up & running.
>
>Problem #1 - all my old scripts don't work, 'cos I always write 'em
>in ksh;

Not my problem. :-)

>Problem #2 - During the "configure" script, it hangs when scanning for
>"mmap()". 

This is a known bug and is fixed in the -current sources and will be
fixed in the 2.0.5 release.

>"Oh well, it's obviously broken" I thought, and hacked "configure" so 
>that "HAVE_MMAP" doesn't get defined, and the problematical test is skipped.
>I now have a working "ksh", all seems well.

Good.

>But what of the miscreant "mmap()" ?  Is this a known bug, or should it
>work ?  Has anybody else had similar problems when running the "configure"
>scripts provided with most ports ?

mmap() was mostly fixed in that SNAP, but unfortunately mostly is not
100%.  I won't say it's 100% in the -current sources, but it's pretty darn
close since there haven't been any more bugs found since the above bug
was fixed.


Nate
-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  |
work #: (406) 449-7662 | Loving life in God's country, the great state of
home #: (406) 443-7063 | Montana.