Newbie RTEMs user's RTEMS build failing

jamesfit at paradise.net.nz jamesfit at paradise.net.nz
Thu Dec 19 22:25:00 UTC 2002


Hi Greg,

thanks for your response. I acutally downloaded the source and diff files from 
the release directory of the oarcorp ftp site and thought at the time they were 
a bit old. I see the snapshots directory contains much newer versions.

I will try again with these newer versions. 

Thanks much,
regards,
James Fitzsimons

> Upgrade to the latest trusted gcc, newlib & binutils. I've seen this
> error when compiling later snapshots with 2.9x versions of gcc. You
> can get rpms or tar.gz from the OAR ftp tree; 
> 
> ftp://ftp.oarcorp.com/pub/rtems/snapshots/c_tools/
> 
> If absolutely necessary, you can get around the error by #define'ing
> PTHREAD_CANCELLED to some value in cancelrun.c, however this is
> nothing but a very bad hack as its potentially interfering with the
> pthreads implementation and you may end up with other hidden problems.
> On the Mongoose BSP at least, it does appear to work. YMMV.
> 
> As far as gcc version dependency is concerned, with 3.x on MIPS I've
> sucessfully built newlib & rtems & application with -fpack-struct and
> it all runs OK. 2.9x would fail in the RTEMS startup.
> 
> Gregm



More information about the users mailing list