Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3212507ybi; Mon, 29 Jul 2019 02:52:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTEEbXV3Tg+xNNAAp8d8lSEnxZClw7WCN+ZP0DS6F/pKY5z5qByIw5C3igf82agpWBu6M5 X-Received: by 2002:a17:90a:e397:: with SMTP id b23mr109826116pjz.140.1564393934020; Mon, 29 Jul 2019 02:52:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564393934; cv=none; d=google.com; s=arc-20160816; b=Yl4mqOR1hfHqWCljEoVizx+tYTdzr8oehkxmgrpeFIQNfpp02oo+BKESvGy/B6zEJP 90vwqYjdW9mCuSMJNSRvatLbggV78xiGuicy8l0hEn9YmuKs1Zn8bKCtUQI3ItXgN+It qiap4lEpJmNfrZ+IVq0U/44/sXwL0gkarSzXZGcApnZCOamet8QfnlCnZepdmYUucAse 4PYDyx1iewHnmFYO68mSVmH6lrUb4b+OoPBFlXJcOypSTlqPMfMTFK4zvQN+eJEQPrpg k4xZOXhJZRWSx7aU6vrxyjG8imMTVbVdFzqkBrRcZXXI0clUwU6wBMaHI2TvGwADKUCo OPdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mrn+Ls3ICgD4M7cb7m5YzqL1j7CslDw/HmqkGJIyFPg=; b=foUmajM6N1cS3vJxG5DSvz1kmgn31Ld6KPQskdtIG/KQye3xLbm9oSEAXqdR87OjFl 70tOXPo6j/K8JbOMVlJFdjPgWvUmxxlhfwpx3X2A/lPOz0oHJcE3jfzL9zf07EgoPU0L fDyjZYI/aZxPWfitkoBchvr9BP3obgdGa1+ISCq+G0wYm5unUKuiSW7h1emBQsij9pZL 5DqeCG1gatc3wKTSPaGB5lRG6dS2Vwj3D2G8iBSommf++0G+oSZRLs3/ButViOI50ooB LexW2DYgm6CUw3gYch2wkST3xmrWlGqbkP7DgEB/RqJp28MRGrsxaCuv5c2XoKjrq3tn qYYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OerbQvxu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w17si29027220pfj.69.2019.07.29.02.51.56; Mon, 29 Jul 2019 02:52:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OerbQvxu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728116AbfG2Jux (ORCPT + 99 others); Mon, 29 Jul 2019 05:50:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:54208 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbfG2Jux (ORCPT ); Mon, 29 Jul 2019 05:50:53 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A3A75206E0; Mon, 29 Jul 2019 09:50:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564393852; bh=b8uU2TFVwOTFei6ErM+Y6f1LMd2F2p8D4wkUO2zwyWY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OerbQvxuSWKHGKK+jRP4HMC0+QybjVIuGpBajz4cNofhdz9ZtFm8+DQvapwrTHDbo REuyvW7uz/2+1xngBLsupMV0rUbJTfdqP65lU4m/8n/itmZ9zYMLuyN9E33D2E8rVm nLfDbV8JhNn/F167JLoj7/hbH5RVFLwYXcTae5mw= Date: Mon, 29 Jul 2019 10:50:48 +0100 From: Will Deacon To: Matteo Croce Cc: LKML , Linux ARM , Vincenzo Frascino Subject: Re: build error Message-ID: <20190729095047.k45isr7etq3xkyvr@willie-the-truck> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Matteo, On Sun, Jul 28, 2019 at 10:08:06PM +0200, Matteo Croce wrote: > I get this build error with 5.3-rc2" > > # make > arch/arm64/Makefile:58: gcc not found, check CROSS_COMPILE_COMPAT. Stop. > > I didn't bisect the tree, but I guess that this kconfig can be related > > # grep CROSS_COMPILE_COMPAT .config > CONFIG_CROSS_COMPILE_COMPAT_VDSO="" > > Does someone have any idea? Am I missing something? Can you try something like the below? Will --->8 diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index bb1f1dbb34e8..d35ca0aee295 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -52,7 +52,7 @@ ifeq ($(CONFIG_GENERIC_COMPAT_VDSO), y) ifeq ($(CONFIG_CC_IS_CLANG), y) $(warning CROSS_COMPILE_COMPAT is clang, the compat vDSO will not be built) - else ifeq ($(CROSS_COMPILE_COMPAT),) + else ifeq ("$(CROSS_COMPILE_COMPAT)","") $(warning CROSS_COMPILE_COMPAT not defined or empty, the compat vDSO will not be built) else ifeq ($(shell which $(CROSS_COMPILE_COMPAT)gcc 2> /dev/null),) $(error $(CROSS_COMPILE_COMPAT)gcc not found, check CROSS_COMPILE_COMPAT)