All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aaro Koskinen <aaro.koskinen@iki.fi>
To: Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: John David Anglin <dave.anglin@bell.net>,
	Meelis Roos <mroos@linux.ee>,
	linux-parisc@vger.kernel.org
Subject: Re: mmap problem in localedef
Date: Sat, 1 Apr 2017 22:10:23 +0300	[thread overview]
Message-ID: <20170401191023.xpf32zopaecd7dzy@raspberrypi-3.musicnaut.iki.fi> (raw)
In-Reply-To: <2241815.7QkIsKQeSs@daneel.sf-tec.de>

Hi,

On Sat, Apr 01, 2017 at 08:41:05PM +0200, Rolf Eike Beer wrote:
> Aaro Koskinen wrote:
> > On Mon, Dec 05, 2016 at 06:50:57PM -0500, John David Anglin wrote:
> > > On 2016-12-05, at 4:17 PM, John David Anglin wrote:
> > > > I'll post the current Debian patch set for hppa tonight and maybe we can
> > > > consolidate.
> > 
> > [...]
> > 
> > > We still have a change to SHMLBA which affects non standard page sizes.
> > 
> > FWIW, this is the one (local-shmlba.diff) that is needed to get localedef
> > working on PA-RISC. I just tested with glibc 2.25 and Linux 4.10 with 4 KB
> > page size.
> 
> Missing attachment?

It was attached to Dave's original mail. Inlined below:

Index: eglibc-2.18/sysdeps/unix/sysv/linux/hppa/bits/shm.h
===================================================================
--- eglibc-2.18.orig/sysdeps/unix/sysv/linux/hppa/bits/shm.h	2013-01-09 19:28:48.000000000 -0500
+++ eglibc-2.18/sysdeps/unix/sysv/linux/hppa/bits/shm.h	2014-04-09 21:08:06.516202583 -0400
@@ -36,7 +36,7 @@
 #define SHM_UNLOCK	12		/* unlock segment (root only) */
 
 /* Segment low boundary address multiple.  */
-#define SHMLBA 0x00400000		/* address needs to be 4 Mb aligned */
+#define SHMLBA		(__getpagesize ())
 
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;

A.

  reply	other threads:[~2017-04-01 19:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-05 11:36 mmap problem in localedef Meelis Roos
2016-12-05 18:10 ` Aaro Koskinen
2016-12-05 18:49   ` John David Anglin
2016-12-05 20:58     ` Aaro Koskinen
2016-12-05 21:17       ` John David Anglin
2016-12-05 23:50         ` John David Anglin
2017-04-01 18:37           ` Aaro Koskinen
2017-04-01 18:41             ` Rolf Eike Beer
2017-04-01 19:10               ` Aaro Koskinen [this message]
2017-04-02 14:08                 ` John David Anglin
2017-04-02 19:12                   ` Aaro Koskinen
2017-04-02 19:49                     ` John David Anglin
2017-04-02 20:13                       ` John David Anglin
2017-04-02 20:55                         ` John David Anglin
2017-04-02 21:45                       ` John David Anglin
2017-04-05 23:03                     ` John David Anglin
2017-04-11 12:01                       ` John David Anglin
2017-04-11 13:57                         ` Rolf Eike Beer
2017-04-16 19:22                           ` John David Anglin
2017-04-01 19:20             ` John David Anglin
2016-12-05 21:12     ` Meelis Roos
2016-12-05 21:17       ` Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170401191023.xpf32zopaecd7dzy@raspberrypi-3.musicnaut.iki.fi \
    --to=aaro.koskinen@iki.fi \
    --cc=dave.anglin@bell.net \
    --cc=eike-kernel@sf-tec.de \
    --cc=linux-parisc@vger.kernel.org \
    --cc=mroos@linux.ee \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.