This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Building GLIBC 2.3.4 on MIPS
- From: Kumba <kumba at gentoo dot org>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>
- Cc: libc-alpha at sources dot redhat dot com, linux-mips at linux-mips dot org
- Date: Thu, 24 Feb 2005 09:36:54 -0500
- Subject: Re: Building GLIBC 2.3.4 on MIPS
- References: <421BCF34.90308@jg555.com> <421BD616.4030101@avtrex.com> <Pine.LNX.4.61L.0502231300200.11922@blysk.ds.pg.gda.pl>
Maciej W. Rozycki wrote:
The culprit is elsewhere. The glibc's syscall number translator script
doesn't work with asm-mips/unistd.h as of Linux 2.6 (you could have
probably used 2.4 headers instead; I'm not sure if that is compatible with
"--enable-kernel=2.6.0", though). A correct fix has been prepared and
proposed by Richard Sandiford and is available here:
"http://sourceware.org/ml/libc-alpha/2004-11/msg00097.html". I would
expect this patch to have been applied before 2.3.4, but apparently this
hasn't happened. That's regrettable and I fear it's the result of glibc
being somewhat inadequately maintained for MIPS/Linux these days, sigh...
I'm not sure what the maintenance plan is for the 2.3 branch of glibc,
but if 2.3.5 is ever going to happen, the Richard's patch is one of the
must-have additions.
Maciej
The debian patch I referenced is what we require for glibc to generate a
proper syscalls.h for 2.4 kernels. Unknown on the 2.6 kernel front how that
patch affects things. I'll have to see if this patch affects/changes anything
for either headers version.
--Kumba
--
"Such is oft the course of deeds that move the wheels of the world: small
hands do them because they must, while the eyes of the great are elsewhere."
--Elrond