This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/14940] PCH largefile test fails on various platforms
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2004 17:10:22 -0000
- Subject: [Bug pch/14940] PCH largefile test fails on various platforms
- References: <20040413135721.14940.ian@wasabisystems.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-07-17 17:10 -------
Subject: Re: PCH largefile test fails on various platforms
> ------- Additional Comments From ebotcazou at gcc dot gnu dot org
> 2004-07-17 15:43 -------
> Note also that, although the mincore() trick is functional on Solaris, it
> doesn't solve the problem in general because the largefile test fails on all
> versions I tested (Solaris 2.5.1, 2.6, 7, 8 and 9).
Is that because a page is mapped in the PCH memory region, or because
the mmap call with MAP_FIXED fails to return the desired address?
HP-UX doesn't have mincore. It might be possible to write a routine
to probe the region. However, it's not going to fix the problem if
extant pages can be mapped in the PCH memory region.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940