This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Patch needed for CVS glibc on SH
- From: Daniel Jacobowitz <drow at false dot org>
- To: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: linux-sh at m17n dot org, linuxsh-dev at lists dot sourceforge dot net,libc-alpha at sources dot redhat dot com
- Date: Thu, 19 Jun 2003 22:50:57 -0400
- Subject: Re: Patch needed for CVS glibc on SH
- References: <20030620000207.GA19907@nevyn.them.org> <200306200131.h5K1Vph17442@r-rr.iij4u.or.jp>
On Fri, Jun 20, 2003 at 10:43:33AM +0900, kaz Kojima wrote:
> Daniel Jacobowitz <drow@false.org> wrote:
> > I believe this flushes my current patches to make glibc work on SH. Issues:
> > - MIPS pread functions have some wackiness in them for the MIPS calling
> > conventions, which align long longs to even register pairs; it appears
> > that SH does not do this. This fixes pread64/pwrite64.
> > - st_ino is _NOT_ 64-bit in the latest SH kernel trees, or at least it
> > wasn't when I checked in April. --enable-kernel=2.4.x breaks terribly
> > without this patch; the errors are along the lines of "version GLIBC_2.3
> > not found", because that's the first consequence of a messed up inode
> > field - ld.so compares by inodes at some point.
> [snip]
> > 2003-06-19 Daniel Jacobowitz <drow@mvista.com>
> >
> > * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features
> > for the SH architecture.
>
> I agree with this one. About pread64/pwrite64, did you see the argument
> in the another list
> <URL:http://www.geocrawler.com/mail/msg.php3?msg_id=10038494&list=3076>?
Sorry, too many lists - I'm not on linuxsh-dev. I admit I only tested
SH-3, though. So I guess that patch would break SH-4?
Has Toshinobu-san's patch been applied (where)?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer