Unable to build RKI

Deval Shah deval.maker at gmail.com
Wed Aug 12 18:28:58 UTC 2015


Hello,
I am following this tutorial for raspberry pi B+.
http://alanstechnotes.blogspot.in/2013/03/setting-up-rtems-development.html
I am able to run ticker program on raspberry pi, but unable to build rki.

make command:
make ARCH=arm-rtems4.11 BSP=raspberrypi
RTEMS_TOOL_BASE=$HOME/development/rtems/compiler/4.11/
RTEMS_BSP_BASE=$HOME/development/rtems/build-rtems-rpi


make gives error at this command:

arm-rtems4.11-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard
-mtune=cortex-a7 --pipe -B/opt/rtems-4.11/arm-rtems4.11/raspberrypi/lib
-specs bsp_specs -qrtems -Wall -o
legacy-build/arm-rtems4.11-raspberrypi/rki.elf
legacy-build/arm-rtems4.11-raspberrypi/init.o
legacy-build/arm-rtems4.11-raspberrypi/rtems_net.o
legacy-build/arm-rtems4.11-raspberrypi/rtems_net_svc.o
legacy-build/arm-rtems4.11-raspberrypi/local_shell_cmds.o
legacy-build/arm-rtems4.11-raspberrypi/filesys.o
legacy-build/arm-rtems4.11-raspberrypi/ramdisk.o
legacy-build/arm-rtems4.11-raspberrypi/nvramdisk.o
legacy-build/arm-rtems4.11-raspberrypi/task_cmd.o
legacy-build/arm-rtems4.11-raspberrypi/hello_cmd.o
legacy-build/arm-rtems4.11-raspberrypi/dhrystone_cmd.o
legacy-build/arm-rtems4.11-raspberrypi/whetstone_cmd.o
legacy-build/arm-rtems4.11-raspberrypi/benchmarks.o
legacy-build/arm-rtems4.11-raspberrypi/tarfile.o -lm


some part of error from make command:
...
...
/home/deval/development/rtems/4.11/lib/gcc/arm-rtems4.11/4.9.3/../../../../arm-rtems4.11/bin/ld:
error: legacy-build/arm-rtems4.11-raspberrypi/rki.elf uses VFP register
arguments,
/opt/rtems-4.11/arm-rtems4.11/raspberrypi/lib/librtemscpu.a(libposix_a-pthreadkill.o)
does not
/home/deval/development/rtems/4.11/lib/gcc/arm-rtems4.11/4.9.3/../../../../arm-rtems4.11/bin/ld:
failed to merge target specific data of file
/opt/rtems-4.11/arm-rtems4.11/raspberrypi/lib/librtemscpu.a(libposix_a-pthreadkill.o)
/home/deval/development/rtems/4.11/lib/gcc/arm-rtems4.11/4.9.3/../../../../arm-rtems4.11/bin/ld:
error: legacy-build/arm-rtems4.11-raspberrypi/rki.elf uses VFP register
arguments,
/opt/rtems-4.11/arm-rtems4.11/raspberrypi/lib/librtemscpu.a(libposix_a-pthreadself.o)
does not
/home/deval/development/rtems/4.11/lib/gcc/arm-rtems4.11/4.9.3/../../../../arm-rtems4.11/bin/ld:
failed to merge target specific data of file
/opt/rtems-4.11/arm-rtems4.11/raspberrypi/lib/librtemscpu.a(libposix_a-pthreadself.o)
legacy-build/arm-rtems4.11-raspberrypi/init.o:(.rodata+0x20): undefined
reference to `_CPU_Thread_Idle_body'
collect2: error: ld returned 1 exit status
make: *** [rki.elf] Error 1

error search on google shows some issue with soft floating points and hard
floating points. I am unable to understand that. Any help ??


ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20150812/04a2c277/attachment.html>


More information about the users mailing list