Received: by 10.223.185.116 with SMTP id b49csp3472230wrg; Mon, 26 Feb 2018 00:02:13 -0800 (PST) X-Google-Smtp-Source: AH8x224lt93CdGbOPnZUg6IuABuEtZh4tatBNSg9MnG/lqWNm79JjENZeYVhxXC9c6E3oDBRd5Yk X-Received: by 2002:a17:902:367:: with SMTP id 94-v6mr9956378pld.140.1519632133283; Mon, 26 Feb 2018 00:02:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519632133; cv=none; d=google.com; s=arc-20160816; b=Fhhqe2ycJg7CyAEMo1haTq+snWnQOOCFJt1Lq0QD6UasGtwsKJxdZ7Ishb5uNsFzgy GzGoBFjkjZAMrfMr9Iojm+L3ScPPiYv/0iyWi8JuNX1GWC/sRFYI1Jb1Vn+R/oHmusph WG7rHD9WEvPepMKkXQLnsJMdy0WXqXggWVo++4DD1BqL/CcolUmetkaI4J7HWwyUnjsU DXwfjIFiXAizh1UQDGv5JAKCj6GRijkxScyZYK/9CMD/rJ+1r+/Nn3T54g+43pv/hS/V 8CIr+YIkuuntwvTptK9skhl1cynIahCqusReteSaJzWbmGn5Xlz3klEu5JSSRo/vTDfI /3Zg== 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=pt5etWLRxFZXy8xe+GmFz9GfLlCb7GKD2nthOo8lpaY=; b=SXvanmlIRJlaqeNIYGFAMrX70OyAPKa9yflXMC/ASWHgFE/5cEg1coiFx/1XbFCwjc Wqx3dX4NtNX/sU0ZOx0bnW83rqf/krYoltv7pFt0rbbY7+c3Ab8FMUmQlh1cZ0NM1yfp kvNqWKaaaOhVc1AoL8D4x0xWnKR6leoN2+3dAxCDuZjNiKPBTKsQ+ICYAPO7TXrL6DIt QFAEQYNwWkljZ/s/PIRru7mRziDvJSTiLgZVCjSCN7jmSIXLitm2Ua8ci8XQq9PDJKY5 ZyfxK/q5vySnLknNJmVnm3c3CuV0PHaUo3XkdGjtp3HafhCyTN57vO4/ZsQPXKYLZ5aD gZgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=g3FqyAwI; 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 20si6342239pfp.312.2018.02.26.00.01.58; Mon, 26 Feb 2018 00:02:13 -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=g3FqyAwI; 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 S1752060AbeBZIA1 (ORCPT + 99 others); Mon, 26 Feb 2018 03:00:27 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:40412 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751986AbeBZIAY (ORCPT ); Mon, 26 Feb 2018 03:00:24 -0500 Received: by mail-qk0-f194.google.com with SMTP id o25so12500881qkl.7; Mon, 26 Feb 2018 00:00:24 -0800 (PST) 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=pt5etWLRxFZXy8xe+GmFz9GfLlCb7GKD2nthOo8lpaY=; b=g3FqyAwIkw7cWrk5Nyfb3sKLyenQ4Jm42n6oWQSWk7EeQvJk96CzUfz5cnAL5E3myg 6l2AViAcmNV+xSs/ESCigZwQj5sbH8CRI3IloeEyIfGbwVb8HoamdGY5gG7Y/FyM4y2Y LoL4aVIICKM0PZmmFTt5xwmAj9HnUCK1i+N7fSrSqe5pPtr6Yun+gePwUPz7+oHOxmP1 z996zRi30sfUHzHASxh1bI2MDKcJYkh/jY1j4iAprv2LR88FdCK9N28bPlr48RQ5IRwS HLc/vn08/yHIa9QTT+edm4L9P9Bo3BJUZ+ze0g2hm8j4e21av56Z7S9ptsY4kJHseKhR yJgA== 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=pt5etWLRxFZXy8xe+GmFz9GfLlCb7GKD2nthOo8lpaY=; b=l3YR8sFj4rgHlx3LHuOe7mfeEDfZ8+5KD55u8OtZ6Evh+6X5u/OUnW+Y5mNx64mpcb 4rgL9uUCPUu3NuhiWvbq1dpsGSmD8Jv/stQddNclraOnmAo3Tuo5jhCTXb/j0U1pvPFB ig/oR2NyfR7U0NDLfj3Rs8kEk6JMYgC5tpZtMAiurXBDR82AviGfwWak4Ff3LSKqzkNi jedg4xGaZ63diCLu4vNwMS998AgHEW680CMuKVtHTI3XW9ktpy91vnAz4ug7AsPNGJPi EOcv/HUn4jHx2xBG2M7/6cFRry9OsRlfOCRuP3CAXLfvEMcl/xsFtW4qXfEZnfJc9zLz j7qg== X-Gm-Message-State: APf1xPDEoGSfP3TkmHj1DBDyCjWFsi6Fy+abF4nIyXgVmyCyqaD9Ojb9 bToX1UOd1UfgptU/8zEBOXbOBA8RvmbMR8eGzvE= X-Received: by 10.55.158.83 with SMTP id h80mr14936313qke.330.1519632023475; Mon, 26 Feb 2018 00:00:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.198.17 with HTTP; Mon, 26 Feb 2018 00:00:22 -0800 (PST) In-Reply-To: <155284c9-7fd4-2f2c-0216-1c43622f88c3@philipp-wagner.com> References: <155284c9-7fd4-2f2c-0216-1c43622f88c3@philipp-wagner.com> From: Arnd Bergmann Date: Mon, 26 Feb 2018 09:00:22 +0100 X-Google-Sender-Auth: GOnmQsRLNNoHCC_MQf50jFmMeKk Message-ID: Subject: Re: [OpenRISC] Removing architectures without upstream gcc support To: Philipp Wagner Cc: linux-arch , Linux Kernel Mailing List , Jonas Bonn , Chen Liqin , "open list:QUALCOMM HEXAGON..." , Richard Kuo , David Howells , openrisc@lists.librecores.org, Lennox Wu , James Hogan , Guan Xuetao , "open list:METAG ARCHITECTURE" , Guenter Roeck , Al Viro 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 Sun, Feb 25, 2018 at 4:43 PM, Philipp Wagner wrote: > Am 22.02.2018 um 16:45 schrieb 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: >> [...] >> * 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. > > It's mostly mentioned in the mailing list thread you linked to, but just > for completeness in this thread: > > The OpenRISC GCC port is maintained and regularly updated to newer GCC > versions. It is not, however, upstreamed to the FSF due to a single > missing FSF copyright assignment from a developer who has written large > parts of the initial port. All code which has copyright assignments in > place (binutils, GDB, etc.) has been upstreamed lately. > > For GCC, Stafford Horne is actively working on rewriting the parts which > we don't have the FSF copyright assignment for (and unless something > very surprising happens, won't get). [If anyone wants to help, there's > GSoC project for it as well: > https://fossi-foundation.org/gsoc18-ideas#openrisc-gcc-port] > > So I'd be very sad if the openrisc port gets dropped from Linux upstream. Yes, definitely. What I was really trying to say here is I consider openrisc an obvious exception to the 'no more ports without upstream gcc' rule because of the above. On a related note, has anyone successfully built an openrisc kernel with llvm/clang? As we discussed for arch/hexagon/, that architecture is unlikely to ever get an upstream gcc port, but like openrisc does have an upstream llvm port and they actually use that. I know that x86 and arm64 mostly work with llvm, arm32 works in some of the more common configurations at least (not big-endian or older CPUs though) and some others probably work as well. I have already build both gcc-5.5 and gcc-7.3 for openrisc and uploaded those to https://www.kernel.org/pub/tools/crosstool/files/bin/, but if llvm works as well, that could be one more reason to try to build a working set of clang based cross toolchains. Arnd