Need sources for libc

Joel Sherrill joel.sherrill at
Wed Jan 7 15:39:16 UTC 2009

Obviously 4.6 is very old and you will get limited help on
the list.  Worse, you are using a preview and the gcc version
doesn't match that used with the released versions.

The key information is:


which indicates you start with newlib 1.11.0 and add the newlib 1.11.0
RTEMS patch dated 20030203.  I would assume that newlib 1.11.0 is still
on the ftp site as part of the 4.6 RPM distributions.  I do see 
newlib-1.11.0-rtems-20030507.diff on the ftp site.  But apparently 
the patch with the preview is not there anymore. It may be in OAR
archives.  You can't keep everything online or the bandwidth and
disk space shoot through the roof.

OAR offers legacy support for 4.6 and 4.7.


Simon Edelhaus wrote:
> We are using RTEMS 4.6.0-prel3 for MIPS 4KC. Tools and libc version:
>   	Reading specs from /opt/rtems/lib/gcc-lib/mips-rtems/3.2.1/specs
>   	Configured with: ../gcc-3.2.1/configure  
>  --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu 
>   --target=mips-rtems --	with-gnu-as --with-gnu-ld 
>   --with-newlib --verbose --with-system-zlib --disable-nls 
>   --enable-version-specific-	runtime-libs 
>   --enable-threads=rtems --prefix=/opt/rtems 
>   --enable-languages=c,c++,ada Thread model: rtems gcc version 	
>   3.2.1 (OAR Corporation gcc-3.2.1-20021209/newlib-1.11.0-20030203 2)
>   	From inside libc.a :
>   	+++++++++++++++++++++
>   	../../gcc-3.2.1/newlib/libc/stdlib/strtod.c^
>   	@/home/rtems/src/packages/BUILD/mips-rtems-gcc 
>    -newlib/build/mips-rtems/newlib/libc/stdlib/	
>    ^@../../../../../gcc-3.2.1/newlib
>   	/libc/stdlib/strtod.c^@gcc2_compiled
>    We have a nasty crash in our application. We get:
>   	assertion "0" failed: file "../../../.
>   Unfortunately CPU dies before we get a chance to see the 
>   file  and line number.
>   We think this assertion printout is coming from the "libc.a". 
>   We only have the object. 
>   Where do we get the sources for this, to modify the string 
>   to  be much shorter to get the file and line number printout 
>   for  above assertion? And how do we rebuild "libc.a" correctly?
>   Thanks in advance for any help.
>   Thank you very much!
>   Ttfn,
>   Simon Edelhaus
>   Transwitch 2009
> _______________________________________________
> rtems-users mailing list
> rtems-users at

Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the users mailing list