linux-mips
[Top] [All Lists]

Re: [patch] 2.4, head: PAGE_SHIFT changes break glibc

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: [patch] 2.4, head: PAGE_SHIFT changes break glibc
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 26 Nov 2003 00:24:39 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.55.0311251623180.6716@jurand.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.55.0311211550270.32551@jurand.ds.pg.gda.pl> <20031121185035.GC8318@linux-mips.org> <Pine.LNX.4.55.0311212021420.32551@jurand.ds.pg.gda.pl> <Pine.LNX.4.55.0311251623180.6716@jurand.ds.pg.gda.pl>
Resent-date: Wed, 26 Nov 2003 00:28:03 +0100
Resent-from: ralf@linux-mips.org
Resent-message-id: <200311252328.hAPNS3eu013162@dea.linux-mips.net>
Resent-to: linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Tue, Nov 25, 2003 at 04:27:49PM +0100, Maciej W. Rozycki wrote:

>  After rebuilding glibc (2.2.5) with the patch applied, the following
> program:
> 
> #include <stdio.h>
> #include <unistd.h>
> 
> int main(void)
> {
>       printf("%u\n", getpagesize());
>       return 0;
> }
> 
> prints "4096" if dynamically linked and "65536" if statically linked on my
> system, as expected.

Guess we'll need a solution along the lines of
unix/sysv/linux/sparc/sparc32/getpagesize.c then ...

  Ralf

<Prev in Thread] Current Thread [Next in Thread>