Build problem with rtems-ss-20030417, when compiling & linking the hello app
gregory.menke at gsfc.nasa.gov
gregory.menke at gsfc.nasa.gov
Thu May 1 20:28:53 UTC 2003
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
More information about the users
mailing list