From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753723AbeDQNNB (ORCPT ); Tue, 17 Apr 2018 09:13:01 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:46197 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239AbeDQNM6 (ORCPT ); Tue, 17 Apr 2018 09:12:58 -0400 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: Tue, 17 Apr 2018 06:12:54 -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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/17/2018 05:47 AM, Arnd Bergmann wrote: > 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 > ? defconfig and allnoconfig are ok. allyesconfig results in a linker core dump, unrecognized instruction warnings from the assembler, and various vdso related build errors. Guenter