Build problem with rtems-ss-20030417, when compiling & linking the hello app

Eric Valette eric.valette at free.fr
Fri May 2 11:08:46 UTC 2003


gregory.menke at gsfc.nasa.gov wrote:
> 
> powerpc-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../mcp750/lib/ -specs bsp_specs -qrtems 
> 		  -DPACKAGE_NAME=\"rtems-c-src-tests-samples\" -DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" 
> 		  -DPACKAGE_VERSION=\"ss-20030417\" -DPACKAGE_STRING=\"rtems-c-src-tests-samples\ ss-20030417\" 
> 		  -DPACKAGE_BUGREPORT=\"rtems-bugs at OARcorp.com\"         -mcpu=750 -Dmpc750  -O4 -mmultiple -mstring -mstrict-align 
> 		  -g -Wall -ansi -fasm  -o o-optimize/init.o -c /opt/rtems/rtems-ss/c/src/tests/samples/hello/init.c
> powerpc-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../mcp750/lib/ -specs bsp_specs -qrtems -mcpu=750 -Dmpc750  
> 		  -O4 -mmultiple -mstring -mstrict-align -g -Wall -ansi -fasm         -o o-optimize/hello.nxe o-optimize/init.o 
> 		  ../../../../../mcp750/lib/no-dpmem.rel ../../../../../mcp750/lib/no-event.rel ../../../../../mcp750/lib/no-msg.rel 
> 		  ../../../../../mcp750/lib/no-mp.rel ../../../../../mcp750/lib/no-part.rel ../../../../../mcp750/lib/no-signal.rel 
> 		  ../../../../../mcp750/lib/no-timer.rel ../../../../../mcp750/lib/no-rtmon.rel
> ../../../../../mcp750/lib/librtemscpu.a(newlibc.o): In function `libc_start_hook':
> /opt/rtems/rtems-ss/cpukit/libcsupport/src/newlibc.c:131: undefined reference to `_REENT_INIT_PTR'
> 
> 
> 
> I'm using the following from the latest snapshot tools source;
> 
> 
> binutils-2.13.2.1.tar.bz2
> gcc-3.2.2-rtems-20030326.diff
> gcc-3.2.2.tar.bz2
> newlib-1.11.0-rtems-20030326.diff
> newlib-1.11.0.tar.gz
> 
> 
> gcc was built as follows;
> 
> ../gcc-3.2.2/configure --prefix=$(tools_install) --target=$(target_arch) --verbose --with-gnu-as --with-gnu-ld --disable-nls 
> --disable-multilib --with-newlib --enable-threads --enable-languages='c,c++'
> 
> 
> enabling multilib doesn't affect the problem.
> 
> Thanks for any hints,
> 
> Gregm
> 

This is due to my patch to fix the initialization problem on Intel. But
I think you are using old newlib include files... (did you install
really install newlib-1.11 it?)

-- 
    __
   /  `                   	Eric Valette
  /--   __  o _.          	6 rue Paul Le Flem
(___, / (_(_(__         	35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette at free.fr





More information about the users mailing list