IMX6UL SUMO: linux-imx_4.14.98.bb:do_compile fail due to arm-poky-linux-gnueabi-gcc: Command not found error


sikumar3@...
 

Hi,

My hardware is based on IMX6ULEVK.

I have pulled yocto SUMO version (imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml) and added few layers in the sources/base/conf/bblayer.conf file. I have also introduced new machine type imx6uloib which is the clone of imxulevk

project sources/base/

diff --git a/conf/bblayers.conf b/conf/bblayers.conf

index 092d58b..f803796 100644

--- a/conf/bblayers.conf

+++ b/conf/bblayers.conf

@@ -14,4 +14,7 @@ BBLAYERS = " \

   ${BSPDIR}/sources/meta-freescale \

   ${BSPDIR}/sources/meta-freescale-3rdparty \

   ${BSPDIR}/sources/meta-freescale-distro \

+  ${BSPDIR}/sources/meta-inode-eval \

+  ${BSPDIR}/sources/meta-inode-oib \

+  ${BSPDIR}/sources/meta-inode-release \


I am getting build errors when trying to build.

DISTRO=fsl-imx-xwayland MACHINE=imx6uloib source fsl-setup-release.sh -b build-ul
bitbake core-image-base

ERROR: linux-imx-4.14.98-r0 do_compile: oe_runmake failed
ERROR: linux-imx-4.14.98-r0 do_compile: Function failed: do_compile (log file is located at /nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/temp/log.do_compile.2640)
ERROR: Logfile of failure stored in: /nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/temp/log.do_compile.2640
Log data follows:
| DEBUG: Executing shell function do_compile
| /nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/temp/run.do_compile.2640: line 185: arm-poky-linux-gnueabi-gcc: command not found
| NOTE: make -j 16 HOSTCC=gcc  -isystem/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot-native/usr/lib -L/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot-native/lib -Wl,-rpath,/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot-native/lib -Wl,-O1 HOSTCPP=gcc  -E ARCH=arm ARCH=arm zImage CC=arm-poky-linux-gnueabi-gcc   -fuse-ld=bfd -fdebug-prefix-map=/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0=/usr/src/debug/linux-imx/4.14.98-r0 -fdebug-prefix-map=/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot= -fdebug-prefix-map=/nobackup/sikumar3/inode_sumo/build-ul/tmp/work/imx6uloib-poky-linux-gnueabi/linux-imx/4.14.98-r0/recipe-sysroot-native=  -fdebug-prefix-map=/nobackup/sikumar3/inode_sumo/build-ul/tmp/work-shared/imx6uloib/kernel-source=/usr/src/kernel   LD=arm-poky-linux-gnueabi-ld.bfd   LOADADDR=0x10008000
| /nobackup/sikumar3/inode_sumo/build-ul/tmp/work-shared/imx6uloib/kernel-source/scripts/gcc-version.sh: line 26: arm-poky-linux-gnueabi-gcc: command not found
| /nobackup/sikumar3/inode_sumo/build-ul/tmp/work-shared/imx6uloib/kernel-source/scripts/gcc-version.sh: line 27: arm-poky-linux-gnueabi-gcc: command not found
| make[2]: arm-poky-linux-gnueabi-gcc: Command not found
| make[2]: arm-poky-linux-gnueabi-gcc: Command not found
| make[2]: arm-poky-linux-gnueabi-gcc: Command not found

I see that arm-poky-linux-gnueabi-gcc is present in /build/tmp/work/ directory. But, i am not sure why it is not able to pick it up.
 
 

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.