pch on sparc64
Daniel Jacobowitz
drow@false.org
Sun Nov 7 06:23:00 GMT 2004
On Sat, Nov 06, 2004 at 05:08:43PM -0800, David S. Miller wrote:
>
> 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.
GCC already aligns the mapping to some particular offset (usually the
page size). It should be trivial to inform GCC to round to a higher
offset.
--
Daniel Jacobowitz
More information about the Gcc
mailing list