Received: by 10.223.185.116 with SMTP id b49csp26273wrg; Thu, 22 Feb 2018 15:49:54 -0800 (PST) X-Google-Smtp-Source: AH8x224Ox7fSbMicMhsnPNm6sfke2Dxdv/sjVXrIF7deAP6kXSSQMIMaS/W42uU5Hk06UHQp9qnz X-Received: by 10.101.100.147 with SMTP id e19mr6997790pgv.88.1519343394723; Thu, 22 Feb 2018 15:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519343394; cv=none; d=google.com; s=arc-20160816; b=qN47JdsArc93ceBNvjzEyoTPiWtT1mKdss/y2CyESRe9hdB4O1lDgBVaqkFbhxVoCn 3mye7YsdDETvnJwpZla8c9sFmuJcc1zSE65GjwLcaS+03NZgPyiJJGBV3NMFk6iLpDgS iU6h3XOtR84vFPuwdY+bpGrGMkHc4tiV0sGYr5qU3HLplzYnOn6QngXA2VVbCwOTTn5m IAqMLjhrIFRMB5ODYSKiwNUi8W50AHcaPDGGOeaPlUkQGtv3EghrWpVSB+x92Zx/+swi ds0t7a5e/IlRjtveFK9otclSB0pyhX9lPYXVg64JHZjvQ+E9uOLUzN2MZlhz7kpo5VlA lZNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=9lB8w03p4VdWofQyUAjQM1w4sBUn3FU6Cq23gT8IXSs=; b=rcrZMiuH8dn+xHpxANKttXDaj4hai+IOFBOj1kud/e6PkXR1VJyhN+vUi7DAGmKFFR S56acVGMhdULsLYcS6uh16shC9lMqI/AkgI7iRHu9brohLU0Ne2MecWzaOtObBFsig+x y2X4FSfKG/UiRUG71nZFkXyw+RaWBuYdLJgts4DeROgSsNnAERUaxSC8SvWTE00gLgex CytzsNwEcbvZke92LFHNrmUtdhF1jlWXVTTuxPYnC0TyNhhRxtAPtS705BDXVXQ2h+yu zxSKGdxc6mqh2Dr3T0P58QXo1HsnAfaqR+Wu49Iv1wrcwDbnJhs4GENbDgUCTQbEIL7w CA9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=q4HEgEIA; 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 y96-v6si764705plh.796.2018.02.22.15.49.40; Thu, 22 Feb 2018 15:49:54 -0800 (PST) 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=q4HEgEIA; 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 S1752018AbeBVXsi (ORCPT + 99 others); Thu, 22 Feb 2018 18:48:38 -0500 Received: from mail-ot0-f195.google.com ([74.125.82.195]:40519 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751586AbeBVXsg (ORCPT ); Thu, 22 Feb 2018 18:48:36 -0500 Received: by mail-ot0-f195.google.com with SMTP id s4so6260866oth.7; Thu, 22 Feb 2018 15:48:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9lB8w03p4VdWofQyUAjQM1w4sBUn3FU6Cq23gT8IXSs=; b=q4HEgEIAzD8kqpAQCPyspsSpRbTpwSa1UINbOay40P31CMGaRG8vZUc4wnscj2HC1J +hbKR1KH/Ba/zTL8X9kTRy7qls4kYG5C2S1MIUiELqJhly7RPXM5z2f77UfBcFSfrEbt nea3myA3TmkZe/6mUKKaboXtJhNr5rlCfQ9t/8XiZMo2WgTFz0hP5Pu6ohon8K0h78m/ ApiWhw8YI1Gs1N813ml5b0ehCVhdZMwEeZ+3PTTAaH3zgMpNQ4uCMLAwhd+BQv0OH7Cn 9ziGsukT/IEcWps1M2l5cLjL+qjcr2EUCxGAqWj31NOZ1UHvfHLJTpVWRLk5ZtmXXQUJ wGFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=9lB8w03p4VdWofQyUAjQM1w4sBUn3FU6Cq23gT8IXSs=; b=qrdqe/MVBRk9YUou7Q3+nzkT5tL4qFKgj7Tf6XgCJP91BZbBdRlybhVZ2KLqip8waU Q2cUWrXQML/8fOhsPa3FGIN/rtf8ajxQWpU+mdyM9bEg4GJ4jmPJY+xx/mq+ndhQmtpg 8h9jTMkgteVmfXps9p9NVENVL1aXwrzlqcqWw6OrGasNZVSmhQcqBh/yRgnmYOW0oEdF M/Kl+9BTLYa7pXnk/dYtppl5ihFsYoNBVZlbwYIhP8hwpmgh2agFFUw730pfVCIzsD0I rq+zJvR5R8HTZ4PtcCGzuBmYUldn966S5ilB2iLBwLyzJUuV3RqmTgd38OKoj4mV+tl0 JMRw== X-Gm-Message-State: APf1xPD9rFILDelKP/JzGidNoxj0afcn5RaYqj/mZBovx+i5nSUF/FPs F8AkFlClq0ghjUJOHf1+5l4= X-Received: by 10.157.65.237 with SMTP id v42mr6656254oti.156.1519343315729; Thu, 22 Feb 2018 15:48:35 -0800 (PST) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id s62sm580993oia.37.2018.02.22.15.48.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 15:48:34 -0800 (PST) Date: Thu, 22 Feb 2018 15:48:33 -0800 From: Guenter Roeck To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , Richard Kuo , linux-hexagon@vger.kernel.org, Chen Liqin , Lennox Wu , Guan Xuetao , Al Viro , James Hogan , linux-metag@vger.kernel.org, Jonas Bonn , Stefan Kristiansson , Stafford Horne , openrisc@lists.librecores.org, David Howells Subject: Re: Removing architectures without upstream gcc support Message-ID: <20180222234833.GA3047@roeck-us.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 04:45:06PM +0100, Arnd Bergmann wrote: > While building the cross-toolchains, I noticed that overall, we can build almost > all linux target architectures with upstream binutils and gcc these days, > however there are still some exceptions, and I'd like to find out if anyone > has objections to removing the ones that do not have upstream support. > This are the four architectures I found: > > * score (s+core, sunplus core) was a proprietary RISC architecture > made by sunplus. It is unclear if they still ship any products based on > this architecture, all they list is either ARM Cortex-A9 or an unspecified > RISC core that could be any of arm, mips, nds32, arc, xtensa or > something completely different. The two maintainers have both left the > company many years ago and have not contributed any patches in > at least five years. There was an upstream gcc port, which was marked > 'obsolete' in 2013 and got removed in gcc-5.0. > I conclude that this is dead in Linux and can be removed > > * unicore32 was a research project at Peking University with a SoC > based on the Intel PXA design. No gcc source code has ever been > published, the only toolchain available is a set of binaries that include > a gcc-4.4 compiler. The project page at > http://mprc.pku.edu.cn/~guanxuetao/linux/ has a TODO list that has > not been modified since 2011. The maintainer still Acks patches > and has last sent a pull request in 2014 and last sent a patch of > his own in 2012 when the project appears to have stalled. > I would suggest removing this one. > The above two would be primary removal targets for me; they are all but impossible to support given the toolchain limitations. Meta would have been another one, but James is already taking care of it. Guenter > * Hexagon is Qualcomm's DSP architecture. It is being actively used > in all Snapdragon ARM SoCs, but the kernel code appears to be > the result of a failed research project to make a standalone Hexagon > SoC without an ARM core. There is some information about the > project at https://wiki.codeaurora.org/xwiki/bin/Hexagon/ and > https://unix.stackexchange.com/questions/246243/what-is-was-the-qualcomm-hexagon-comet-board > There is a port to gcc-4.5 on the project page, which is evidently > abandoned, but there is an active upstream LLVM port that is > apparently used to build non-Linux programs. > I would consider this one a candidate for removal as well, given that > there were never any machines outside of Qualcomm that used this, > and they are no longer interested themselves. > > * Meta was ImgTec's own architecture and they upstreamed the kernel > port just before they acquired MIPS. Apparently Meta was abandoned > shortly afterwards and disappeared from imgtec's website in 2014. > The maintainer is still fixing bugs in the port, but I could not find > any toolchain more recent than > https://github.com/img-meta/metag-buildroot/tree/metag-core/toolchain/gcc/4.2.4 > Not sure about this one, I'd be interested in more background > from James Hogan, who probably has an opinion and might have > newer toolchain sources. > > * OpenRISC is a RISC architecture with a free license and an > active community. It seems to have lost a bit of steam after RISC-V > is rapidly taking over that niche, but there are chips out there and > the design isn't going away. Listing it here for completeness only > because there is no upstream gcc port yet, but this will hopefully > change in the future based on > https://lists.librecores.org/pipermail/openrisc/2018-January/000958.html > and I had no problems locating the gcc-7.x tree for building my > toolchains. The port is actively being maintained. > > There are also a couple of architectures that are more or less > unmaintained but do have working gcc support: FR-V and M32R > have been orphaned for a while and are not getting updated > MN10300 is still maintained officially by David Howells but doesn't > seem any more active than the other two, the last real updates were > in 2013. > > Arnd