GMP 6.0 miscompiles for arm-unknown-linux-gnueabihf

Torbjorn Granlund tg at
Fri Apr 4 14:21:56 UTC 2014

Marc Glisse <marc.glisse at> 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.

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

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list