leon1 Re: undefined reference to `_CPU_Context_restore_fp'
Jiri Gaisler
jiri at gaisler.com
Thu Nov 15 23:39:45 UTC 2001
The patch did apply OK but compilation of applications failed:
Making all in hello
make[5]: Entering directory `/home/jiri/src/rtemsdev/build/sparc-rtems/c/leon1/tests/samples/hello'
mkdir o-optimize
/opt/rtems/bin/sparc-rtems-gcc --pipe -B../../../../../../leon1/lib/ -specs bsp_specs -qrtems -g
-Wall -ansi -fasm -mcpu=cypress -msoft-float -c -O4 -o o-optimize/init.o
../../../../../../../rtems-4.5.0-jg-2/c/src/tests/samples/hello/init.c
/opt/rtems/bin/sparc-rtems-gcc --pipe -B../../../../../../leon1/lib/ -specs bsp_specs -qrtems -g
-Wall -ansi -fasm -mcpu=cypress -msoft-float -L ../../../../../../leon1/lib -O4 -o
o-optimize/hello.exe o-optimize/init.o ../../../../../../leon1/lib/no-dpmem.rel
../../../../../../leon1/lib/no-event.rel ../../../../../../leon1/lib/no-msg.rel
../../../../../../leon1/lib/no-mp.rel ../../../../../../leon1/lib/no-part.rel
../../../../../../leon1/lib/no-signal.rel ../../../../../../leon1/lib/no-timer.rel
../../../../../../leon1/lib/no-rtmon.rel
../../../../../../leon1/lib/librtemsall.a(threadclose.o): In function `_Thread_Close':
/home/jiri/src/rtemsdev/build/sparc-rtems/c/leon1/exec/score/src/../../../../../../../rtems-4.5.0-jg-2/c/src/exec/score/src/threadclose.c:57:
undefined reference to `_Thread_Is_allocated_fp'
/home/jiri/src/rtemsdev/build/sparc-rtems/c/leon1/exec/score/src/../../../../../../../rtems-4.5.0-jg-2/c/src/exec/score/src/threadclose.c:58:
undefined reference to `_Thread_Deallocate_fp'
collect2: ld returned 1 exit status
Jiri.
--
-----------------------------------------------------------------------
Gaisler Research, Stora Nygatan 13, 411 08 Goteborg, Sweden, 073-9927100
email: jiri at gaisler.com, home page: http://www.gaisler.com
-----------------------------------------------------------------------
More information about the users
mailing list