[Bug go/60931] libgo has issues when page size is not 4k
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 23 07:11:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is going to be true on AARCH64 also where most distros are going to be
using 64k pages (some might use 4k pages if they also support AARCH32). MIPS
has many different page sizes too (4k, 8k, 16k, 32k, and 64k). So hard coding
the page size seems wrong, maybe you should call getpagesize instead.
More information about the Gcc-bugs
mailing list