AnsweredAssumed Answered

Build error on IMX8MEVK

Question asked by SUNNY VAN on Nov 28, 2018

Dear all,

 I tried to follow the instruction https://www.nxp.com/docs/en/user-guide/i.MX_Yocto_Project_Useand i.MX_Yocto_Project_User's_Guide to build a imx8qevk image,I followed all the instruction from the beginning step by step,however,when i ran bitbake fsl-image-qt5-validation-imx,it gave errors as below:

 

van@ubuntu:~/imx-yocto-bsp/build-wayland$ bitbake fsl-image-qt5-validation-imx

NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################################################################################| Time: 0:00:01
Loaded 3068 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mqevk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "4.9.51-mx8-ga"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:8298428c032ec9bc5b514d0c194a16cf371475ea"
meta-oe
meta-multimedia = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-freescale = "HEAD:05681fdf8298bb441c15135eae424c7601b07e98"
meta-freescale-3rdparty = "HEAD:e55167c3c2770c07a475342f99cc2a3a23fbfa0c"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-bsp
meta-sdk = "HEAD:0649ff215e8f9b79ecd3b813d672547aa45c086b"
meta-browser = "HEAD:678706cb43fb8576ff7b88bfb612993b8542724d"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-qt5 = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"

Initialising tasks: 100% |######################################################################################################| Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: binutils-cross-aarch64-2.27-r0 do_compile: oe_runmake failed
ERROR: binutils-cross-aarch64-2.27-r0 do_compile: Function failed: do_compile (log file is located at /home/van/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/binutils-cross-aarch64/2.27-r0/temp/log.do_compile.2719)
ERROR: Logfile of failure stored in: /home/van/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/binutils-cross-aarch64/2.27-r0/temp/log.do_compile.2719

Attachments is log files,I changed the operating system version(Ubuntu 18.04,12.04),  but the compilation still failed.

How can I solve this problem? 

Attachments

Outcomes