Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2364772imm; Sat, 13 Oct 2018 17:03:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV62zsYm6OiLhhaGQVom0QrGkZo+ECetY/pmoHOYvUMn1kz5DaE7zZt2wL5POATfxdsHgR3E/ X-Received: by 2002:a63:c306:: with SMTP id c6-v6mr10841982pgd.133.1539475382129; Sat, 13 Oct 2018 17:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539475382; cv=none; d=google.com; s=arc-20160816; b=MiBLDyX4wgRLlTlfLAwSnqM4+NTE0wjfAcCSijPEn64ALiTDHRfR6J5cdaW40p9l4O eyABpyfdvXgJJp/0roLRI2ALOKlyz5ehXqBy1fqLnOKxOSbjKFOwTXrmGa/VaR4FjhF/ 9sysY9eNzC+kuCFBdq3oPg6qyfXDXcFOQNpTXLFxTXICHSUP9EzfzXCZKOMPbqmfDuar 9hxmNC4vruewY/yd1ib9R2tsFLGoeSIWUNkW8ChbxfYRmrIlWkLJdcO+d+mPABGBQHpz mOFs63VtiZkGUJmmuWdJfvQFHevKM7N3n4uu270YMS4RHbfVxWIotu3GPnr3tj0Droey +x4g== 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=XQ9ooewDGpp08nPommmRaP2wvXxwlXLWiicntLKC0TQ=; b=Nwcnjv1bzUdDD7W7PnIK+gM5xmNLuy286PLD046aQcg8CV8lSi2SiOA4vnLZEDSYTk vtUaxYPMHEpDIytjkSfNjJh/m1XOFzABZpv8XYer/xMAPamEIIgE7781dEMb1pmmFjEO yRJa6ocyge/ttWDQQM8X50bRTFVp549+ehV0dRVu0So8bo4lBCvTZc1NR/aGqA/vqynE XqYAkIzzQsmj7NhOpMKi76VclSrcfE6Az0yFVKoK2vTbyptA0FAOrL3fLvJQxY8c/cwV jDGnUb/js0r4BgMCISoz4xRUUf/YWtxNEC2Nhp7/KvB4UhYntzIC0S3D+M1HChw5QN1n EqtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gAhghVqn; 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 p19-v6si5943810plo.26.2018.10.13.17.02.43; Sat, 13 Oct 2018 17:03:02 -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=fail header.i=@gmail.com header.s=20161025 header.b=gAhghVqn; 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 S1726259AbeJNHlF (ORCPT + 99 others); Sun, 14 Oct 2018 03:41:05 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41792 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbeJNHlF (ORCPT ); Sun, 14 Oct 2018 03:41:05 -0400 Received: by mail-pf1-f193.google.com with SMTP id m77-v6so7912370pfi.8 for ; Sat, 13 Oct 2018 17:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=XQ9ooewDGpp08nPommmRaP2wvXxwlXLWiicntLKC0TQ=; b=gAhghVqnzOlTCprV1zPEvnoH29Kcel/Ki05fCuwl3eEvxzmFNsFgVMnGV9KwV6QhAb nZKCgvSpKy/taut7sws1ht1fy9kVARWmAGF0KP7oNgnc5FejkjiYZLPuG5Jru08KdN3a d9Jcg49hC7inQjADrd7RZJ+PjC33mugJ3DscdRnOe5NDcRNoAtzj2O6jJCa1KbKzJ/N7 6KjOIDH/2hvEb3mkg0dK0cqHpwlujkvNv0o1BrCYGOTBHVBJLIf7lx19+/UB9IJyBjSB hnfACjM9u24CV0vxEqJUX0gl+TBmAVUY2ukWia5CGgBLa16HtqpQXfwuNMWgCIGnzRDm C3sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=XQ9ooewDGpp08nPommmRaP2wvXxwlXLWiicntLKC0TQ=; b=PFj0DUcNyv4pIDz49VWOs/wiVN9AQhZ2KTZciEEQG6oLJ+i7JCXxKVVJx4aBzaOhA/ I6NWyYWeTQotwUxbneq64YwK7XWfEmCc/5+vsf8JztppTt7ovSks0PgAh2qrJOa6yrJt 5rxgIogBxo7ZfaXLD0qmVIK5FejlGAexbNkPOAJG5k9/3ZMdVeiWA2W57R5D8WGTEOdk BwzkF/gWiBNK+/0eHgaJBx4IxLRHLKgek9Xll6byOo/fwf+6NEc8VjTLat/FSy4znGkQ VC0OFsRxB1Tzb9nnQx8YexbtT7VcNYw6khMS8U9WY+SLb0g++K497+2I8OZumwNr7BRG /pMw== X-Gm-Message-State: ABuFfoh7WzTiu8zI2ggNRUEyoNL0A+Yp+9flneFCW2zaS+xBsWRflc62 QhgiYIUr2hR1/Wq3OtM22jPUAqMC X-Received: by 2002:a62:35c2:: with SMTP id c185-v6mr11769226pfa.69.1539475328312; Sat, 13 Oct 2018 17:02:08 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id t184-v6sm3587730pfd.14.2018.10.13.17.02.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Oct 2018 17:02:07 -0700 (PDT) Date: Sat, 13 Oct 2018 17:02:05 -0700 From: Guenter Roeck To: Alan Kao Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Greentime Hu , Vincent Chen , Zong Li , Nick Hu Subject: Re: [PATCH v8 3/5] Cleanup ISA string setting Message-ID: <20181014000205.GA22333@roeck-us.net> References: <1539051514-3658-1-git-send-email-alankao@andestech.com> <1539051514-3658-4-git-send-email-alankao@andestech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1539051514-3658-4-git-send-email-alankao@andestech.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Oct 09, 2018 at 10:18:32AM +0800, Alan Kao wrote: > This patch cleanup the MARCH string passing to both compiler and > assembler. Note that the CFLAGS should not contain "fd" before we > have mechnisms like kernel_fpu_begin/end in other architectures. > > Signed-off-by: Alan Kao > Cc: Greentime Hu > Cc: Vincent Chen > Cc: Zong Li > Cc: Nick Hu > --- With this patch in -next applied, I get the following error when building riscv:defconfig. cc1: error: -march=c: ISA string must begin with rv32 or rv64 cc1: error: ABI requires -march=rv64 Kbuild:21: recipe for target 'kernel/bounds.s' failed This is seen with both gcc 7.3.0 and gcc 8.2.0. Bisect log is attached. 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. Thanks, Guenter --- # bad: [774ea0551a2966c8fc29a6f675c3e28c5c6fa586] Add linux-next specific files for 20181012 # good: [0238df646e6224016a45505d2c111a24669ebe21] Linux 4.19-rc7 git bisect start 'HEAD' 'v4.19-rc7' # bad: [dfbf78faefa3c26d94208398e62bf25ea798e7f2] Merge remote-tracking branch 'spi-nor/spi-nor/next' git bisect bad dfbf78faefa3c26d94208398e62bf25ea798e7f2 # bad: [530d65b38df62760ce7f778907cc3fce6f5519b7] Merge remote-tracking branch 'hid/for-next' git bisect bad 530d65b38df62760ce7f778907cc3fce6f5519b7 # good: [4967343a2e8ae0ee767471053f8b55e529b7be7e] Merge remote-tracking branch 'arm-soc/for-next' git bisect good 4967343a2e8ae0ee767471053f8b55e529b7be7e # bad: [e8af1ded2dc3e3cb4e8c414809b2303f5b91abe0] Merge remote-tracking branch 'befs/for-next' git bisect bad e8af1ded2dc3e3cb4e8c414809b2303f5b91abe0 # good: [1ccf1a61dd05b37ddc41fb874109915efb56c53d] Merge remote-tracking branch 'clk-samsung/for-next' git bisect good 1ccf1a61dd05b37ddc41fb874109915efb56c53d # good: [43693e88f9764f7ff292e18cbb0d36ed9b26411e] Merge remote-tracking branch 'powerpc/next' git bisect good 43693e88f9764f7ff292e18cbb0d36ed9b26411e # good: [52a34b34d4ff9a61bc6da9740541d8f08a40438c] s390/crypto: Enhance paes cipher to accept variable length key material git bisect good 52a34b34d4ff9a61bc6da9740541d8f08a40438c # bad: [cc932c65d7892091735a553b89fdd21cc20cb85d] Merge remote-tracking branch 's390/features' git bisect bad cc932c65d7892091735a553b89fdd21cc20cb85d # bad: [bb0133e085b524a49829fd02be21f1edd3beaac1] automerging branch "kernel.org-palmer-linux/next-nofpu" into "for-next" git bisect bad bb0133e085b524a49829fd02be21f1edd3beaac1 # good: [c720a7ff190fc2015ae1449bcbf31216c4a9e973] automerging branch "kernel.org-palmer-linux/next-hch" into "for-next" git bisect good c720a7ff190fc2015ae1449bcbf31216c4a9e973 # bad: [27625655dbfd83205ba489183f45a87717cb867c] RISC-V: Auto-detect whether a FPU exists git bisect bad 27625655dbfd83205ba489183f45a87717cb867c # good: [5453696cb3f1e5b316511234e27570d2f7698b70] RISC-V: Refactor FPU code in signal setup/return procedures git bisect good 5453696cb3f1e5b316511234e27570d2f7698b70 # bad: [919ecff9aac4e7c8dae05d924385fb05c7c63854] RISC-V: Allow to disable FPU support git bisect bad 919ecff9aac4e7c8dae05d924385fb05c7c63854 # bad: [0a5bee05fc67ce2044b8d91a18abbf14042da531] RISC-V: Cleanup ISA string setting git bisect bad 0a5bee05fc67ce2044b8d91a18abbf14042da531 # first bad commit: [0a5bee05fc67ce2044b8d91a18abbf14042da531] RISC-V: Cleanup ISA string setting