Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp318760imm; Thu, 10 May 2018 21:32:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpg3V8qPxC78ArNusxGqIbIpp1qvSaVBX1ok0QDIrXFKhqC8auT2ILSEREUa5gk/RPGsCFF X-Received: by 2002:a17:902:3a5:: with SMTP id d34-v6mr4032064pld.103.1526013152472; Thu, 10 May 2018 21:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526013152; cv=none; d=google.com; s=arc-20160816; b=iQOrllczNcvIBZ/vUL4bwZVCslhrqLKJfnM3rrp+u82NRouseiqC8zndXlWn97OLXU KdGKwQkRIjZTke9Oi5Dy3s/zP9nUzpme8dS1XbBCaKXfNnqeOSB0LpTD3LXgBjUkXjfm l467jIPNayz8NBTH5K02RR/rvZjOiB9mKMeRH7Cug9tQb3d5HQwbhdV1wAXKzmr+R9Rx k2OvssyaNgrQ5S+e8Q0gQHStoX8ajZSZnFzBkXbWDOCVrCNvmhoI9s3f2lh4Jup+iRhA McPl7q7qf5HxNOzBqKHprLsad/lNtk+QzUcopAYtnvx8Gro1o3g75YEJrdTxArAiB+9z NHLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=zARo7cJNzzP80dbjhwflJ1Q+PjJ12gtPfIzJ/A4lodQ=; b=RaRRxtS6/UGpRDgxWaxmFnuMHKkLCdgvY4RIuSeDrtoVzlaqs32BCDXzLUy7BaOuaa +OhDqAybvqEicsdhlNeJ2NLOS3DlqVQPEX9IzX31hWOjx9fcyxkJ+jY9heLEZd1mvBWO 8HaOrKLAKSRbY42FUYiZSYZmD2nYcRz+//vLbTJel5/2krakspLlJtOL1WhCPA66Goyf Yn171E+lSpDvoCsvoTAm7FIbeoGjo8BLP5HrcJAqxJuKQ0Dmi5cPf6MjLndzUL/ALsoJ AsuFR69Df+FU2bS/I/PbuwF5ulkECxqRA4PlljuPSUCxUEeKK0u9wj8tl2dENJM/8g9U mmiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=pAaet7ME; 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 3-v6si2450351plt.98.2018.05.10.21.32.05; Thu, 10 May 2018 21:32:32 -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=@roeck-us.net header.s=default header.b=pAaet7ME; 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 S1752392AbeEKEbw (ORCPT + 99 others); Fri, 11 May 2018 00:31:52 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:51560 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751462AbeEKEbv (ORCPT ); Fri, 11 May 2018 00:31:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zARo7cJNzzP80dbjhwflJ1Q+PjJ12gtPfIzJ/A4lodQ=; b=pAaet7MEZ47kP5kw915vjyuSQH BzWm4nH59CtWXeyDFSwd2kfKdZ6YvNmfEYrGwnFKZqrKEWlS1/Tw2VKOR5YnMMBcVbx2aH08+Mzbu tB+zMe3Nx5rkHI7ruxsBX/lGPo5BFCdCxn1VZdYTfWG5W7vju5Iz/ZsGIqzJUN6avI7oOdBVn5YF4 NcJLzUeqb0x5b5u7NZHLucRhSaMXy/JQkwIIu19NrIsM+Bx8ar8QNT9VphgUT51d+9sgmS+vSJG9s s4yQl20hZhrhc/VqkjeRopOcQ7wBqMAgC7qS32f3b6yv8JKBklOAFjH4Uk44rn9aj1/xr4JArg/Hb jQ9nAIBg==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:40680 helo=server.roeck-us.net) by bh-25.webhostbox.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1fGzie-00446m-1E; Fri, 11 May 2018 04:31:48 +0000 Subject: Re: nds32 build failures To: Arnd Bergmann , Greentime Hu Cc: "linux-kernel@vger.kernel.org" , Vincent Chen , Greentime Hu , kito.cheng@gmail.com, wuiw@andestech.com References: <4ccb747b-fb3b-18c8-8737-2cc02d7b1c34@roeck-us.net> From: Guenter Roeck Message-ID: Date: Thu, 10 May 2018 21:31:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Authenticated_sender: private@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: private@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: private@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/10/2018 07:40 PM, Arnd Bergmann wrote: > On Wed, Apr 18, 2018 at 3:19 AM, Greentime Hu wrote: >> 2018-04-17 20:47 GMT+08:00 Arnd Bergmann : >>> On Mon, Apr 16, 2018 at 11:06 AM, Greentime Hu wrote: >>>> 2018-04-16 11:58 GMT+08:00 Guenter Roeck : >>>> >>>> This built failure is because the toolchain version you used is not >>>> supported the latest intrinsic function/macro. >>>> We are sending the latest patchset now and we expect the whole new >>>> features will be supported in gcc8.0.0 and binutil2.31+. >>>> >>>> If you'd like to get these new features of toolchain, you may use the >>>> github version. >>>> This is the built-script repo. https://github.com/andestech/build_script.git >>> I've taken the gcc-6.3 sources from there, and updated them to gcc-6.4.0 >>> in order to build a nds32le-linux toolchain based on the same version as >>> the other ones. >>> >>> Unfortunately neither the usual binutils-2.29.1 nor your binutils worked >>> for me, but I eventually managed to get a build using the binutils-2.30 >>> release. >>> >>> With this, I could build a mainline kernel with a couple of warnings, >>> but an 'allmodconfig' build still failed. >>> >>> Guenter, can you try my binary from >>> www.kernel.org/pub/tools/crosstool/files/bin/x86_64/6.4.0/x86_64-gcc-6.4.0-nolibc-nds32le-linux.tar.xz >>> ? >>> >>> If that works for you, I'll update the front-page and remove the nds32-elf >>> toolchains. >>> >>> Greentime, do you have a patch set for gcc-7.3 as well, or are 6.3 and 8.0 the >>> only working compilers for nds32le-linux? >>> >> Hi, all: >> >> I just discuss with our toolchain colleagues. We have only gcc6.3 and >> gcc8.0 for nds32le-linux. >> I have the ld segmentation fault issue too when building kernel with >> 'allmodconfig'. We are dealing with it. > I've tried building the mainline gcc-8.1 sources for nds32le-linux and > still got a failure with those (building gcc), building a nds32le-elf gcc-8.1.0 > worked fine, but that fails to build the vdso (no support for -fPIC), so > it's again unusable for building kernels. Any other ideas? FWIW, nds32 in linux-next doesn't build for me at all, at least not with nds32le-linux-gcc (GCC) 6.4.0 from kernel.org. I have not tried any other versions. Guenter