Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp243499imm; Thu, 10 May 2018 19:40:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrZjrR+7b7BW1HdfXs6NxawM7foOtlNHE1Q4qrKqUwy/CuP1Wlv5R+FLIdTKTA5pqjNbx5n X-Received: by 2002:a62:aa18:: with SMTP id e24-v6mr3624022pff.107.1526006447664; Thu, 10 May 2018 19:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526006447; cv=none; d=google.com; s=arc-20160816; b=p2MqSimhMNsUzSNM5gKRGz3EpE0R0V6Pq90NTDOqWacI+PPJQM4rqqlUMw4FvFN30M 6hyMR2G759ujx4pnq6VtU/a/X07MABtZZ2YcEGhRB50Gg85E7AypVdxbGf74ImjDvLau j8iaNaoQR/hECe/gBBXWhCWzruzryiljf3LU9oqSL23zX59jcFPGpeI1E90tSLbBiSG6 QR9cYC0QVv6ipmCtWzhjL2lraYgNutuESdfj4ZwUZy5p32ho1LtF1zxdKgYZVHqAk7vH 4f4I5KMgJIlyZX7YxWMa/j86xodK8XR+7BnzrcewEJ2X8Jv94Nf9RLuRknbUKdR5/B0B 6S/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=pstLXvsjR4+9StLNftN2AbfIfJoqm+COL18Om2dj6a8=; b=P/duuNotvHIuoZxWpp02j8YWn61uN+DkzVDXKkcCzgPoGcnVBjU2QMnlnHhBVpA7p1 FSoHajzgzQJ+PYG7Bmnu2XqPFhyMGx8Lz6jY4ndF0Gq7tDQPqnTgdWNAcCbD0YHiiAlN jzggjC90pqwOn1Sl2edVeIQ3K5Yc1vOrDAQxixL9yxMSeZm2vwnJ52TkuZKSfCc61riB 72djviXms3t6eiAcm8e7NUGy2TAazlUd5gYHVgeOjfpKUUQhoVYJAnzoMbQorqPp4HZE 1RbVHgzyxKzxvN89S3BFTJTD+uIOBpY3S4w2VbH6Khh+k4iwIo96Hy5nOC59HphWUzrf a7sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=XM+2uwdw; 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 m63-v6si2009800pld.429.2018.05.10.19.40.32; Thu, 10 May 2018 19:40:47 -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=XM+2uwdw; 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 S1752019AbeEKCkX (ORCPT + 99 others); Thu, 10 May 2018 22:40:23 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:40373 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbeEKCkW (ORCPT ); Thu, 10 May 2018 22:40:22 -0400 Received: by mail-qt0-f196.google.com with SMTP id h2-v6so5333448qtp.7 for ; Thu, 10 May 2018 19:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=pstLXvsjR4+9StLNftN2AbfIfJoqm+COL18Om2dj6a8=; b=XM+2uwdw4HwpAS8knbWWioBKcTsQ72LU868bg3x9wbIkoMIYjGFpaz2Kdle8EuCVya LOf+Y9AT2qYmewTCPSeGG6mGGbjArRARaTlipIV8KQNsmjKV0JUioisdKZUk2tpzA1Ub wGSldF6V+FV9AfPW0EAxVLY38nWR0dK3QmT90qkgl5orTYKmdSu2gtc/U2DeMMRCDes+ 7hn3172cWQzGpB7zwxYLW+NqjhGt2xTtS0t7yjU7xOmkriklnIER+Tfricq9qUqnBFfo QNy2cs5kOpkAIj/vr4DxUxDS5padmI1BOCRfaxydvQBRo39elap3EKbRlW6dubw5ByMn Dejw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=pstLXvsjR4+9StLNftN2AbfIfJoqm+COL18Om2dj6a8=; b=I7w3/lZ8tKQ/cMzVNFEEmqp3Zis2hzCW5fLwmbYWP+mm8EzqAnzJabZ45knhj3DKBl tFKw8hhRfNsG8NDAWgFjAqEyOEf5f+Hsh13J008zLuenc6ee3ihSU5abUhJ9Bk3jKXBk q0tLuWT0rnmnkwoOrVA/aou5nD83hqWWmcDxlX7skSJHIKRh4O8x0E76GGDiF3zThowb /GGb57Tm72xct5boDA7Skv7FRVE1ttfCqYtm9RTAMpFNlmu5CzLo7Z204yGzQpqTyXL8 uY2rUKIZSc4fIXvF2qkN5BkGUdLS03MSaX1b66BHejRY9pYAYktOGO6D3dhAJqYlSG7V sFHg== X-Gm-Message-State: ALKqPwfLadISaxusnWCe74FAHOz7oI7qziP/HpL4PT/vu50yHCX8nyTc zmW+jcoqmuh6Dh/igSqnS+qFvxAWf//Qv+oUjH4= X-Received: by 2002:a0c:b128:: with SMTP id q37-v6mr3626605qvc.19.1526006421618; Thu, 10 May 2018 19:40:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.3 with HTTP; Thu, 10 May 2018 19:40:20 -0700 (PDT) In-Reply-To: References: <4ccb747b-fb3b-18c8-8737-2cc02d7b1c34@roeck-us.net> From: Arnd Bergmann Date: Thu, 10 May 2018 22:40:20 -0400 X-Google-Sender-Auth: ehmc4KFkWr6y0-iDusB_nsIiWhs Message-ID: Subject: Re: nds32 build failures To: Greentime Hu Cc: Guenter Roeck , "linux-kernel@vger.kernel.org" , Vincent Chen , Greentime Hu , kito.cheng@gmail.com, wuiw@andestech.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Arnd