Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5753745pxj; Wed, 23 Jun 2021 08:16:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKXGFlY9ZmWvTe9JJxf7KsafmLHMw7/lGu8S4+TQnxpxYjnejs7TYFFE57743a2aeTtCUy X-Received: by 2002:a5d:9b14:: with SMTP id y20mr84294ion.8.1624461389059; Wed, 23 Jun 2021 08:16:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624461389; cv=none; d=google.com; s=arc-20160816; b=cJ1DgYe93+3W3j5P9BCIBLMPxk04gq3dVzFQ8VpDimXajWe/jKdbMTRaIL8Nr0i9/3 aitl9y0yM7I50O3l91pf9270v5o5BsvPiKCR+vdd+6NTjrMRud2K0RgsF1FX2xhN6iqr MyX8CExh79d/pjwUGXO28HnQatSe9LvmH+iaPF4EOqRBemvzCWQBvr9ndcymptsWB5T3 yaCw0mvRF4CAt0YA8f+BLg+Uf3XeOhDoBLxb4v0U21Kuc1R+EGfJ2KPI17q4yCLgG4KG unWEomlHKfSMf+mvMrssby6u2FUR7RKZys5+7s2Vxi1sT2qDXfDFc8aBHh7qoUieXpZT eZtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:reply-to:dmarc-filter:sender :dkim-signature; bh=4vNjqSMYlYk5DogUqQXzNNYTENq480OkTALLBteEOqA=; b=B9PlmSlvCWaQMTFbRojdc2dzt7vHUZ9prry9AsfJqAMzbNFCEBMNxj5oncJKjL0iK+ yEBhhW0KMFYRNVA6aMx6HblwA5dhKoKI5pZPoIzk9qWMegyX23lZHr6O2bm01+xdNYnz IBTAJGOEpQ33hOc8zvIqByt3gb8HwnjTwNDCr3/ZmHmhC11rZADsFhkagO9EZyEMnhG0 VyFiHSdJGD8369Cfykh0Iy7Pdc6trcu20tvwhfOZI9RPKmL43vgl697KD85LZPKHA+ga C+D8trwUvWYIuGg0LjZxnKQimiTqg+jJ9sopp3fXmvwI5V/CF7X2k53j37Aoa9i4lWdc ZIwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=GOIGknUX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si19436268ilo.119.2021.06.23.08.16.16; Wed, 23 Jun 2021 08:16:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=GOIGknUX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231260AbhFWPR4 (ORCPT + 99 others); Wed, 23 Jun 2021 11:17:56 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:12337 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbhFWPRz (ORCPT ); Wed, 23 Jun 2021 11:17:55 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1624461337; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: Date: Subject: In-Reply-To: References: Cc: To: From: Reply-To: Sender; bh=4vNjqSMYlYk5DogUqQXzNNYTENq480OkTALLBteEOqA=; b=GOIGknUX99sJ9JKf4cICYAxsEOb8GBoXDZYL20Pj69zhcMBMGI5B29aFivTOIWuX7O2Ay7CA T9qVZZ0BcyO6YlP8ZwiL1ZoxGDStC9ZpFRSa8CsuwwScGbQ1baIrPxTA3UTmPE+ByUmNKJtI DU7IS6UsMcHfekkgzCJ3VaKUDF4= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-west-2.postgun.com with SMTP id 60d3500901dd9a943124aa5e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 23 Jun 2021 15:15:21 GMT Sender: bcain=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 91056C43460; Wed, 23 Jun 2021 15:15:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, PDS_BAD_THREAD_QP_64,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from BCAIN (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bcain) by smtp.codeaurora.org (Postfix) with ESMTPSA id 32E2CC433D3; Wed, 23 Jun 2021 15:15:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 32E2CC433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=bcain@codeaurora.org Reply-To: From: "Brian Cain" To: "'Arnd Bergmann'" Cc: "'Christoph Hellwig'" , "'Linus Torvalds'" , "'Sid Manning'" , "'open list:QUALCOMM HEXAGON...'" , "'Linux Kernel Mailing List'" References: <20210623141854.GA32155@lst.de> <08df01d7683d$8f5b7b70$ae127250$@codeaurora.org> In-Reply-To: Subject: RE: how can we test the hexagon port in mainline Date: Wed, 23 Jun 2021 10:15:19 -0500 Message-ID: <08e101d76842$94f78a60$bee69f20$@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJHxj6Ga6VuoE3mNrk9EKW2w3HC7gG6K8dnAg2GTieqIrkNAA== Content-Language: en-us Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Arnd Bergmann > Sent: Wednesday, June 23, 2021 9:54 AM > To: Brian Cain > Cc: Christoph Hellwig ; Linus Torvalds foundation.org>; Sid Manning ; open > list:QUALCOMM HEXAGON... ; Linux Kernel > Mailing List > Subject: Re: how can we test the hexagon port in mainline >=20 > On Wed, Jun 23, 2021 at 4:39 PM Brian Cain = wrote: > > > > > -----Original Message----- > > > From: Christoph Hellwig > > ... > > > > > > Hi all, > > > > > > the oldest supported gcc version in mainline is gcc 4.9. But the = only > > > hexagon crosscompiler I can find is the one Arnds website points = to here: > > > > > > https://mirrors.edge.kernel.org/pub/tools/crosstool/ > > > > > > which is a non-upstream gcc 4.6.1 port. How are we supposed to = even > > > build test hexagon code? > > > > We have provided a clang-12-based toolchain here: > > > > https://codelinaro.jfrog.io/artifactory/codelinaro-qemu/2021-05- > 12/clang+llv > > m-12.0.0-cross-hexagon-unknown-linux-musl.tar.xz >=20 > How close is this to the mainline clang builds from = https://apt.llvm.org/? This is built from llvm-project 12.0.0 but also contains userspace = toolchain features like musl and qemu-linux-user for hexagon. I suppose = for the purposes of kernel builds they're equivalent. > The last time we talked, there were still a couple of bugs that = prevented > me from building an unmodified kernel with an unmodified clang = toolchain, > but I think you planned to address those. Are any changes left that = did > not make it into the 12.0 release? I think those were identified building with clang 12.0.0 or post-12.0.0, = so I don't think they'll be addressed. Let me review and follow up on = the status of those items. I recall one workaround was to use the = integrated assembler to avoid one of the toolchain bugs. > > Could we update https://mirrors.edge.kernel.org/pub/tools/crosstool/ = to > > point here? >=20 > I'm happy to edit the index page on > https://mirrors.edge.kernel.org/pub/tools/crosstool, > but could you provide a stable URL that will keep pointing to the = latest > version > in the future so I don't have to update it for each new build? I don't know how to do that with the mechanisms we have so far. But I = will see about getting one created and then hopefully you could use = that. -Brian