Bad version of gcc?
I have created a Ubuntu 1604 using VirtualBox on a Windows10 machine, and installed Vivado HLx 2017.2 webpack.
When running Makefile.x86, an error terminated the run:
-------------- snip -------------
#
# configuration written to .config
#
make[1]: Leaving directory '/home/perf/RedPitaya/tmp/u-boot-xlnx-redpitaya-v2016.4'
make -C tmp/u-boot-xlnx-redpitaya-v2016.4 arch=ARM CFLAGS="-O2 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard"
make[1]: Entering directory '/home/perf/RedPitaya/tmp/u-boot-xlnx-redpitaya-v2016.4'
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
GEN spl/include/autoconf.mk
CHK include/config/uboot.release
UPD include/config/uboot.release
CHK include/generated/version_autogenerated.h
UPD include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CC lib/asm-offsets.s
lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
------------ snip ---------------
A possible cause is that the called gcc does not support the armv5 switch. How do I change this?
Makefile.x86 in ubuntu 1604 Vivado 2017.2
-
- Posts: 89
- Joined: Tue Mar 29, 2016 7:41 pm
Re: Makefile.x86 in ubuntu 1604 Vivado 2017.2
perhaps you have forgotten to source the settings.sh script.
This script will prepare the environment:
################################################################################
# setup cross compiler toolchain
################################################################################
export CROSS_COMPILE=arm-linux-gnueabihf-
It will also setup Xilinxes Vivado, if it is already installed.
Otherwise follow this instructions for software requirements.
This script will prepare the environment:
################################################################################
# setup cross compiler toolchain
################################################################################
export CROSS_COMPILE=arm-linux-gnueabihf-
It will also setup Xilinxes Vivado, if it is already installed.
Otherwise follow this instructions for software requirements.
-
- Posts: 2
- Joined: Tue Feb 27, 2018 2:13 pm
Re: Makefile.x86 in ubuntu 1604 Vivado 2017.2
Thanks, yes - that was my problem - i restarted and forgot to run settings.sh.
Now, the Makefile.x86 ran to completion.
Now, the Makefile.x86 ran to completion.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: Bing [Bot] and 94 guests