This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug pch/14940] PCH largefile test fails on various platforms


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]