From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5ADCC7618B for ; Mon, 29 Jul 2019 09:50:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AF1B12075B for ; Mon, 29 Jul 2019 09:50:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564393854; bh=b8uU2TFVwOTFei6ErM+Y6f1LMd2F2p8D4wkUO2zwyWY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=LgrphAiStA43Ah6fIV17U8IMMukMNz/LFYUXW60lDqG/Uz4q2CjrQWeZ2BhWuJHth akzxdoGcLX7Yaz7KHU7bY62yfxck/pTgib0h7xlRCOQuNJJ674DKN097DxAgKbAUdJ D//mC4RWVkQ/2GPSEVNVqmRUMVaa4/chbQTrkQtQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728122AbfG2Jux (ORCPT ); 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) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C266C433FF for ; Mon, 29 Jul 2019 09:51:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1080C206E0 for ; Mon, 29 Jul 2019 09:51:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="k3IX2CFr"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="OerbQvxu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1080C206E0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VbRQfMGI4ITl2SDhUwA3gD10uZsEGRN8oAxv12/hpyk=; b=k3IX2CFrsZf7DW sxkFS/gnhLWp56ewcARWdpdIwAzGmGRFvoiF6abSWa15L6ZIL3ZYcWSTt5PX9oD9yaqDb0U1yJWLb sphBc5Ew8e9h65Oj8FFqRN85i1NhGk4LMuFXAoBpfYsbeT9PgqTPgnpfy0/8k5mfvSw7nJovYWQ65 UhIk9KGiVVXqiSXOg3cpSixoe8StIpMszVWrUMDx99RhDZlufYSuoVmCM99z8Fx3hA1oZ8zdu/20u D6vg9GcEf6w6gM15v7IcSEU5rJ2uYFdhhQ0ch76unDNRSdFf9Um2i0Ja97z3oCnMAqmAWxm2VXBAr L9WWScSoXDmEZmMwvPOw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hs2Iy-0004gK-An; Mon, 29 Jul 2019 09:50:56 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hs2Iv-0004fw-BV for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2019 09:50:54 +0000 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 Subject: Re: build error Message-ID: <20190729095047.k45isr7etq3xkyvr@willie-the-truck> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190729_025053_416914_F179A326 X-CRM114-Status: GOOD ( 10.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincenzo Frascino , LKML , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel