Re: [PATCH v2 02/10] Add Aarch64 SVE Linux headers

Alan Hayward
2018-06-12T17:51:29Z

> On 12 Jun 2018, at 17:34, Sergio Durigan Junior <sergiodj@redhat.com> wrote:
>
> On Tuesday, June 12 2018, Simon Marchi wrote:
>
>> On 2018-06-12 10:37, Alan Hayward wrote:
>>> Sorry, I did miss this one (I think I sent my reply to the previous
>>> one more or less the same time you sent this).
>>>
>>> If I commit this, (I think) this is going to cause buildbot to break
>>> for the aarch64 builds.
>>> (Out of interest - I’ve heard people say they tested on buildbot. Are
>>> there some instructions for doing that? I can try it out.)
>>
>> Hmm you're right. Though maybe we can have additional
>> commands/configure options specific to the aarch64 builders? They
>> could download a kernel tarball, install the headers somewhere (that
>> doesn't take long, no need to build the kernel) and point to them.
>> Sergio, would that be possible/a good idea?
>
> I'm not sure. For starters, the Aarch64 builders have kinda been
> forgotten since Yao stopped contributing regularly to GDB (he is the
> maintainer of the machines behind the builders). So the very first
> thing we'd need to do is to put the builders in a good shape again
> (they're currently with 273 pending builds in the queue!). This is
> something that's been on my TODO list for a while now, and I was going
> to ask Alan (or anyone from ARM) if they're not interested in taking
> over the maintenance of these machines.

Looking after the aarch64 boxes does sound like a job for an Arm person.
I guess it’ll be fairly important to get those queues cleared _before_
8.2 is released. I can certainly take a look at the pending builds in
the next few weeks.
Once I’ve got the sve stuff cleared I wanted to take a step back and see
what general things needed doing for aarch64 (I’ve also got a couple of
lingering non-gdb things to wrap up too, so that’s going to eat into my
time).

>
> Then, I think the best approach for the SVE builds would be to manually
> download a Linux kernel, put the sources somewhere, and then I could
> configure a specific builder to build GDB with the SVE headers.
>

Given the current queues, I suspect we’d not get this done before the 8.2
branch.

I’m thinking configure check of Pedro’s sounds the first step, then once
the aarch64 build queues have been cleared, get some sve builds added.

The SVE headers are in Ubuntu 18.04 - so “all” that’s needed is to do a
dist upgrade on them (I suspect there are probably lots of reasons why
that can’t be done!)

Alan.