This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mmap checks by blacklist, not fragile AC_TRY_RUN test
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Botcazou <ebotcazou at libertysurf dot fr>, Greg Schafer <gschafer at zip dot com dot au>
- Date: Sun, 01 Jun 2003 18:44:10 -0700
- Subject: Re: mmap checks by blacklist, not fragile AC_TRY_RUN test
- References: <9F1FFA7A-9482-11D7-935C-000393A6D2F2@physics.uc.edu>
Andrew Pinski <pinskia@physics.uc.edu> writes:
> On openbsd3.1 (at least i386/i686), I got the following from configure:
>
> checking for working mmap from /dev/zero... no
> checking for working mmap with MAP_ANON(YMOUS)... no
> checking for working mmap of a file... yes
>
> Looks like it should be blacklisted.
I doubt it. This is likely to be one of the false positives that the
old test would produce; the odds of a modern Unix like openbsd3.1
having an mmap that doesn't do what GCC needs are very low.
zw