GMP 6.0 miscompiles for arm-unknown-linux-gnueabihf
marc.glisse at inria.fr
Fri Apr 4 14:17:26 UTC 2014
On Fri, 4 Apr 2014, Torbjorn Granlund wrote:
> Torbjorn Granlund <tg at gmplib.org> writes:
> This is a new bug, in probably in the assembler which mistakes plain old
> ARM instructions for Thumb instructions, but possibly the compiler
> passes some silly options to misdirect the assembler.
> I assume that your toolchain generates is thumb by default.
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.
More information about the gmp-bugs