From patchwork Fri Mar 6 11:09:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve Capper X-Patchwork-Id: 447290 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BAD1400EA for ; Fri, 6 Mar 2015 22:12:49 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YTq9I-0006yr-7F; Fri, 06 Mar 2015 11:10:32 +0000 Received: from mail-we0-f180.google.com ([74.125.82.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YTq9C-0005iv-F7 for linux-arm-kernel@lists.infradead.org; Fri, 06 Mar 2015 11:10:27 +0000 Received: by wesw55 with SMTP id w55so5378010wes.3 for ; Fri, 06 Mar 2015 03:10:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=EoLpm+YdSWcTkmDFOR3cS33dejRCgw1SmOky8oh3N6o=; b=Nz+/A1yJj43c/Ow9x6U1J+GNxXqMTBLZNvI7cNSl8xpa1Q0vmw8bNB+bEsZ39N7eKp 5iJW+ACt7q03kIlzW4yLQ7JoQ8T+WvTQjGbNuO0I/y0aAmLvIjGCjYzeJwa/jfhdCH66 TB2EDQaO+UZ6MAunpHTLjjEXFFK69dQ/sjwoODdIjyeyTFI2UXt6rv7k120kZmOpaov4 K3EkT6TemdkfKhhfyeKL1yTiGa758t0YBltHpz5ozJI9COQT3TvvUl2GdBnqrR4kjyko zhBHQHlO1c3FDZgWBrpsUYSbMnp7KJ1idHab3wUa/ygrNyXrDxIDvg8Lc4i0y5LL22KW HJ6A== X-Gm-Message-State: ALoCoQncBr7shXJo++XZG67pZjqpXvzsuHb/vC8hYzcnhtzzp5YOM9MfOJJiJXNSHg6eJg67iCx5 X-Received: by 10.181.13.146 with SMTP id ey18mr75865678wid.84.1425640203575; Fri, 06 Mar 2015 03:10:03 -0800 (PST) Received: from linaro.org (marmot.wormnet.eu. [2a03:9800:10:2d:3203:b3a5:8bdc:5b68]) by mx.google.com with ESMTPSA id hv5sm14457362wjb.16.2015.03.06.03.10.02 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 06 Mar 2015 03:10:03 -0800 (PST) Date: Fri, 6 Mar 2015 11:09:57 +0000 From: Steve Capper To: linux-arm-kernel@lists.infradead.org Subject: Re: Intermittent efi libstub build errors on arm64 Message-ID: <20150306110941.GA8770@linaro.org> References: <20150306103428.GA8045@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150306103428.GA8045@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150306_031026_672162_55DE8D74 X-CRM114-Status: GOOD ( 14.40 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.180 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.180 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: ard.biesheuvel@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org On Fri, Mar 06, 2015 at 10:34:29AM +0000, Steve Capper wrote: > Hi, > I've run into some strange build errors with 3.19. > > If I set a high number of parallel jobs, I sometimes get build errors > such as: > > mv: cannot stat ‘drivers/firmware/efi/libstub/.fdt.o.tmp’: No such file or directory > AR drivers/firmware/efi/libstub/lib.a > scripts/Makefile.build:257: recipe for target 'drivers/firmware/efi/libstub/fdt.o' failed > make[1]: *** [drivers/firmware/efi/libstub/fdt.o] Error 1 > Makefile:939: recipe for target 'drivers/firmware/efi/libstub' failed > make: *** [drivers/firmware/efi/libstub] Error 2 > > and, > > fixdep: error opening depfile: drivers/firmware/efi/libstub/.efi-stub-helper.o.d: No such file or directory > scripts/Makefile.build:257: recipe for target 'drivers/firmware/efi/libstub/efi-stub-helper.o' failed > make[1]: *** [drivers/firmware/efi/libstub/efi-stub-helper.o] Error 2 > Makefile:939: recipe for target 'drivers/firmware/efi/libstub' failed > make: *** [drivers/firmware/efi/libstub] Error 2 > make: *** Waiting for unfinished jobs.... > > > I think some dependency information/header includes may need tweaking > somewhere. Has anyone else come across this, or know more? > Having done some more digging, I believe it may be the libstub directory being entered twice by the build system. I am testing the following patch out: To see if the problem persists. > Cheers, > -- > Steve --- a/drivers/firmware/efi/Makefile +++ b/drivers/firmware/efi/Makefile @@ -7,4 +7,3 @@ obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o obj-$(CONFIG_UEFI_CPER) += cper.o obj-$(CONFIG_EFI_RUNTIME_MAP) += runtime-map.o obj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o -obj-$(CONFIG_EFI_STUB) += libstub/