Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1406473imm; Tue, 22 May 2018 03:40:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZphEoYPqksTTYFC0XY4fcKnmcNkgV7F7t+Xs1aVW+05y74E/b3MLoapAit5LWnFC06jiDP1 X-Received: by 2002:a63:2783:: with SMTP id n125-v6mr18319232pgn.377.1526985617833; Tue, 22 May 2018 03:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526985617; cv=none; d=google.com; s=arc-20160816; b=O/cBjuDQCLMvZuioNSdGnYYee0TCZVsUdjb/w2rFadAHui4uOs4W0u3c6ZTnKuPoUu aHalcNsu3DiK3pzqNWevFuvM50P/1mCZvvFMbCsjwt1u2pvWwMOi9omoyBeLFxV+IWdP NMZA1ZTb6Az6jVKxVve4dNmtAlK9OR+1rhB8CUWmKtnI3HcE/SQ2+QBF0j8vSUoH7WaH Y1nWB0vTK/aYSKN6kXBUyIBxKYxf7Iidrevd3x5Xh34elPHX2Twn5LLICbLxMTA4urAE tjZDKF4k5V5H9EyxBBaHRNb55dUVXpk5z4trfsPJTunubuEhBLoxP9H9xaiuwTAG2zkU vaWw== 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=fUr4b6bOPol1Ql2Q2x4vTTiGycS43pek2UWhsxFMdQo=; b=JgdqLAnbaYu3evlrjIX3mDcoJezieFC5fgPAidTxKDDQrZNb0w7RNfhLg94eWzmQae zFsS9eoQ2hT1vLQPdB3FAX4a41V40WIbkq0/dUUQyxXYDRZLgqpOLdTCLopz3EfVAiaI +t1wGNJ3FmJJkOGFltP8w86oO94QYM0FKkdGUht7DykogPEIWuWJtWM6rxxOdogbpzJ1 eGihXv8dUFpn4KHydM41dRyQldMcIHjUO4/Ajzgf/ZlaxIMkUC7GFrSJwt9fnNAOeZtN Po/ePAbBi/yv+WRaYkUeeBTH/IKZyfSQIi9BnZ8AnbdVFno17ulS+iRV21BOuRasAXRW obaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OpbCTLSu; 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 z6-v6si16104148pfk.194.2018.05.22.03.40.03; Tue, 22 May 2018 03:40:17 -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=OpbCTLSu; 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 S1751343AbeEVKjp (ORCPT + 99 others); Tue, 22 May 2018 06:39:45 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:32827 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751240AbeEVKjn (ORCPT ); Tue, 22 May 2018 06:39:43 -0400 Received: by mail-qk0-f194.google.com with SMTP id s12-v6so4460701qke.0 for ; Tue, 22 May 2018 03:39:43 -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=fUr4b6bOPol1Ql2Q2x4vTTiGycS43pek2UWhsxFMdQo=; b=OpbCTLSuJvjdd2NWqnpMblN14aKpY2eShpjIrI8MM3FPiNcHKZloux7HKZr9qFtD28 QSFsamnHmhiKQW4/sZUYIY1W1Xuf6rwV8D/OgB4PVXx6s/yDsZXZ96W0SkY7oxjM/mrc hP5cTPWsiimKOFcEAPC1q3nqsZYWx/EywioF+l27D+OhDSlquh1g9KOaO4PCNFQRmQFR FY6TfZ6FPLYxYFuBrONcWyZ7EIjdTeoVn5zjo94Z8uCuG9C1ZJVMwlSMz2Iq+zjPguff tlL2GSIR+F4P+hb/RhSWGhslomHieUgTvuO5ZOG5k0/ZSH6OJScFaJZMue4zISv0LBwj 7PhA== 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=fUr4b6bOPol1Ql2Q2x4vTTiGycS43pek2UWhsxFMdQo=; b=C3ZMoEoCWCpbJn+dJhZKbPAqfNjfv+8UtfPaMe0Phpc2mrF9Xhpz011cH4Vrhilifn OorFg+cHQxWImCROkmSy/C26h9bZIemIEfx0TiMtwHB8XATiCvCDN1GNYfkBH8rYBxZh Faz1bGQumLTN0dKHoUzyu/qVqTbVGJFwRXHG3QWwTZLnLug0zfWs8bBT1iZfYeFUxBpw kinWoJ0Xbn4jLcoO8A5T6jLV+WLua+lkLZYez+z0titLJySGDMV6nCZTru8YZ31Lc1PT 3ombRz1PGsIshN6umnwHJMYKomVcCkw9P7oEsD+BEgmXQ4G3HUeXOIhOjDQfX9zJwWV/ 7xsA== X-Gm-Message-State: ALKqPweB4099BA3/40b2GG7s2kiKAx8kv1ku5LpF8cAa2rowVASEuDTU vLLwcA8nocMKR4wuLAwERIAfOFF1xVl4s30xhXo= X-Received: by 2002:a37:c95c:: with SMTP id q89-v6mr1586796qki.174.1526985583119; Tue, 22 May 2018 03:39:43 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a0c:b903:0:0:0:0:0 with HTTP; Tue, 22 May 2018 03:39:42 -0700 (PDT) In-Reply-To: <20180522021521.GB23455@andestech.com> References: <4ccb747b-fb3b-18c8-8737-2cc02d7b1c34@roeck-us.net> <20180522021521.GB23455@andestech.com> From: Arnd Bergmann Date: Tue, 22 May 2018 12:39:42 +0200 X-Google-Sender-Auth: y6UE9vV1CUPMCil47K6BwsBOw0E Message-ID: Subject: Re: nds32 build failures To: Vincent Chen Cc: Greentime Hu , Guenter Roeck , "linux-kernel@vger.kernel.org" , "Greentime Ying-Han Hu(?????????)" , "Alec I-Wei Wu(?????????)" , Chung-Ju Wu , "Kito Huang-Jia Cheng(?????????)" , Vincent Chen 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 Tue, May 22, 2018 at 4:15 AM, Vincent Chen wrote: > On Fri, May 11, 2018 at 01:17:05PM +0800, Kito Cheng wrote: >> 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. >> > Dear Arnd: > > The prebuilt nds32 toochain with gcc 8 is placed here > https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases > > The source code of each component for this toolchain is placed here. > a. gcc: > path: https://github.com/andestech/gcc.git > branch: nds32-8.1.0-upstream > b. binutils > path: https://github.com/andestech/binutils.git > branch: nds32-binutils-2.30-branch-open > c. glibc > path: https://github.com/andestech/glibc.git > branch: nds32-glibc-2.27-v0 > d. Linux > path: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > branch: master > > This toolchain also can be manually generated by the following script > https://github.com/andestech/build_script/blob/master/build_toolchain.sh > > We successfully generate a bootable kernel image with nds32 defconfig by this > toolchain. However, we find a new compiler warning, Wstringop-overflow, when > building arch/nds32/kernel/vdso.o. We have sent a patch to fix it. Ok, very good! I'm back from my travels now and have built a new set of cross-toolchains that I'm currently uploading to kernel.org, using your sources for nds32 and the mainline binutils-2.30/gcc-8.1.0 sources for everything else. I still see a number of other warnings in architecture independent files, but none that you need to be worried about. We should be able to get back a clean build without warnings soon. Arnd