This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does ggc-page.c require MMAP_DEV_ZERO and MMAP_ANON?
- From: Zack Weinberg <zack at codesourcery dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 23 Jun 2003 09:21:15 -0700
- Subject: Re: Does ggc-page.c require MMAP_DEV_ZERO and MMAP_ANON?
- References: <20030623151150.GA7919@lucon.org>
"H. J. Lu" <hjl@lucon.org> writes:
> checking for working mmap from /dev/zero... no
> checking for working mmap with MAP_ANON(YMOUS)... no
>
> As the result, I had
>
> /* #undef HAVE_MMAP_DEV_ZERO */
> /* #undef HAVE_MMAP_ANON */
> #define HAVE_MMAP_FILE 1
>
> in auto-host.h. Apparently, ggc-page.c doesn't work too well with
> this configuration.
This would be xvalloc mode, which is _supposed_ to work, but is rarely
if ever tested. Can you try to debug it a bit more?
zw