This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pch on sparc64
- From: "David S. Miller" <davem at davemloft dot net>
- To: ja2morri at csclub dot uwaterloo dot ca (James A. Morrison)
- Cc: gcc at gcc dot gnu dot org, davem at redhat dot com
- Date: Sat, 6 Nov 2004 17:08:43 -0800
- Subject: Re: pch on sparc64
- References: <kfhis8izzhi.fsf@glucose-fructose.csclub.uwaterloo.ca>
PCH has been failing for quite some time on sparc64 and some other
similar Linux platforms.
The reason why is that file mmap()'s are enforced to certain boundaries
on sparc64 under Linux in order to address data-cache aliasing issues.
GCC wants the thing mapped at a specific address, and if it doesn't get
that specific address it fails. Fixing this is not easy.
There were threads about this some time ago. When PCH works on these
platforms, it is by chance.