This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Delete cris architecture?


> Date: Thu, 15 Jul 2004 21:58:12 -0700
> From: Dan Kegel <dank@kegel.com>

> Hi Mikael,
> Your message popped up again for some reason, so I tried
> building crosstool-0.28-rc29 targeting cris with linux-2.6.7 / gcc-3.4.1 / glibc-2.2.5.
> It failed with
> 
> ../sysdeps/unix/sysv/linux/pread.c: In function `__libc_pread':
> ../sysdeps/unix/sysv/linux/pread.c:52: error: `__NR_pread' undeclared (first use in this function)
> ../sysdeps/unix/sysv/linux/pread.c:52: error: (Each undeclared identifier is reported only once
> ../sysdeps/unix/sysv/linux/pread.c:52: error: for each function it appears in.)
> 
> so I imagine some update is needed.  I'm no cris user,
> though, so maybe I'll let someone else look into it...
> - Dan

Hi Dan.  Thanks for checking.

IIRC, __NR_pread is supposed to be derived from kernel headers
(or maybe used directly); maybe it isn't defined there.  It is
also of course possible that glibc (FSF CVS) has a glitch
regarding use of __NR_pread.

I'll look closer at glibc issues this fall (like getting FSF CVS
in a compilable state!)

brgds, H-P

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]