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: 45479 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A34D6214A0 for ; Fri, 6 Mar 2015 11:11:57 +0000 (UTC) Received: by labhs14 with SMTP id hs14sf28623684lab.0 for ; Fri, 06 Mar 2015 03:11:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :cc:precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:content-type:content-transfer-encoding :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=N3yyl233z9yeD+pfcs902xSmZCDMEhZ2RSiwep0Pkr0=; b=ZXIGR80EswOuas6Q/1DHVY4bTS5iYpcA4iKW//8L92i6WHi34VvQtyN7+MuTiFT08Q ZkwIoS2CMPd7ZymfrKcf2cHo0w30Z2Yq7kQaMWrweMUV+2GO+j1nXVZCY/vCtacC3guh vwRP2y9z2rBzWDvUhpsC53KBnYCut/t2EJANJiycP2iwuyqg1l4M0TZLlAdhUHIiWEI4 6Bg4sO2RTNQR24UaPc+Y7/HlN4ca22DGh4L+yIPJ56u0sv49Po12c1PB+t0XZkL38xFE lU75iizPPqsXwLhKHjgJAxpFUJjZ5wLf8+vcR5MS0KJO3VpPh51fCG0RIo4a226oUKPk 4gSg== X-Gm-Message-State: ALoCoQnz7syd2c42VjdseI1QedbcRl0icgbDYBSK19oRe+7+5SDRraPCHtf+1bb1vq/KtgryfXMR X-Received: by 10.180.89.194 with SMTP id bq2mr2682223wib.4.1425640316598; Fri, 06 Mar 2015 03:11:56 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.168 with SMTP id e8ls59270laf.72.gmail; Fri, 06 Mar 2015 03:11:56 -0800 (PST) X-Received: by 10.152.28.5 with SMTP id x5mr12058981lag.112.1425640316434; Fri, 06 Mar 2015 03:11:56 -0800 (PST) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id mg4si6809980lbb.87.2015.03.06.03.11.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 03:11:56 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by labhs14 with SMTP id hs14so56857345lab.1 for ; Fri, 06 Mar 2015 03:11:56 -0800 (PST) X-Received: by 10.112.64.193 with SMTP id q1mr12332790lbs.88.1425640315997; Fri, 06 Mar 2015 03:11:55 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1061866lbj; Fri, 6 Mar 2015 03:11:55 -0800 (PST) X-Received: by 10.70.91.227 with SMTP id ch3mr24438171pdb.111.1425640314299; Fri, 06 Mar 2015 03:11:54 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ff2si14171233pab.111.2015.03.06.03.11.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 03:11:54 -0800 (PST) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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-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-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: steve.capper@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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/