Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3298363imm; Sun, 14 Oct 2018 16:49:24 -0700 (PDT) X-Google-Smtp-Source: ACcGV63IHFaLFBe2bvjXcyDVEuMIWGyVp0QdwaLKKyEIfKiAKPAaHqN6Jw5U4U+d/dg1QR2/FewV X-Received: by 2002:a62:564e:: with SMTP id k75-v6mr15258290pfb.33.1539560964544; Sun, 14 Oct 2018 16:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539560964; cv=none; d=google.com; s=arc-20160816; b=MlbJ3WuWd+sIo5G882a2naf3Ag9udQN7jpd8O1xRI+DINO5djuxdu2tElkFDnt2lgV UwikpajLeiByfdlM1hoxyxH3MRqGnU95fu78VLnhIIXogQxESx/TMpQWt1a56v2e8Z8W 41yatWdmf8sLMT/o2lgbXdZ90DMEzumIiYr/uxUcpU0rElweizlYCO68fVV0c1BlU2QC gV9PA+T3Hl3p9uIaJYTRP7p43I4YYgmiKBahdj+QsLIcBzjF88rZmISm1F00nVZ8C73b cPEF4SiFJ7PBli+WVU0SK6/WYuCDUddVmRLyIFXAGrVTuAa6G+AR/bYs8EDXApoQ+Ct+ +GAQ== 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; bh=arQSrwJGuheK0bFbzRyoRfssqCNh2DmTsIw5V1BY/1Y=; b=YMqFh6W+Dj7TaVpUBp3FbFw+IzZXvU0Av08F2jEvAqA8HpBGRJYQa6+Zb3Ca39nwcV cYSFMxSkSe9hg4U+etgURyX7fhlw8sUhxVt1ECWDNsl52SvJtWO0yynCIVx2u82mdncp boCfWkhxemgXksi5rJuMTcJtMkN+ZWRlBrQ9JRl8uhQQWUynWP2rwO8uURIM9jxXwbVU J92Lhlf/cl/QwwEw27FOjxh1eyejpAUQOo5NIcsVwbekDJHVm851QK8BE8o1St7jxGTi fDPPvQewATsJnZv4NbAd0Yw2i1NY5ENwJyrv8Gc7EOZotNx4RrwPvxvL1sbeIbKw8Qi5 TqSw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay8-v6si8525011plb.235.2018.10.14.16.48.31; Sun, 14 Oct 2018 16:49:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726347AbeJOHaW (ORCPT + 99 others); Mon, 15 Oct 2018 03:30:22 -0400 Received: from 59-120-53-16.HINET-IP.hinet.net ([59.120.53.16]:36284 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725792AbeJOHaV (ORCPT ); Mon, 15 Oct 2018 03:30:21 -0400 Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id w9ENmn0T059745; Mon, 15 Oct 2018 07:48:49 +0800 (GMT-8) (envelope-from alankao@andestech.com) Received: from andestech.com (10.0.15.65) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Mon, 15 Oct 2018 07:46:39 +0800 Date: Mon, 15 Oct 2018 07:46:40 +0800 From: Alan Kao To: Guenter Roeck CC: Palmer Dabbelt , , , Christoph Hellwig , Greentime Hu , Vincent Chen , Zong Li , Nick Hu Subject: Re: [PATCH v8 3/5] Cleanup ISA string setting Message-ID: <20181014234639.GA14835@andestech.com> References: <1539051514-3658-1-git-send-email-alankao@andestech.com> <1539051514-3658-4-git-send-email-alankao@andestech.com> <20181014000205.GA22333@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20181014000205.GA22333@roeck-us.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.0.15.65] X-DNSRBL: X-MAIL: ATCSQR.andestech.com w9ENmn0T059745 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guenter, On Sat, Oct 13, 2018 at 05:02:05PM -0700, Guenter Roeck wrote: > Hi, > > With this patch in -next applied, I get the following error > when building riscv:defconfig. I guess what you meant was this commit: commit 0a5bee05fc67ce2044b8d91a18abbf14042da531 The modification in Makefile was -endif - -KBUILD_AFLAGS += -march=$(KBUILD_MARCH)$(KBUILD_ARCH_A)fd$(KBUILD_ARCH_C) +# ISA string setting +riscv-march-$(CONFIG_ARCH_RV32I) := rv32im +riscv-march-$(CONFIG_ARCH_RV64I) := rv64im +riscv-march-$(CONFIG_RISCV_ISA_A) := $(riscv-march-y)a +riscv-march-y := fd +riscv-march-$(CONFIG_RISCV_ISA_C) := $(riscv-march-y)c and the ":= fd" line was wrong. It should have been +riscv-march-y := $(riscv-march-y)fd > > > What am I missing ? Does RISC-V now require a new non-upstream compiler ? > Or a special version of make ? I am currently using GNU Make 4.1. So I sent the v8 to fix this problem. Sorry for the inconvinience. > > Thanks, > Guenter > > --- And Palmer, it seems that the patch that causes this build error has been pulled into linux-next. Any idea how to fix that one? Many thanks, Alan