This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10283] localedef fails to generate locale-archive on SH4 arch
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 23 May 2013 12:33:14 +0000
- Subject: [Bug libc/10283] localedef fails to generate locale-archive on SH4 arch
- Auto-submitted: auto-generated
- References: <bug-10283-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=10283
--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> 2013-05-23 12:33:14 UTC ---
(In reply to comment #3)
> this is still happening on parisc, and i suspect it'll happen on other arches
> like sparc and sh4
>
> is the correct fix to use the SHMBLA define rather than getpagesize() ?
Yes, that's right.
The kernel is never going to change.
There is both a correctness and performance issue.
You can't expect MAP_FIXED to work correctly and quickly unless you follow
certain per-architecture rules.
In this case it's correct to map at intervals of SHMLBA.
This still impacts parisc, sh, mips, arm and sparc.
I'd accept a patch that does that.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.