From: "Eystein Måløy Stenberg" <eystein@mender.io>
To: Bruce Ashfield <bruce.ashfield@windriver.com>, yocto@yoctoproject.org
Subject: Re: poky master issue with kernel and gcc version
Date: Thu, 2 Jun 2016 09:33:28 -0700 [thread overview]
Message-ID: <57505FD8.4070009@mender.io> (raw)
In-Reply-To: <22017b4d-f2cf-e56f-44da-780ce2dc0a41@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]
On 01/06/16 19:53, Bruce Ashfield wrote:
> On 2016-06-01 10:48 PM, Eystein Måløy Stenberg wrote:
>> Hi,
>>
>> I am trying to build a vexpress-qemu machine targe from poky's master
>> branch, but I get this error compiling the kernel:
>>
>> |
>> /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/linux/compiler-gcc.h:121:30:
>>
>> fatal error: linux/compiler-gcc6.h: No such file or directory
>>
>> Apparently it is picking gcc 6.1 and kernel 4.1.24, which do not play
>> well together.
>>
>> The best approach is probably to use kernel 4.2 or newer. Is there a bug
>> filed for this? I would think this is affecting quite a lot of people as
>> I am not doing any special configuration for my build.
>
> We've already fixed all the gcc6.x builds for the supported machines
> in linux-yocto 4.1/4.4.
>
> What kernel tree is that building ? upstream ? linux-yocto ? And if
> linux-yocto, what branch ?
It is building linux-yocto 4.1. I have attached the compilation log, in
case that helps.
What I am doing is simply building a vexpress-qemu machine with poky's
master, so it should be quite straightforward to reproduce.
In particular, I am following our projects guide for creating a Mender
build at
https://github.com/mendersoftware/meta-mender/blob/master/README.md, but
I don't think it reaches the Mender-specific layers.
Thanks for the help and let me know if there's anything else you need.
>
> Bruce
>
>>
>> Thank you.
>>
>
--
Eystein
[-- Attachment #2: log.do_compile.14419 --]
[-- Type: text/plain, Size: 2298 bytes --]
DEBUG: Executing shell function do_compile
NOTE: make -j 4 zImage CC=arm-poky-linux-gnueabi-gcc -fuse-ld=bfd LD=arm-poky-linux-gnueabi-ld.bfd LOADADDR=0x60800000
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source as source for kernel
HOSTCC scripts/conmakehash
HOSTCC scripts/sortextable
MKELF scripts/mod/elfconfig.h
CC scripts/mod/devicetable-offsets.s
HOSTCC scripts/mod/sumversion.o
In file included from /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/linux/compiler.h:54:0,
from /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/uapi/linux/stddef.h:1,
from /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/linux/stddef.h:4,
from /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/uapi/linux/posix_types.h:4,
from /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/uapi/linux/types.h:13,
from /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/linux/types.h:5,
from /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/linux/mod_devicetable.h:11,
from /home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/scripts/mod/devicetable-offsets.c:2:
/home/yocto/poky/build/tmp/work-shared/vexpress-qemu/kernel-source/include/linux/compiler-gcc.h:121:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
make[4]: *** [scripts/mod/devicetable-offsets.s] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[1]: *** [sub-make] Error 2
make: *** [__sub-make] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/yocto/poky/build/tmp/work/vexpress_qemu-poky-linux-gnueabi/linux-yocto/4.1.24+gitAUTOINC+46bb64d605_86093f78f6-r0/temp/log.do_compile.14419)
next prev parent reply other threads:[~2016-06-02 16:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 2:48 poky master issue with kernel and gcc version Eystein Måløy Stenberg
2016-06-02 2:53 ` Bruce Ashfield
2016-06-02 16:33 ` Eystein Måløy Stenberg [this message]
2016-06-02 17:06 ` Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57505FD8.4070009@mender.io \
--to=eystein@mender.io \
--cc=bruce.ashfield@windriver.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.