Received: by 10.223.185.116 with SMTP id b49csp2073982wrg; Thu, 22 Feb 2018 07:47:09 -0800 (PST) X-Google-Smtp-Source: AH8x227+jIk48JPbKhhZRsZUhV+FenWBXvcZpYmg9NMSFozZxN2tkvNQzeq6VJJoq4j6Gym/OnMy X-Received: by 10.98.224.65 with SMTP id f62mr7341171pfh.191.1519314429848; Thu, 22 Feb 2018 07:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519314429; cv=none; d=google.com; s=arc-20160816; b=hh/GpdpSbze++vQJCWBI+rvVDeBvnDxxtS86vzlXcz1wIeTU2SdC55cKGyvfMO49fE BeUh+XrkeyWKknTH1ViStCaHx7VevMd4EWK5mXpzX5/7kWMvX+uBmCI/zJ/7xRIc2cjX Mp8rUOkZt+FPGsvQS3rVbNjsTyRHdVr18hgfeDdJrHCjnZadqEj9Qh+mYU9Rf1kMAl6O 4rkcw7M/kyneiAW1MazqDrmMXErHP8ZOAkLXdE5+FmyLs1n5Gdayw0/4D6IFsedKnkCZ v31onyRyOuAk8wOnVYZpbVh4e91fwV7yvKMijiEhdA0ckGVq6CISqwcyVYrb2urPfl+i N0mQ== 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 :mime-version:dkim-signature:arc-authentication-results; bh=HKGP1z+NJlxCaIPEpVB+8LroqjR5Xzpy/2CDlpSPY4Q=; b=IUZLCt+0PgxUbeZFKstt8VwQrPTycfVSeDPyQUTjYurHcLs49N+6kI0/wthkbnJ6RM KK7Y/cpw4wuhzFlJ5WxSXzI20+RfK2eyHhzwUMHJ6g/aw3c92E+Zjqqn/3jSF+8U0qNO j5FAgB3EgQa04dFnVwMz/wovd7T3wTRas1sKdMgMwSWwDizk7vfrf+oi23UiHnX0iktj Iu7bkxBvGLqlpyJRvW9jXOqFVL/Y8l3gaR2AeKIojr+X9lErWffqifWl1mLNR5ek4iPp 7U2DliEI66YC7kf+srxa7jdpZCvwd+XEVi4Y3wx5N45tatkJoEvc0S3tMl8pucUN94yy geCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=CB4cA+7D; 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 a6-v6si207102plz.497.2018.02.22.07.46.55; Thu, 22 Feb 2018 07:47:09 -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=CB4cA+7D; 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 S933144AbeBVPpL (ORCPT + 99 others); Thu, 22 Feb 2018 10:45:11 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:45251 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932942AbeBVPpI (ORCPT ); Thu, 22 Feb 2018 10:45:08 -0500 Received: by mail-qt0-f194.google.com with SMTP id v90so6807259qte.12; Thu, 22 Feb 2018 07:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=HKGP1z+NJlxCaIPEpVB+8LroqjR5Xzpy/2CDlpSPY4Q=; b=CB4cA+7DGUM5tk1AkQuN3tRG0obSVNfUvqtl+lgOMcESSI3TP0RvZq+dqmj/V3i4WL sGIhbg+J0KH/LxQpJOrEuGAsKQC3raqhr8hyhTkdqVkDbnNWDvWPToMnE8h/d7b21iOv 0HHTrf/YjsYdbl/kl4F+gCECRZpxdSccMzlYhS3Kj3A+j9S9gvbRGnC2CoGuTDvHer/o u1SZhIZVCo5VQNaLX6tZsFoXFBdHGrIiiQ5gQKhHig0OKOZ3/vTTZ0307EUwjM5cvWM3 p3yulrY+YeBLOCHSB5g9c1mjBvoY6UMl0PHojFLX78yz+CLJxI6Yls12sBCCuyzk6bWU 2fpw== 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:from:date:message-id:subject :to:cc; bh=HKGP1z+NJlxCaIPEpVB+8LroqjR5Xzpy/2CDlpSPY4Q=; b=schgwzUIdO2nPY/XOqYkT0+2s5kK3Dw99K/wkmBinVGJHCX1qAdmzxE1VQMOAV1ZKc M+pfAhJ4hYgsHQ1ESxk2tMJ3b85aAUeYtJ5LgOcLUAXfQyIzYE7F8Njo8TNZQaOYrEQV P7MWnQhCRWqEd6Ft/c8UOozRWcNx9CssSqfMHDki0Z2//qhbDqcQuihOvO+bwyLzS3jN d2CGMyMTWPicTQCPf2yfpB6wqwPfdDVWoQXIqi2L6ZP2A9v9t49n3HkOXnSvKrWKUYWM CDWFXaGxuYW0X5LOlScoXJVXtseef+DjjM6gXTbwhjc10YQfpXcRYbYyLiglOOGZEwQm ikGQ== X-Gm-Message-State: APf1xPCm760QBIs1K9iENi0EZjMJ3+uHkSiY3OAAKkqzw+xy9QWG93hP Y9q1lqn46RTnsuwcvXIoJ48iV4EYo0pBKGlaYiPB5BZ4 X-Received: by 10.200.47.53 with SMTP id j50mr11388607qta.185.1519314307472; Thu, 22 Feb 2018 07:45:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.198.17 with HTTP; Thu, 22 Feb 2018 07:45:06 -0800 (PST) From: Arnd Bergmann Date: Thu, 22 Feb 2018 16:45:06 +0100 X-Google-Sender-Auth: gcf18YPXwTI5nKHKErxX3IjrjW8 Message-ID: Subject: Removing architectures without upstream gcc support To: linux-arch , Linux Kernel Mailing List Cc: Richard Kuo , linux-hexagon@vger.kernel.org, Chen Liqin , Lennox Wu , 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 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