Need sources for libc

Ralf Corsepius ralf.corsepius at
Wed Jan 7 15:33:19 UTC 2009

Simon Edelhaus wrote:
> We are using RTEMS 4.6.0-prel3 for MIPS 4KC.
Urgh, this is a snapshot of an obsolete version of RTEMS having been 
discontinued many years ago.

>  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
The sources you are looking for are newlib's sources, but ... the 
version you are trying to use is such kind of outdated and obsolete, 
you'd better upgrade to a more recent version of RTEMS than trying to 


More information about the users mailing list