compiling head for xilinx_zynq_zedboard BSP, ld:linkcmds.base:68: syntax error

Giovanni Macciocu G.Macciocu at sron.nl
Mon Jan 20 11:06:31 UTC 2014


Hi All,

I'm trying to compile todays RTEMS head for the BSP 'xilinx_zynq_zedboard'. I've used the following configure options

$ ../configure --target=arm-rtems4.11 --enable-rtemsbsp=xilinx_zynq_zedboard --prefix=/opt/rtems-4.11
$ make

This does not succesfully compile (linker error).
The resulting output:

gmake[6]: Entering directory `/data/giovanni/rtems-4.11/archive/git_clone_20jan2014/rtems/build-rtems/arm-rtems4.11/c/xilinx_zynq_zedboard/testsuites/samples/hello'
arm-rtems4.11-gcc -B../../../../../xilinx_zynq_zedboard/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../c/src/../../testsuites/samples/hello -I..     -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o ../../../../../../../c/src/../../testsuites/samples/hello/init.c
mv -f .deps/init.Tpo .deps/init.Po
arm-rtems4.11-gcc -B../../../../../xilinx_zynq_zedboard/lib/ -specs bsp_specs -qrtems -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs    -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9   -o hello.exe init.o 
/opt/rtems-4.11/lib/gcc/arm-rtems4.11/4.8.1/../../../../arm-rtems4.11/bin/ld:linkcmds.base:68: syntax error
collect2: error: ld returned 1 exit status
gmake[6]: *** [hello.exe] Error 1
gmake[6]: Leaving directory `/data/giovanni/rtems-4.11/archive/git_clone_20jan2014/rtems/build-rtems/arm-rtems4.11/c/xilinx_zynq_zedboard/testsuites/samples/hello'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/data/giovanni/rtems-4.11/archive/git_clone_20jan2014/rtems/build-rtems/arm-rtems4.11/c/xilinx_zynq_zedboard/testsuites/samples'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/data/giovanni/rtems-4.11/archive/git_clone_20jan2014/rtems/build-rtems/arm-rtems4.11/c/xilinx_zynq_zedboard/testsuites/samples'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/data/giovanni/rtems-4.11/archive/git_clone_20jan2014/rtems/build-rtems/arm-rtems4.11/c/xilinx_zynq_zedboard/testsuites'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/data/giovanni/rtems-4.11/archive/git_clone_20jan2014/rtems/build-rtems/arm-rtems4.11/c/xilinx_zynq_zedboard'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/data/giovanni/rtems-4.11/archive/git_clone_20jan2014/rtems/build-rtems/arm-rtems4.11/c'

Am I missing something here or is the current head broken for the xilinx_zynq_zedboard BSP.
Earlier heads compile without any issues, while using the same configure parameters.

Regards,

Giovanni Macciou, Software Design Engineer
SRON Netherlands Institute for Space Research







More information about the devel mailing list