Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp350584imm; Thu, 10 May 2018 22:17:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqO4Ut/4CF0c4N2PlplLaZ7JtUnX7Zo/PVvtSsnOcNXkkYiNQAzAHH3kyESjsFplkRubuYx X-Received: by 2002:a63:ba04:: with SMTP id k4-v6mr12559pgf.338.1526015871552; Thu, 10 May 2018 22:17:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526015871; cv=none; d=google.com; s=arc-20160816; b=iwSiQ4RPUwuMGFvW47++Q8cqMue/pMTLY64ncyBgYUwfqhasDeFuuJgcdRNAZSMBDG WU6nlXfeb1v2HxDxUEkZWf9ww6/S2lbFGQFHPWLp1KS6OlJqS4RyTKsJoMY5fGdeRC4k 9mTqZjPTLN+hzA0zUP/icXNUHc+mY0y9Y5q82XdEj10t+cnPdg+Mt0U900qxxoAeZe6f F4TuwTyqZnFjU4fHk4PPgyTvBRRY0DZThavonBFP09HSOsCKXpg9BZPKmd01aUec6cqJ PkzZmziWJ04jB3THDy3P7TKxFmdQVfbfWTj/gmgJc5wCvWaJX2wqctGOU7gPYgOEutPa 5EBA== 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=KmfPeE6peusbF3hQ1g/KsCZmxV++0LzcI+CZ6q5z+5g=; b=ZaQNdlgnK2m3UHujfJwPisP5As98lkwplimiKOBieypow8n/JG8uB/rwDorknoHwWE ZqcWRv5xbubj0eGTSr0MEQD+eHWb55+HJZymhzpNiE2yJTXYg37nPyeEVI3myJCHCnzM vZr9PPNAJb6i0WX2ikGJmf80Hbmx2EWXBYFmtcM7y/fcR8ogzTFzeCuA4KcOWIBGM5cV U839knMYaSK3GhWZlm4xF3xmm9+RkyUAALYwnGuTLiSrvpA6oLUwvVg8fiXmirMGLqYt NvNTKw7QtIK6wihQmabvFkJmxU8t6WoQi49TBURQwfek5k04ZIZQi+PNz/KtYcbsa3s+ LhdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=S1hb+GuB; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11-v6si1964796pgn.328.2018.05.10.22.17.36; Thu, 10 May 2018 22:17:51 -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=S1hb+GuB; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751649AbeEKFR1 (ORCPT + 99 others); Fri, 11 May 2018 01:17:27 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:40318 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbeEKFR0 (ORCPT ); Fri, 11 May 2018 01:17:26 -0400 Received: by mail-it0-f65.google.com with SMTP id j186-v6so754488ita.5 for ; Thu, 10 May 2018 22:17:26 -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=KmfPeE6peusbF3hQ1g/KsCZmxV++0LzcI+CZ6q5z+5g=; b=S1hb+GuBrsDLOmEDs0wmFDm8rCcTLk6MGruRmlWTiZVq0ogUs1lwbWDQho6GejcUbi FU6/kwSWliWxKpCrSPceeBt4JpuPly/PUPnOKLOMEAren1FF/7HhT5OBfJIE0ByTeNkV TCU1V5/SpRqHsF8k9TQLNl7/WPts+OTHoRJdShDME3WCCdOCg3M1Lexi7KcV4zi27wNi klOjpswPy8G1+lX48ihs5aAd30faMr2vhY+Dj5LDoImFQCOkfppF7Zko9BN2MK6kSP/R L8emFKmUfXdRJTKazi6EQvDhm7qwHYRtbJiuXbuoEf730Z2gmbaocrnhyDgNk6lm73// Dn+g== 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=KmfPeE6peusbF3hQ1g/KsCZmxV++0LzcI+CZ6q5z+5g=; b=Va1Nl8gSSLlr/+P1FflyCSAuBuSFatecKQXe3WGQ88PBZ6biZ7SI2RSXFhnOEUU4mG UPpGek8paMPChf68WAgJyxSlqMkDoNXa/dF9NFgjnCEFxeE0liRIrILr1bFvJr1tSqDj NGQAsterieGHroO2ACsCKkl+f7TtMxcdTjoirjUAqOPTeGk3z+sM4C7IMklzkuHm7kyt x+6zOfQfnyP4M0lNwvwzNe/WV9mdXM/u0kGRqaROwkLvGCA/mE8XaeKEtOsyO/f7iO5r jNOJlSdRMbe1vTzWfmR9Mn4a4OZMYhE/aR2qxiZfT4Qjafa1Ug3WQ9Fw17Ilzp978vE2 eYUw== X-Gm-Message-State: ALKqPwcWY1MGhlm0E5pb0XKUeQILUAm9z90W/X/B2I8Zk4k+IjIKFMPn OpveMeLuSP2do9K1ezM3OKZZVTqVQUDUcosWRlk= X-Received: by 2002:a24:aa4f:: with SMTP id y15-v6mr1856926iti.144.1526015845688; Thu, 10 May 2018 22:17:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.64.12 with HTTP; Thu, 10 May 2018 22:17:05 -0700 (PDT) In-Reply-To: References: <4ccb747b-fb3b-18c8-8737-2cc02d7b1c34@roeck-us.net> From: Kito Cheng Date: Fri, 11 May 2018 13:17:05 +0800 X-Google-Sender-Auth: P5a5bQBqRw8CdZScFkVnFNCnmU8 Message-ID: Subject: Re: nds32 build failures To: Arnd Bergmann Cc: Greentime Hu , Guenter Roeck , "linux-kernel@vger.kernel.org" , Vincent Chen , Greentime Hu , =?UTF-8?B?QWxlYyBJLVdlaSBXdSjlkLPlpZXnt68p?= , Chung-Ju Wu , Kito Cheng 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 Hi Arnd: I am GCC guy from Andes, we've missed the release schedule for GCC 8, we didn't upstream the Linux support on time. Our plan is put our GCC 8 on github and continue commit rest patches to upstream. And we'll put our source on github after our internal testing done. Thanks. On Fri, May 11, 2018 at 10:40 AM, 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? > > Arnd