Re: Problem building glibc-20040822 for sh

Kaz Kojima <[email protected]> Wed, 25 Aug 2004 15:48:39 +0900 (JST)
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general
Message-ID <[email protected]>
Dan Kegel <[email protected]> wrote:
> Looks like glibc cvs is a bit knackered when it comes to building for sh4.
> Here's what I get:
> 
> In file included from ../sysdeps/unix/sysv/linux/sh/pread.c:1:
> ../sysdeps/unix/sysv/linux/mips/pread.c:31:21: sgidefs.h: No such file or directory
> make[2]: *** [/home/dank/wk/crosstool-0.28-rc35/build/sh4-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/build-glibc/posix/pread.o] Error 1
> make[2]: Leaving directory `/home/dank/wk/crosstool-0.28-rc35/build/sh4-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040822/posix'

Ooops.  I've missed it because of an evil null sgidefs.h in my local
cross environment :-(  Thanks for pointing it out.  The pread/write
stuff of the SH port just includes the mips one and now the mips
implementation uses more mips specific things like sgidefs.h.
I'll send a patch using the original mips implementations to the
GNU libc list.

Regards,
	kaz


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285