[yocto] Debugging a build issue in an isolated enviroment

Alex Kiernan alex.kiernan at hivehome.com
Wed Nov 1 12:05:11 PDT 2017


On 1 November 2017 at 17:38, Alan Martinovic <alan.martinovic at senic.com>
wrote:

> I'm just upgrading to pyro and have some issues with u-boot-fw-utils.
>
> The error fails at do_compile stage which looks like this:
>
>     do_compile () {
>             oe_runmake ${UBOOT_MACHINE}
>             oe_runmake env
>     }
>
>
> The error is:
>
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 16 CROSS_COMPILE=arm-senic-linux-gnueabi-
> CC=arm-senic-linux-gnueabi-       gcc  -march=armv7ve -mfpu=neon-vfpv4
>  -mfloat-abi=hard -mcpu=cortex-a7
> --sysroot=/home/alan/senic-os-update/build/tmp-glibc/work/
> senic_hub_beta-senic-linux-gnueabi/u-boot-fw-utils-senic/
> v2017.03+gitAUTOINC+5233f17333-r0/recipe-sysroot
>  -O2 -pipe -g -feliminate-unused-debug-types
> -fdebug-prefix-map=/home/alan/senic-os-update/build/tmp-
> glibc/work/senic_hub_beta-senic-linux-gnueabi/u-boot-fw-
> utils-senic/v2017.03+gitAUTOINC+5233f17333-r0=/usr/
> src/debug/u-boot-fw-utils-senic/v2017.03+gitAUTOINC+5233f17333-r0
> -fdebug-prefix-map=/home/alan/senic-os-update/build/tmp-
> glibc/work/senic_hub_beta-senic-linux-gnueabi/u-boot-fw-
> utils-senic/v2017.03+gitAUTOINC+5233f17333-r0/recipe-sysroot-native=
> -fdebug-prefix-map=/home/alan/senic-os-update/build/tmp-
> glibc/work/senic_hub_beta-senic-linux-gnueabi/u-boot-fw-
> utils-senic/v2017.03+gitAUTOINC+5233f17333-r0/recipe-sysroot=
>  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed V=1
> | ERROR: oe_runmake failed
> | make -f ./Makefile silentoldconfig
> | make -f ./scripts/Makefile.build obj=scripts/basic
> |   cc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer      -o scripts/basic/fixdep
> scripts/basic/fixdep.c
> | /bin/sh: 1: cc: not found
>
>
> I would assume this is a to specific error to ask help about. It seems
> that the compiler isn't being called correctly (it's called as cc,
> which isn't the full compiler name).
> Suggestions are welcome but that isn't the reason for my post.
>
>
Guessing... apply this in your recipe:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-bsp/u-boot/files/default-gcc.patch?h=pyro

-- 
Alex Kiernan
Senior Engineering Manager

-- 
hivehome.com <http://www.hivehome.com>



Hive | London | Cambridge | Houston | Toronto
The information contained in or attached to this email is confidential and 
intended only for the use of the individual(s) to which it is addressed. It 
may contain information which is confidential and/or covered by legal 
professional or other privilege. The views expressed in this email are not 
necessarily the views of Centrica plc, and the company, its directors, 
officers or employees make no representation or accept any liability for 
their accuracy or completeness unless expressly stated to the contrary. 
Centrica Connected Home Limited (company no: 5782908), registered in 
England and Wales with its registered office at Millstream, Maidenhead 
Road, Windsor, Berkshire SL4 5GD.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171101/d2cf65a7/attachment.html>


More information about the yocto mailing list