[cfarm-announces] New Arm Morello SoC machine: cfarm240

Marc Glisse marc.glisse at inria.fr
Thu Aug 24 10:04:31 CEST 2023

On Thu, 24 Aug 2023, Marc Glisse wrote:

> It seems that uname -p returns aarch64c, configfsf.guess uses that, and 
> configfsf.sub gets confused by that, so it should be reported there. Ah, I 
> already see at least
> https://lists.gnu.org/archive/html/config-patches/2023-08/msg00043.html
> so hopefully it will get discussed / solved there.

Hmm, but with that proposed patch, configure later fails with

checking size of void *... 16
checking size of unsigned short... 2
checking size of unsigned... 4
checking size of unsigned long... 8
checking size of mp_limb_t... 8
configure: error: Oops, mp_limb_t is 64 bits, but the assembler code
in this configuration expects 32 bits.

configure --disable-assembly does allow to build the library, but then 
quite a few tests fail with "bus error": t-toom6h, t-toom8h, t-toom8-sqr, 
t-div, t-mulmod_bnm1, ..., t-sizeinbase.

So more work is needed on the GMP side :-(

I think it is possible to use a more traditional ABI on this computer, but 
that's not interesting.

Marc Glisse

More information about the gmp-bugs mailing list