GMP 6.0 miscompiles for arm-unknown-linux-gnueabihf

Marc Glisse marc.glisse at inria.fr
Fri Apr 4 14:36:51 UTC 2014


On Fri, 4 Apr 2014, Torbjorn Granlund wrote:

> Marc Glisse <marc.glisse at inria.fr> writes:
>
>  At least, with the options I tested earlier (the same used by Steve),
>  it defined __thumb__ and __thumb2__. If we don't specify CFLAGS, gmp
>  adds -marm which disables thumb.

And it built and passed the testsuite with what I assume is almost the 
same as Steve's setup (except I disabled c++).

> I suppose our thumb support is poor today.
>
> We should at least support thumb only devices, i.e., some low-end
> devices from the M series.  These should come out as "thumb-*-*" from
> config.guess.

I am not sure relying on config.guess will help that much, since most 
compilations are likely to be cross-compilations for those.

-- 
Marc Glisse


More information about the gmp-bugs mailing list