cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Voyager
Voyager
577 Views
Registered: ‎07-28-2008

xapp1306 iperf build failure targeting r5

Followed: http://www.wiki.xilinx.com/x3.%20XAPP1306

 

Build targeting A53 works, but R5 fails with:

Building target: xapp1306_r5_iperf.elf
Invoking: ARM R5 gcc linker
armr5-none-eabi-gcc -Wl,-T -Wl,../src/lscript.ld -L../../xapp1306_fsbl_bsp/psu_cortexr5_0/lib -o "xapp1306_r5_iperf.elf"  ./src/dispatch.o ./src/echo.o ./src/http_response.o ./src/main.o ./src/platform.o ./src/platform_fs.o ./src/platform_gpio.o ./src/prot_malloc.o ./src/rxperf.o ./src/tftpserver.o ./src/tftputils.o ./src/txperf.o ./src/urxperf.o ./src/utxperf.o ./src/web_utils.o ./src/webserver.o   -Wl,--start-group,-lxil,-lgcc,-lc,--end-group -Wl,--start-group,-lxilffs,-lxil,-lgcc,-lc,--end-group -Wl,--start-group,-lxilsecure,-lxil,-lgcc,-lc,--end-group -Wl,--start-group,-lxilpm,-lxil,-lgcc,-lc,--end-group -Wl,--start-group,-lxil,-llwip4,-lgcc,-lc,--end-group
lto1: fatal error: bytecode stream generated with LTO version 5.1 instead of the expected 4.0
compilation terminated.
lto-wrapper: fatal error: armr5-none-eabi-gcc returned 1 exit status
compilation terminated.
/opt/Xilinx/SDK/2017.1/gnu/armr5/lin/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld: error: lto-wrapper failed
makefile:36: recipe for target 'xapp1306_r5_iperf.elf' failed
collect2: error: ld returned 1 exit status
make: *** [xapp1306_r5_iperf.elf] Error 1

Any suggestion?

0 Kudos
0 Replies