From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75348 invoked by alias); 6 Oct 2016 21:08:21 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 75336 invoked by uid 89); 6 Oct 2016 21:08:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=slave, emulate, hey, our X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Oct 2016 21:08:10 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 366E385376; Thu, 6 Oct 2016 21:08:09 +0000 (UTC) Received: from localhost (unused-10-15-17-193.yyz.redhat.com [10.15.17.193]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u96L88v4025827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 6 Oct 2016 17:08:08 -0400 From: Sergio Durigan Junior To: Yao Qi Cc: "gdb-patches\@sourceware.org" Subject: Re: [buildbot] Customized build and board file References: X-URL: http://blog.sergiodj.net Date: Thu, 06 Oct 2016 21:08:00 -0000 In-Reply-To: (Yao Qi's message of "Wed, 5 Oct 2016 12:01:07 +0100") Message-ID: <871szt89tz.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00151.txt.bz2 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/