Received: by 10.223.185.116 with SMTP id b49csp2100404wrg; Thu, 22 Feb 2018 08:09:26 -0800 (PST) X-Google-Smtp-Source: AH8x226oRnFxcuDlDHY22Abw4D4ifweX+VticiGx0Q/N8RfDAkUYGsKPPoSAcFZgXD9VaoEFHLlF X-Received: by 10.101.85.204 with SMTP id k12mr6236968pgs.40.1519315766778; Thu, 22 Feb 2018 08:09:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519315766; cv=none; d=google.com; s=arc-20160816; b=PPUjSNf9PZArG43QIJctHoIwyPfKUjpwGD/sGfFot8oqE8wVHDT3pRlW8NUhGScfdo hOXhevCaPkcmpa3by1HUPJhji1oMRoRJ46faDUVmTavrfxxEgALW0q0lKRT7v+hmurva c9SXAGT5ZfjIS/Z6IzPF9+8Uc3IdFpglrxq93ueAZ0tVfLDzPD7FHcndF6MfIq8slH/+ pAaBZ8z6v8dfaT9C7jp4nq2pJe5YVgisI6Z++qR79VrkDfKNTz0Cddtc0KScST/GatOl tZT+Ju9ACL+aLraTS8WZ1SO3kq+9Rpx8tJXrq6syxla/9XHpZBq7paNq+W2nlsp4tp85 88PA== 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=148uAAJNe8q7IlbUvWbYzCIt9Y3RaemVfTOzoR1trfM=; b=COyB5PH4QrKoWx2jPpHjy6/i/CXOFliSP8I12Y9IIukxVw4z7Mgb87H5ynQuNoIsQD 585t0AlPbgBOu8+9sRM9Pnp6vtA269Qmxko639dJzR9r4/U2amM1+p0UK1b2JzzNc+jA jy+NR0BwB30ovCpuCJtSnzydsKZGEwC1O8NIABIRp96a53UnbAzWrksveAl5+UGft0aU vKLv8WopyO/gDiPTqccvisjrdz0eA0LokA3dw8DF16xsLR4ZAnc/fchikF9VW0VxehHB ngP1h7ua2ZGV/aUp1lwuz5znI2XK9xOKr8nMw6AWOcD5uz7IyYQIuCdFzxL/1+vmAZRO S/UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=S2Lh6Zwx; 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=pass (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 q3si193734pgp.632.2018.02.22.08.09.09; Thu, 22 Feb 2018 08:09:26 -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=pass header.i=@gmail.com header.s=20161025 header.b=S2Lh6Zwx; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933156AbeBVQHl (ORCPT + 99 others); Thu, 22 Feb 2018 11:07:41 -0500 Received: from mail-oi0-f41.google.com ([209.85.218.41]:35249 "EHLO mail-oi0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933068AbeBVQHj (ORCPT ); Thu, 22 Feb 2018 11:07:39 -0500 Received: by mail-oi0-f41.google.com with SMTP id x10so1505873oig.2; Thu, 22 Feb 2018 08:07:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=148uAAJNe8q7IlbUvWbYzCIt9Y3RaemVfTOzoR1trfM=; b=S2Lh6ZwxwRvTUpSuf8zv53b7mM0D+/C1JUoyQrhytZ1cnLDZYzxxbtknRvh5UqxVV1 vmkAP7g2ACgwjbkDoJyrRUObTOsQvnms4rqa37Bv4R14aWfffyMWJ6THcrDNPZG428Sk Zj2R4umTOKs+79N4gI3j20zCc2wd6lqbxxnfOSjraUY2MtKVHn7pgKhMRe1Rd2iNQ/Y0 4fr55wHnoqHiXOZfTX4r+WNS9MetWXShwPNK6TGp588aV1SDKIqTXO4JJ+m2OFtoiXkd gRo3pl9VNrztFt5nN0eSKG59droOSYk9ZrYw2PCzs128mK5v6av/kS9CXN5bqJxPlY2W OaOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=148uAAJNe8q7IlbUvWbYzCIt9Y3RaemVfTOzoR1trfM=; b=jOOVNPTP1vcs3nH7cBKzxKCzOtNxxkfuwkVAYS7mKvm7twliDfxJaDbEXoBCNTloTH JQRgLIeZ/5olbKfWekx5p0Wq3xaKxNQ8UP+6LyunEbXJIeGx9NC6jlBN4XkhO3PP/Ggb jX8/8bwx389zynZZCUyS/LDLXg/u5WGcU0NEG2uLEZnDKV4eA5a9Z4DFqCf1PS+d0JpO WshXDisb8zmG7PC3N8M5LqX39bdl8dg0Aih36TrEDNM9GXPVGacpVeEDJXdfwKWOYqLQ NZlm79Pi7XeJ3kPVANi1iFdwAV5PdB55wbWsoc4mvihT1oE0rGBJUhIC2nd6rg3lcSz2 1+VA== X-Gm-Message-State: APf1xPBqg59UgqpvstngQPmGocb6WPDGIr7dLuBdtOYhNZlaK1deEJcI /MgfxqnPkziUEacC4k78IVSRYUMHvfiaD7nJPgc= X-Received: by 10.202.77.143 with SMTP id a137mr5017767oib.300.1519315658106; Thu, 22 Feb 2018 08:07:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.46.203 with HTTP; Thu, 22 Feb 2018 08:07:37 -0800 (PST) In-Reply-To: References: From: Lennox Wu Date: Fri, 23 Feb 2018 00:07:37 +0800 Message-ID: Subject: Re: Removing architectures without upstream gcc support To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , Richard Kuo , linux-hexagon@vger.kernel.org, Chen Liqin , Guan Xuetao , Guenter Roeck , Al Viro , James Hogan , linux-metag@vger.kernel.org, Jonas Bonn , Stefan Kristiansson , Stafford Horne , openrisc@lists.librecores.org, David Howells 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 all, We agree to remove the Score arch. I have discussed the status with Sunplus, and they plan to replace the arch with ARM. I will make a request to remove Linux kernel, too. Best, Lennox 2018-02-22 23:45 GMT+08:00 Arnd Bergmann : > 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. > > * 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