Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761339Ab3DBLUe (ORCPT ); Tue, 2 Apr 2013 07:20:34 -0400 Received: from queue01a.mail.zen.net.uk ([212.23.3.234]:53489 "EHLO queue01a.mail.zen.net.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760941Ab3DBLUc (ORCPT ); Tue, 2 Apr 2013 07:20:32 -0400 Message-ID: <1364901559.3650.12.camel@linaro1.home> Subject: Re: [BUG] mod/file2alias: build error in devicetable-offsets.c [was: asm/types.h Header file wont get generated while building uImage ?] From: "Jon Medhurst (Tixy)" To: Andreas Schwab Cc: Prabhakar Lad , LAK , linux-kernel@vger.kernel.org, Michal Marek Date: Tue, 02 Apr 2013 12:19:19 +0100 In-Reply-To: References: <1363949290.3528.37.camel@linaro1.home> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Originating-Smarthost04-IP: [82.69.122.217] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1969 Lines: 57 On Sat, 2013-03-30 at 20:46 +0100, Andreas Schwab wrote: > "Jon Medhurst (Tixy)" writes: > > > For builds which succeed I see this order: > > > > WRAP arch/arm/include/generated/asm/types.h > > [...] > > GEN include/generated/asm-offsets.h > > > > and for those which fail: > > > > CC scripts/mod/devicetable-offsets.s > > In file included from include/linux/types.h:5:0, > > from include/linux/mod_devicetable.h:11, > > from scripts/mod/devicetable-offsets.c:2: > > include/uapi/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory > > [...] > > WRAP arch/arm/include/generated/asm/types.h > > Does that help? It's rather difficult to be certain as I've only seen it in our daily automated builds but I forced the failure on my local PC by adding 'sleep 2' to the rules in scripts/Makefile.asm-generic and doing a build with -j4. Then after applying the below fix I couldn't reproduce the failure. I'll add the fix to the trees our automated builds use and report if I see any other issues but I don't anticipate any. Thanks for looking at this. > diff --git a/Makefile b/Makefile > index a5f3203..2a484db 100644 > --- a/Makefile > +++ b/Makefile > @@ -512,7 +512,8 @@ ifeq ($(KBUILD_EXTMOD),) > # Carefully list dependencies so we do not try to build scripts twice > # in parallel > PHONY += scripts > -scripts: scripts_basic include/config/auto.conf include/config/tristate.conf > +scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \ > + asm-generic > $(Q)$(MAKE) $(build)=$(@) > > # Objects we will link into vmlinux / subdirs we need to visit > > Andreas. > -- Tixy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/