From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i053D-00087V-RK for ptxdist@pengutronix.de; Tue, 20 Aug 2019 16:23:56 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id A6F2B4824 for ; Tue, 20 Aug 2019 16:24:47 +0200 (CEST) Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GV-kZDSxH244 for ; Tue, 20 Aug 2019 16:24:43 +0200 (CEST) From: Alexander Dahl Date: Tue, 20 Aug 2019 16:23:47 +0200 Message-ID: <2123970.gCTCJ976mJ@ada> Subject: [ptxdist] kernel compile fail with icecc, IKCONFIG set, and kernel v5.0 or later List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Thomas Pfahl Hei hei, while upgrading different BSPs to kernel v5.2.x I came accross a special build error. Affected is the kernel.compile stage. This happens with different ptxdist versions (tested with 2018.05.0, 2019.01.0, 2019.07.0, 2019.08.0) and at least with kernel v5.1 and v5.2 (IIRC kernels at least up to v4.19 were not affected) and CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC set (as in DistroKit master). We use icecc here, my host system is still Debian GNU/Linux 9 (stretch) with icecc version 1.0.1. If one of those three things is not present, this build error does not occur: kernel, icecc, that config option. I could reproduce this with a recent DistroKit BSP and kernels v5.1 and v5.2. Like this: * checkout recent distrokit * select platform v7a * activate icecc (ptxdist setup) * `ptxdist compile kernel` At least the first build run fails, later runs might succeed at random. Output is like this: ---------------------- target: kernel.compile ---------------------- make[1]: Entering directory '/home/adahl/Work/bsp/isNet_Lite_phoenix-contact/ platform-pc/build-target/linux-5.2.9' CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh CHK include/generated/compile.h CC kernel/configs.o {standard input}: Assembler messages: {standard input}:136: Error: file not found: kernel/config_data.gz ICECC[21465] 16:13:52: Compiled on 192.168.10.72 scripts/Makefile.build:278: recipe for target 'kernel/configs.o' failed make[2]: *** [kernel/configs.o] Error 1 Makefile:1073: recipe for target 'kernel' failed make[1]: *** [kernel] Error 2 Or this (with `ptxdist -q go`): {standard input}: Assembler messages: {standard input}:136: Error: file not found: kernel/config_data.gz ICECC[27588] 16:19:30: Compiled on 192.168.10.70 make[2]: *** [kernel/configs.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [/home/adahl/Work/bsp/isNet_Lite_phoenix-contact/platform-pc/state/ kernel.compile] Error 2 make: *** Waiting for unfinished jobs.... The remote build node which fails is not always the same. To build this kernel make target 'gzip' is needed, which according to my colleague is installed on those build nodes failing. Build succeeds if I turn off icecc _or_ deactivate that kernel config option _or_ go back to v4.19. Currently I'm opting for second, but I'm not amused. Any help and hints appreciated! Greets Alex _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de