Failure when compiling for cortex-m4

Marc Glisse marc.glisse at inria.fr
Fri Mar 25 14:05:18 UTC 2016


On Fri, 25 Mar 2016, Niels Möller wrote:

> Robert Baruch <robert.c.baruch at gmail.com> writes:
>
>> Note: Cortex-M4 only has Thumb mode, and implements the Thumb-2 instruction
>> set. It does not have ARM mode and cannot execute ARM instructions.
>
> I think most or all of gmp's ARM assembly code doesn't support thumb.
> You're best bet for now is probably to configure with
> --disable-assembly.

Although it is always worth trying a recent snapshot from 
https://gmplib.org/download/snapshot/ . Even if it doesn't fix the issue, 
it makes any patch you write easier for us to handle.

-- 
Marc Glisse


More information about the gmp-bugs mailing list