Arithmetic bug on ARM (STM 32 F4)

Titouan Coladon titouan.coladon at
Fri Jan 22 12:29:13 UTC 2021


I cannot run make check because of the cross-compilation.

I also noticed that the GMP function "mpz_probab_prime_p" fail when GMP
is built with the latest versions (after 7) of gcc-arm-none-eabi.

Titouan Coladon

Le 22/01/2021 à 12:33, Vincent Lefevre a écrit :
> Hi,
> On 2021-01-22 11:59:43 +0100, Titouan Coladon wrote:
>> it's indeed, gcc that must have a bug.
>> The older bare metal version: gcc-arm-none-eabi-7-2017-q4-major-linux is
>> working properly.
>> Then the latest version : gcc-arm-none-eabi-8-2018-q4-major-linux,
>> gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux and
>> gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux all have the issue.
> Does "make check" fail? If it doesn't, perhaps a new test could be
> added.

More information about the gmp-bugs mailing list