Received: by 10.223.185.116 with SMTP id b49csp5652550wrg; Tue, 27 Feb 2018 18:08:16 -0800 (PST) X-Google-Smtp-Source: AG47ELv3SVEsZsJLUtGEkWUhEooXn1s0xxaPzxACSyffphPp4BLed9BFpuDt0PQOgY7iF/GoyKje X-Received: by 2002:a17:902:6b:: with SMTP id 98-v6mr9495665pla.403.1519783696002; Tue, 27 Feb 2018 18:08:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519783695; cv=none; d=google.com; s=arc-20160816; b=d56EEDc+OE4Lhu6biXpZCYlWjGbBlyHOz+twYyRU9Dpord3HruxdN6ldZaATPyLYbH tuLkGRZD9QUqV0I0+3GCwpkloyKXpB7B9U/ADtmKi33QujUspE80WKOWOMfqJqWpNSG0 oAH2GTXFeIIRlocsm7ftmhDrkKXuHqiodj9lm34vAZ8HTRtWaX0Hofj6YmfISMhUqBWe KvBUfaB/3jV7J+0vlUdQx20PGqvJLJ9xNxnxfHuzyN+JQQK7QQZt5gXoh7jICkhyGH4P Oiug10k3Lf/mQSLvgm4Gx5zw/I3xERoXGED7NoZfz6FKFz2sxKlb2XJby+zqXi+pMejB o4vw== 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:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=b4FPGGXY96w3xJQBvkbc3JZ+Aw+7AjBbJNIJVZjxEv8=; b=meMhqQo8Nhqfw3Gs5vWupj0R9nyXB4U/A70bxZN7yQtvqcmp4hkgbFfa+Psl+khaUP DpZQhWRsyiap3wiauTeYH0fp3++KhM78wEfK3U9IkD7GK+szj8ZD3czUwzF+MMPMgwoH /TZuUElEK03mwpjIlKyvZKDy/PEQh9pt+tMnWvHs+/CvSO4vzuqXbYQNk0jGaHKf4QKu hNvW3YAf6fBuI+ZMpfXz3FVLBhufFGeQw/YKQmKrC3vSW5IgoyHgEzLV9S9JYbxGfJsd sVsgudvW/i3nXGpUoWRWFD1PQCfiChTHZW2ayYKfZyB5mLQvAvfoW6kyzDZ+PofJ5Dx2 +Rsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=LrH/xO2A; dkim=pass header.i=@codeaurora.org header.s=default header.b=LrH/xO2A; 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 a80si392118pfa.315.2018.02.27.18.08.00; Tue, 27 Feb 2018 18:08:15 -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=@codeaurora.org header.s=default header.b=LrH/xO2A; dkim=pass header.i=@codeaurora.org header.s=default header.b=LrH/xO2A; 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 S1751845AbeB1CGi (ORCPT + 99 others); Tue, 27 Feb 2018 21:06:38 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:48482 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751811AbeB1CGf (ORCPT ); Tue, 27 Feb 2018 21:06:35 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DD0A66084A; Wed, 28 Feb 2018 02:06:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519783594; bh=tTOHj79JyRFLn/wKrzX3GS/fUneH0sRm6Fp22SALlqI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LrH/xO2AH46SJ7bkopxYi9ir7BaoP1zzRgYE/2ECOeprR6LuG7Uog43XnrW/1unOp olEvZor4+i6gZ9vwreaypyikOhuv5ftfdbNpBSJcCZRdPFsUm6YQ0TdCyPcWSDV/nQ B94+KzZiiSfqsU6qwJOdszupENRQPzLOpeM/CtoE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from codeaurora.org (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rkuo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1F1E860390; Wed, 28 Feb 2018 02:06:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519783594; bh=tTOHj79JyRFLn/wKrzX3GS/fUneH0sRm6Fp22SALlqI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LrH/xO2AH46SJ7bkopxYi9ir7BaoP1zzRgYE/2ECOeprR6LuG7Uog43XnrW/1unOp olEvZor4+i6gZ9vwreaypyikOhuv5ftfdbNpBSJcCZRdPFsUm6YQ0TdCyPcWSDV/nQ B94+KzZiiSfqsU6qwJOdszupENRQPzLOpeM/CtoE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1F1E860390 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rkuo@codeaurora.org Date: Tue, 27 Feb 2018 20:06:31 -0600 From: Richard Kuo To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , 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 Subject: Re: Removing architectures without upstream gcc support Message-ID: <20180228020631.GB3780@codeaurora.org> References: <20180222191758.GB5180@codeaurora.org> 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 11:43:10PM +0100, Arnd Bergmann wrote: > - How do I build an llvm based toolchain for Hexagon? Do I need patches > on top of the llvm-6 release branch? Where can I find the corresponding > binutils-2.30 sources? Just to follow up on this, the closest thing right now to compile the kernel for Hexagon is the toolchain included with the Hexagon SDK. However, the linker will fail because of something in the kernel build process that I think produces empty sections, which that linker can't handle. A newer linker can handle it, but that's not scheduled to be released until much later this year. That's actually the closest option currently. I tried the upstream source but it seems to lack some specific patches to support kernel compilation, so I will need to chase those down. Thanks, Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project