From: Dennis Gilmore <dennis@xxxxxxxx> Date: Wed, 10 Feb 2010 13:59:00 -0600 > http://sources.redhat.com/bugzilla/show_bug.cgi?id=10855 As the patch in this bug does, it should be fixed in glibc. GCC had the same exact issues when creating precompiled headers in c++. > http://sources.redhat.com/bugzilla/show_bug.cgi?id=10283 Hey, Ulrich Drepper unreasonably flames someone for trying to fix a bug, I've never seen that before! :-) His comment about "all of userland expects page-size alignment to be sufficient" is completely wrong, you only need look at the precompiled header support code in GCC to see but one example. Simple sys_errlist versioning build fixes for Sparc from mid-January still have not been applied, and I supposed STT_GNU_IFUNC support for sparc last week to the glibc lists and that hasn't gotten looked at either. So the lack of any real looking into this issue is no surprise. This is not a kernel bug, shared mappings have stringent, architecture specific requirement wrt. mmap() area alignment in order to handle cache aliasing issues properly. MAP_SHARED mappings are special, you have to be aware of the issues if you're going to use them. You can't just map them wherever you like. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html