Received: from list by lists.gnu.org with archive (Exim 4.71) id 1hQXXW-0005ww-G4 for mharc-grub-devel@gnu.org; Tue, 14 May 2019 09:32:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQXXT-0005vr-AG for grub-devel@gnu.org; Tue, 14 May 2019 09:32:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQXXP-0005kv-8T for grub-devel@gnu.org; Tue, 14 May 2019 09:32:15 -0400 Received: from mail.csgraf.de ([188.138.100.120]:33824 helo=zulu616.server4you.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQXXP-0005ie-1a for grub-devel@gnu.org; Tue, 14 May 2019 09:32:11 -0400 Received: from macbook-2.local (unknown [70.102.71.89]) by csgraf.de (Postfix) with ESMTPSA id 0F7AB390054D; Tue, 14 May 2019 15:32:08 +0200 (CEST) Subject: Re: [PATCH v2 7/8] travis: Add ARM thumb target to tests To: The development of GNU GRUB , Leif Lindholm References: <20190502065537.25636-1-agraf@csgraf.de> <20190502065537.25636-8-agraf@csgraf.de> <20190514100504.glgnspe26wkf3vet@bivouac.eciton.net> From: Alexander Graf Message-ID: Date: Tue, 14 May 2019 06:32:06 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190514100504.glgnspe26wkf3vet@bivouac.eciton.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 188.138.100.120 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2019 13:32:16 -0000 On 14.05.19 12:05, Leif Lindholm wrote: > Comment here as well: > > On Thu, May 02, 2019 at 08:55:36AM +0200, Alexander Graf wrote: >> We hit an error case which only got triggered on ARM Thumb code. So >> let's make sure we test that combination as well. > This is the default for at least several and possibly most ARMv7-A > distributions/prebuilt toolchains. > > So while a good idea, if you want to specifically force instruction > set use, the opposite case needs to be set up with -marm. > >> Signed-off-by: Alexander Graf >> --- >> .travis.yml | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/.travis.yml b/.travis.yml >> index 8571d9f1c..d8f6170e6 100644 >> --- a/.travis.yml >> +++ b/.travis.yml >> @@ -106,6 +106,11 @@ matrix: >> env: >> - GRUB_TARGETS=3D"arm-coreboot-vexpress arm-efi arm-uboot" >> - CROSS_TARGETS=3D"arm-linux-gnueabi" > But, wait... > arm-linux-gnueabi is the softfloat (v5te) toolchain - if we want to > test that, fine - but we definitely need to test arm-linux-gnueabihf. > > First of all, I would expect that this toolchain will not use T32 > (Thumb-2) instructions by default, so much of the code will end up > being compiled as A32 anyway. Yeah, that's why we don't need to pass in -marm I guess. But I also don't see an explicit hardfloat cross gcc on kernel.org? =C2=A0 https://mirrors.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.= 1.0/ Alex