From: Daniel Jacobowitz <dan@debian.org>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: [patch] 2.4, head: PAGE_SHIFT changes break glibc
Date: Thu, 27 Nov 2003 12:37:14 -0500 [thread overview]
Message-ID: <20031127173714.GA26143@nevyn.them.org> (raw)
In-Reply-To: <Pine.LNX.4.55.0311271319470.22529@jurand.ds.pg.gda.pl>
On Thu, Nov 27, 2003 at 01:45:00PM +0100, Maciej W. Rozycki wrote:
> On Wed, 26 Nov 2003, Daniel Jacobowitz wrote:
>
> > > I suppose so, although being not that fond of insane numbers of syscalls
> > > I wonder how sysdeps/unix/sysv/linux/ia64/getpagesize.c gets away with
> > > static binaries... Perhaps we should ask glibc hackers?
> >
> > Look at elf/dl-support.c:_dl_aux_init? dl_pagesize should end up
> > initialized for static binaries too.
>
> Thanks for the hint. I can see _dl_aux_init() gets indeed called from
> __libc_start_main() in my i386/Linux libc-start.o binary (in libc.a), but
> it does not in my MIPSel/Linux one. So there must be a bug somewhere in
> 2.2.5, perhaps fixed later. I'll have a look at it. Once fixed, I
> guess we should choose the IA64 way.
>
> After a brief look at the sources I suspect sysdeps/mips/elf/ldsodefs.h
> overrides sysdeps/unix/sysv/linux/ldsodefs.h -- if that's the case, the
> bug still exists in the trunk. I'll work on a fix later, probably
> tonight.
_dl_aux_init ought to be called from __libc_start_main in
sysdeps/generic/libc-start.c. In current sources I can't see any way
for that to go wrong on MIPS (but my MIPS board is off right now so I
haven't tried it)...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-11-28 14:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-21 17:33 [patch] 2.4, head: PAGE_SHIFT changes break glibc Maciej W. Rozycki
2003-11-21 18:50 ` Ralf Baechle
2003-11-21 20:07 ` Maciej W. Rozycki
2003-11-25 15:27 ` Maciej W. Rozycki
2003-11-25 23:24 ` Ralf Baechle
2003-11-26 0:09 ` Maciej W. Rozycki
2003-11-26 17:02 ` Daniel Jacobowitz
2003-11-27 12:45 ` Maciej W. Rozycki
2003-11-27 17:37 ` Daniel Jacobowitz [this message]
2003-11-27 19:31 ` Maciej W. Rozycki
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=20031127173714.GA26143@nevyn.them.org \
--to=dan@debian.org \
--cc=linux-mips@linux-mips.org \
--cc=macro@ds2.pg.gda.pl \
--cc=ralf@linux-mips.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox