Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3889511pxb; Mon, 1 Feb 2021 07:15:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOtHYv09037JEKKW/Nm+u11BTt7LVJmCU95ChOacMKlEbl2fFBOpCZkzlOlxuM2tNGQ2tv X-Received: by 2002:a17:906:4c4b:: with SMTP id d11mr9561523ejw.387.1612192525238; Mon, 01 Feb 2021 07:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612192525; cv=none; d=google.com; s=arc-20160816; b=0zq7kJWgoWcK7H1/BcIYdWWJ5FCukTTqst08HTU1q2eEhDSKyrGQfQGeV7el/Vq4ai N4Ldt21dRtPapbb2vBFHR86URI23/6fyty2CrbIANJrJoyBlVLdNisnFwmHRG/zBbycP NU9kYb8F0wPXYJ+0uGurag44zsyjeA9uQVyat5FpCE6JWTueMUSnYKxaJf8kfHYFZ7LW lJlDFQNiva6KzRiAQcqlR81P4QuefMFdAisSqYouadgsR09X3aP4orW0fGpcc2pqVrgx 3KKrqrI/bT7kWQkA8IbVHUp+mNExtbHHdRLfXe1uFaICuV/B0LgxjTh5zSFsU+uuG3ui clSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hZ3xD2/2lcYcAhtu708AbjR6mIFxqFO7i7RlxJAZ5ZU=; b=xw845Vkj8QTCTrMpkZ4v/J01jJHzIT9ThYtD2TmxKhMOonr4wEr1BWJw3J4JHINfTS X3PFrRa1jdUYmDLTKz2LOd94Fhff21H+raVipT2/6HgKSQcntzo3uinA7WbENGy0AZQG N20ZDlS3+QTqDel5vjzhimR5UMiFitUD/7lHBA/+4090lpaJIFll8+o4nvOyqwzDxWes FDHELj9RZHPbqNkAJQNCIHhgExRwPEZIkZ7m5bnqGvAs90c3rgAthqSNQSUOz6gPiSzx 6nKRn1JUIfcXR4+TkhqVHxvIqQlDa9nqCUZxk+XAhgIoYYI8JJN5qKrVq49uikb6dirc gouw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vgNYmiNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si11819867edr.155.2021.02.01.07.14.54; Mon, 01 Feb 2021 07:15:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vgNYmiNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229822AbhBAPOM (ORCPT + 99 others); Mon, 1 Feb 2021 10:14:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231319AbhBAPB3 (ORCPT ); Mon, 1 Feb 2021 10:01:29 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41AE8C06178A for ; Mon, 1 Feb 2021 07:01:18 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id q2so4468024edi.4 for ; Mon, 01 Feb 2021 07:01:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hZ3xD2/2lcYcAhtu708AbjR6mIFxqFO7i7RlxJAZ5ZU=; b=vgNYmiNTNpQzx2jV86jycjLWMXZ6nJ4tSwFTGE5x9SuV+VLEyH6rZomNo5oqBVo48Z DsUNK+cQyv8QkSJJyXCZV4tv7cR0lGYCjwpm+TwjNSzGMAIRQxs9GEmw8ufWoEShxBYa GurBr5HHFFkdq90UWzoaiYGIUkN3QyDzID/0qAL8SuJUtIPCsK6PqLwuBRW7lZ+fqOpE JjjRgi3SE94pzzb3u1PKCrV1lkLEtli/cajzD6YV9W7lzHADaLkPi5/ewt2oaZw4uKdu tgk1m8Lrv1Qvlu+q7sAxQ2juiqAdpdQe2746+17+ZmPEo8rXHJ5J2rZ6cKbFzR+uOsZh Rltg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hZ3xD2/2lcYcAhtu708AbjR6mIFxqFO7i7RlxJAZ5ZU=; b=P/deG/nGIk5WS66MU+RXJ3OCyqstaOQZo4rVCJorgr9RkhsahcLmpll5yWI2yDdutI BbiuoKQG+hul03UIwLyBBg68EfCWxkDEbXA6WhKfHKK/GoXd7rqpuSwEwrImq65Vi6zH WZd8LePIOj+1eGz1DPpep2PtRMnfouLFxhj7UrBMgbZK3kGOYdzTpnFhOkihpw30Rpz6 RFkRczdnvBbQWUl9vUAuv/y5YLDQ0kcucwDODfyJPSOlZXB3tCeM6E8bINoNHm2SiLzS 4JHRePbtUa4xTFuP36re2fGtss242tY8C6TuRB10z+9zX/yh1uyV40iJwmY/2dq5sN0K BWMA== X-Gm-Message-State: AOAM530Lk6inc9eYnD7b31Fx9fz1iZ16QPRQqi8367JokZwvoFIBg0Yg O6yigs/dXAcS8NN6josF6Jyc8hAWWL12jxyN+AO0UA== X-Received: by 2002:a05:6402:26c9:: with SMTP id x9mr19192479edd.365.1612191676837; Mon, 01 Feb 2021 07:01:16 -0800 (PST) MIME-Version: 1.0 References: <5f072f84c7c9b03ded810e56687935b2@kernel.org> In-Reply-To: <5f072f84c7c9b03ded810e56687935b2@kernel.org> From: Naresh Kamboju Date: Mon, 1 Feb 2021 20:31:05 +0530 Message-ID: Subject: Re: arm64: gen-hyprel.c:40:10: fatal error: generated/autoconf.h: No such file or directory To: Marc Zyngier Cc: Linux-Next Mailing List , open list , kvm list , lkft-triage@lists.linaro.org, kvmarm@lists.cs.columbia.edu, Linux ARM , Stephen Rothwell , Arnd Bergmann , James Morse , julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, Catalin Marinas , Will Deacon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 1 Feb 2021 at 19:15, Marc Zyngier wrote: > > On 2021-02-01 13:38, Naresh Kamboju wrote: > > Linux next 20210201 tag arm64 builds failed. > > kernel config attached to this email. > > > > BAD: next-20210201 > > GOOD: next-20210129 > > > > make --silent --keep-going --jobs=8 > > O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm64 > > CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc' > > 'HOSTCC=sccache gcc' > > arch/arm64/kvm/hyp/nvhe/gen-hyprel.c:40:10: fatal error: > > generated/autoconf.h: No such file or directory > > 40 | #include > > | ^~~~~~~~~~~~~~~~~~~~~~ > > compilation terminated. > > > > Reported-by: Naresh Kamboju > > Could you please check with the fix suggested at [1]? Here is the change I have applied and the arm64 builds successful now. diff --git a/arch/arm64/kvm/hyp/nvhe/Makefile b/arch/arm64/kvm/hyp/nvhe/Makefile index 09d04dd50eb8..ed10fcf1b345 100644 --- a/arch/arm64/kvm/hyp/nvhe/Makefile +++ b/arch/arm64/kvm/hyp/nvhe/Makefile @@ -7,7 +7,7 @@ asflags-y := -D__KVM_NVHE_HYPERVISOR__ ccflags-y := -D__KVM_NVHE_HYPERVISOR__ hostprogs := gen-hyprel -HOST_EXTRACFLAGS += -I$(srctree)/include +HOST_EXTRACFLAGS += -I$(objtree)/include obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o \ hyp-main.o hyp-smp.o psci-relay.o > [1] https://lore.kernel.org/r/20210201104251.5foc64qq3ewgnhuz@google.com - Naresh