From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4993CE00D2F; Tue, 29 Sep 2015 10:43:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8F925E00747 for ; Tue, 29 Sep 2015 10:43:20 -0700 (PDT) Received: from [192.168.178.14] (chello062178118086.5.14.vie.surfer.at [62.178.118.86]) by ptmx.org (Postfix) with ESMTPSA id 5CA3C206AE for ; Tue, 29 Sep 2015 19:43:19 +0200 (CEST) To: meta-freescale@yoctoproject.org From: Carlos Rafael Giani Message-ID: <560ACDB6.2040201@pseudoterminal.org> Date: Tue, 29 Sep 2015 19:43:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Subject: [meta-fsl-arm-extra] GCC 5 errors while building boundary kernel 3.10.53 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 17:43:23 -0000 X-Groupsio-MsgNum: 16038 Content-Type: multipart/mixed; boundary="------------000805050706020805010108" --------------000805050706020805010108 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, I tried to build the boundary kernel 3.10.53 with the latest Yocto master version, which has moved to GCC 5. But this fails, because it can't find a gcc5 specific header: tmp/work-shared/nitrogen6x/kernel-source/include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory I attached the full Yocto compilation log. Given that 3.10 is becoming rather old, it would perhaps make sense to move to a newer version, instead of just fixing this one issue. Carlos --------------000805050706020805010108 Content-Type: text/x-log; name="yocto-master-linux-boundary-compile-error.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="yocto-master-linux-boundary-compile-error.log" DEBUG: Executing shell function do_compile NOTE: make -j 4 uImage CC=arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd LD=arm-poky-linux-gnueabi-ld.bfd LOADADDR=0x10008000 GEN /home/build/BuildSetups/yocto-master/poky/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-boundary/3.10.53-r0/build/Makefile scripts/kconfig/conf --silentoldconfig Kconfig GEN /home/build/BuildSetups/yocto-master/poky/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-boundary/3.10.53-r0/build/Makefile WRAP arch/arm/include/generated/asm/auxvec.h WRAP arch/arm/include/generated/asm/bitsperlong.h WRAP arch/arm/include/generated/asm/cputime.h WRAP arch/arm/include/generated/asm/current.h CHK include/generated/uapi/linux/version.h WRAP arch/arm/include/generated/asm/emergency-restart.h UPD include/generated/uapi/linux/version.h WRAP arch/arm/include/generated/asm/errno.h WRAP arch/arm/include/generated/asm/exec.h WRAP arch/arm/include/generated/asm/ioctl.h WRAP arch/arm/include/generated/asm/ipcbuf.h WRAP arch/arm/include/generated/asm/irq_regs.h WRAP arch/arm/include/generated/asm/kdebug.h WRAP arch/arm/include/generated/asm/local.h WRAP arch/arm/include/generated/asm/local64.h WRAP arch/arm/include/generated/asm/msgbuf.h WRAP arch/arm/include/generated/asm/param.h WRAP arch/arm/include/generated/asm/parport.h WRAP arch/arm/include/generated/asm/poll.h WRAP arch/arm/include/generated/asm/resource.h WRAP arch/arm/include/generated/asm/sections.h WRAP arch/arm/include/generated/asm/segment.h WRAP arch/arm/include/generated/asm/sembuf.h WRAP arch/arm/include/generated/asm/serial.h WRAP arch/arm/include/generated/asm/shmbuf.h WRAP arch/arm/include/generated/asm/siginfo.h WRAP arch/arm/include/generated/asm/sizes.h WRAP arch/arm/include/generated/asm/socket.h WRAP arch/arm/include/generated/asm/sockios.h WRAP arch/arm/include/generated/asm/termbits.h WRAP arch/arm/include/generated/asm/termios.h WRAP arch/arm/include/generated/asm/timex.h WRAP arch/arm/include/generated/asm/trace_clock.h WRAP arch/arm/include/generated/asm/types.h WRAP arch/arm/include/generated/asm/unaligned.h Using /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source as source for kernel CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/genksyms/genksyms.o HOSTCC scripts/dtc/checks.o CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s In file included from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/compiler.h:54:0, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/uapi/linux/stddef.h:1, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/stddef.h:4, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/uapi/linux/posix_types.h:4, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/uapi/linux/types.h:13, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/types.h:5, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/mod_devicetable.h:11, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/scripts/mod/devicetable-offsets.c:2: /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory compilation terminated. make[4]: *** [scripts/mod/devicetable-offsets.s] Error 1 make[3]: *** [scripts/mod] Error 2 make[3]: *** Waiting for unfinished jobs.... HOSTCC scripts/dtc/data.o SHIPPED scripts/genksyms/lex.lex.c SHIPPED scripts/dtc/dtc-lexer.lex.c SHIPPED scripts/genksyms/keywords.hash.c SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED scripts/genksyms/parse.tab.h SHIPPED scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc.o SHIPPED scripts/genksyms/parse.tab.c HOSTCC scripts/genksyms/lex.lex.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/livetree.o Generating include/generated/mach-types.h CC kernel/bounds.s In file included from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/compiler.h:54:0, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/uapi/linux/stddef.h:1, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/stddef.h:4, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/uapi/linux/posix_types.h:4, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/uapi/linux/types.h:13, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/types.h:5, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/page-flags.h:8, from /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/kernel/bounds.c:9: /home/build/BuildSetups/yocto-master/poky/build/tmp/work-shared/nitrogen6x/kernel-source/include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory compilation terminated. make[3]: *** [kernel/bounds.s] Error 1 make[2]: *** [prepare0] Error 2 make[2]: *** Waiting for unfinished jobs.... HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/util.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTLD scripts/genksyms/genksyms HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc make[2]: *** [scripts] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 WARNING: exit code 1 from a shell command. ERROR: oe_runmake failed ERROR: Function failed: do_compile (log file is located at /home/build/BuildSetups/yocto-master/poky/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-boundary/3.10.53-r0/temp/log.do_compile.11165) --------------000805050706020805010108--