From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Brian Cain" 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> References: <20210623141854.GA32155@lst.de> <08df01d7683d$8f5b7b70$ae127250$@codeaurora.org> Reply-To: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1624461333; 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=s2oWeicSwZBbeHP2x2NZqL71HGpALo4XnCd0/NBJRk6AZlyVtqxSaOijAnVieB3K9UI9yC3P h7yu+64oIQELRtTdU78VY9jNJAAMijL22q/Gae/roA8NG+i4TjSpkyrka987e7pTd0P3EM4W joT6jlh6BryEW86E+/zJFC40HnY= Sender: bcain=codeaurora.org@mg.codeaurora.org In-Reply-To: Content-Language: en-us List-ID: Content-Type: text/plain; charset="us-ascii" To: 'Arnd Bergmann' Cc: 'Christoph Hellwig' , 'Linus Torvalds' , 'Sid Manning' , "'open list:QUALCOMM HEXAGON...'" , 'Linux Kernel Mailing List' > -----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