AnsweredAssumed Answered

Error while build Yocto fsl-image-qt5

Question asked by Egbert Liu on Sep 20, 2019
Latest reply on Sep 23, 2019 by Yuri Muhin

Hello all.

I try to build fsl-image-qt5 using Freescale Yocto Project User's Guide. The problem occurs when I run build scenario:

MACHINE=pico-imx8mm source edm-setup-release.sh -b build-xwayland-imx8mm

bitbake fsl-image-qt5-validation-imx

 

The board I used is imx8mm, my host is Ubuntu of Virtualbox version in ubuntu 16.04 or 18.04 in install SD card (400G) storage device.

 

Then the installation process produces the following problem 

****************************************************************************************************************************************

build-xwayland-imx8mm$ bitbake fsl-image-qt5-validation-imx
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |############################################| Time: 0:00:02
Loaded 3501 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:03
Parsing of 2579 .bb files complete (2576 cached, 3 parsed). 3501 targets, 228 skipped, 8 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime ptpd (ptpd, ptpd-qoriq)
Consider defining a PREFERRED_RPROVIDER entry to match ptpd
NOTE: Multiple providers are available for runtime ptpd-dev (ptpd, ptpd-qoriq)
Consider defining a PREFERRED_RPROVIDER entry to match ptpd-dev

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "pico-imx8mm"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:c9bd4984f8f471ca2c43052714f4413ba99cf171"
meta-oe
meta-multimedia = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale = "HEAD:27ca94f8a4336790ba117b4298566f6820e7e74c"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-edm-bsp-release = "HEAD:04c1d83ff2842f96c15b43ddaeedcb4aa349fa04"
meta-bsp
meta-sdk = "HEAD:238a429e4eedd2f4b26876c2e2a6a9b3ec4e434c"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"

Initialising tasks: 100% |#######################################| Time: 0:00:12
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-tn-imx-4.14.98-r1 do_compile: oe_runmake failed
ERROR: linux-tn-imx-4.14.98-r1 do_compile: Function failed: do_compile (log file is located at /media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/temp/log.do_compile.23810)
ERROR: Logfile of failure stored in: /media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/temp/log.do_compile.23810
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 HOSTCC=gcc -isystem/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/usr/include -O2 -pipe -L/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/usr/lib -L/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/lib -Wl,-rpath-link,/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/lib -Wl,-rpath,/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/usr/lib -Wl,-rpath,/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/lib -Wl,-O1 HOSTCPP=gcc -E Image CC=aarch64-poky-linux-gcc -fuse-ld=bfd -fdebug-prefix-map=/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1=/usr/src/debug/linux-tn-imx/4.14.98-r1 -fdebug-prefix-map=/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot= -fdebug-prefix-map=/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native= -fdebug-prefix-map=/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work-shared/pico-imx8mm/kernel-source=/usr/src/kernel -ffile-prefix-map=/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/git=/kernel-source/ LD=aarch64-poky-linux-ld.bfd LOADADDR=20008000
| GEN ./Makefile
| scripts/kconfig/conf --silentoldconfig Kconfig
| arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
| CHK include/config/kernel.release
| UPD include/config/kernel.release
| Using /media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work-shared/pico-imx8mm/kernel-source as source for kernel
| GEN ./Makefile
| WRAP arch/arm64/include/generated/uapi/asm/errno.h
| WRAP arch/arm64/include/generated/uapi/asm/ioctl.h
| WRAP arch/arm64/include/generated/uapi/asm/ioctls.h
| WRAP arch/arm64/include/generated/uapi/asm/ipcbuf.h
| WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
| WRAP arch/arm64/include/generated/uapi/asm/mman.h
| WRAP arch/arm64/include/generated/uapi/asm/msgbuf.h
| WRAP arch/arm64/include/generated/uapi/asm/poll.h
| WRAP arch/arm64/include/generated/uapi/asm/resource.h
| WRAP arch/arm64/include/generated/uapi/asm/sembuf.h
| WRAP arch/arm64/include/generated/uapi/asm/shmbuf.h
| WRAP arch/arm64/include/generated/uapi/asm/socket.h
| WRAP arch/arm64/include/generated/uapi/asm/sockios.h
| WRAP arch/arm64/include/generated/uapi/asm/swab.h
| WRAP arch/arm64/include/generated/uapi/asm/termbits.h
| WRAP arch/arm64/include/generated/uapi/asm/termios.h
| WRAP arch/arm64/include/generated/uapi/asm/types.h
| WRAP arch/arm64/include/generated/asm/bugs.h
| WRAP arch/arm64/include/generated/asm/clkdev.h
| WRAP arch/arm64/include/generated/asm/delay.h
| WRAP arch/arm64/include/generated/asm/div64.h
| WRAP arch/arm64/include/generated/asm/dma.h
| WRAP arch/arm64/include/generated/asm/dma-contiguous.h
| WRAP arch/arm64/include/generated/asm/early_ioremap.h
| WRAP arch/arm64/include/generated/asm/emergency-restart.h
| WRAP arch/arm64/include/generated/asm/hw_irq.h
| WRAP arch/arm64/include/generated/asm/irq_regs.h
| WRAP arch/arm64/include/generated/asm/kdebug.h
| WRAP arch/arm64/include/generated/asm/kmap_types.h
| WRAP arch/arm64/include/generated/asm/local.h
| WRAP arch/arm64/include/generated/asm/local64.h
| WRAP arch/arm64/include/generated/asm/mcs_spinlock.h
| WRAP arch/arm64/include/generated/asm/mm-arch-hooks.h
| WRAP arch/arm64/include/generated/asm/msi.h
| WRAP arch/arm64/include/generated/asm/preempt.h
| WRAP arch/arm64/include/generated/asm/rwsem.h
| WRAP arch/arm64/include/generated/asm/segment.h
| WRAP arch/arm64/include/generated/asm/serial.h
| WRAP arch/arm64/include/generated/asm/set_memory.h
| WRAP arch/arm64/include/generated/asm/sizes.h
| WRAP arch/arm64/include/generated/asm/switch_to.h
| WRAP arch/arm64/include/generated/asm/trace_clock.h
| WRAP arch/arm64/include/generated/asm/unaligned.h
| WRAP arch/arm64/include/generated/asm/user.h
| WRAP arch/arm64/include/generated/asm/vga.h
| WRAP arch/arm64/include/generated/asm/xor.h
| CHK include/generated/uapi/linux/version.h
| UPD include/generated/uapi/linux/version.h
| CHK include/generated/utsrelease.h
| UPD include/generated/utsrelease.h
| HOSTCC scripts/basic/bin2c
| CC kernel/bounds.s
| CHK include/generated/bounds.h
| UPD include/generated/bounds.h
| CHK include/generated/timeconst.h
| UPD include/generated/timeconst.h
| CC arch/arm64/kernel/asm-offsets.s
| CHK include/generated/asm-offsets.h
| UPD include/generated/asm-offsets.h
| CALL /media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work-shared/pico-imx8mm/kernel-source/scripts/checksyscalls.sh
| LDS arch/arm64/kernel/vdso/vdso.lds
| VDSOA arch/arm64/kernel/vdso/gettimeofday.o
| VDSOA arch/arm64/kernel/vdso/note.o
| VDSOA arch/arm64/kernel/vdso/sigreturn.o
| VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
| /media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/ld.bfd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/ld.bfd)
| collect2: error: ld returned 1 exit status
| /media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work-shared/pico-imx8mm/kernel-source/arch/arm64/kernel/vdso/Makefile:35: recipe for target 'arch/arm64/kernel/vdso/vdso.so.dbg' failed
| make[3]: *** [arch/arm64/kernel/vdso/vdso.so.dbg] Error 1
| ERROR: oe_runmake failed
| arch/arm64/Makefile:160: recipe for target 'vdso_prepare' failed
| make[2]: *** [vdso_prepare] Error 2
| Makefile:146: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:24: recipe for target '__sub-make' failed
| make: *** [__sub-make] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/build-xwayland-imx8mm/tmp/work/pico_imx8mm-poky-linux/linux-tn-imx/4.14.98-r1/temp/log.do_compile.23810)
ERROR: Task (/media/rank/e3a1085b-46a9-43b4-94c7-8bd3093abf8f/edm_yocto/sources/meta-edm-bsp-release/recipes-kernel/linux/linux-tn-imx_4.14.98.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2020 tasks of which 2012 didn't need to be rerun and 1 failed.

**********************************************************************************************************************************

 

When the compiler has an error, I try to clean up the build and reprocess the bitbake fsl-image-qt5-validation-imx step.

But the result is still a failure.

 

should I change something?

thank you.

Outcomes