[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 7/8] travis: Add ARM thumb target to tests

From: Alexander Graf
Subject: Re: [PATCH v2 7/8] travis: Add ARM thumb target to tests
Date: Wed, 29 May 2019 17:41:07 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 14.05.19 16:06, Leif Lindholm wrote:
> On Tue, May 14, 2019 at 06:32:06AM -0700, Alexander Graf wrote:
>>> 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
> Urgh.
> Yeah, so the default output of that toolchain gives
>   File Attributes
>   Tag_CPU_name: "5T"
>   Tag_CPU_arch: v5T
>   Tag_ARM_ISA_use: Yes
>   Tag_THUMB_ISA_use: Thumb-1
> In theory, you should be OK just adding
> "-mfloat-abi=hard -march=armv7-a+vfpv3-d16" to CFLAGS, since we're not
> using any toolchain-provided libraries:

In configure we're already forcing soft float, so there's little point
in adding these cflags :). In fact, when I do add them, I only get
configure errors because setting both -mhard-float and -msoft-float at
the same time confuses gcc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]