This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [buildbot] Customized build and board file


On Wednesday, October 05 2016, Yao Qi wrote:

> Hi Sergio,

Hey Yao,

> I want to add a new build slave on gcc114 (aarch64) for aarch32
> gdb testing, that is, gdb and test cases are built by arm-linux-gnueabihf
> compiler.
>
> I want to configure gdb with "--target=arm-linux-gnueabihf
> --host=arm-linux-gnueabihf --build=arm-linux-gnueabihf", and other options,
> and also provide a board file "unix-aarch32.exp" in which
> arm-linux-gnueabihf can be used to compile test cases.
>
> Can we do these things above in our buildbot infrastructure?

Yes, it is possible to provide specific parameters to a builder, so it
should be easy to do this.  About the new board file, I understand that
it is just a workaround due to the limitations you mentioned below, and
as such it is not going to be put upstream, right?  We'd also have to
provide a specific parameter to this builder if we want it to use this
board file.

> Note that this is trade-off among various limitations,
>  - we don't have armv7 devices in gcc compile farm, so we have to emulate
>    on an armv8 machine,
>  - libc6:armhf is not installed on gcc114, so I build the toolchain, and force
>    gdb and test programs use my sysroot.  I am going to raise a request to
>    install libc6:armhf, but it may take a while.

It's been a while since I want to have an ARM buildslave on the
BuildBot, so even with these limitations I still think it's a nice thing
to have.

Thanks for working on this.  I'll have to write special code for this
buildslave, so let me know when you have everything ready.

Cheers,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]