[PATCH] set mpi limb for all amd64 targets

Werner Koch wk at gnupg.org
Mon Sep 17 15:19:15 CEST 2012

On Sat, 15 Sep 2012 02:30, vapier at gentoo.org said:

> no idea what you mean.  all the mainline toolchain packages support it
> now as does the kernel.

Search for x32 on LWN to see what I mean.  IIRC, the x32 ABI was
specified by Intel for use on certain embedded systems.  It is
questionable there are any benefits for standard 84 bit CPUs.

> it doesn't have a unique one: x86_64-linux-gnu

Which defines the amd64 ABI and not the x32.  That ABI means that an
LONG is 64 bit and not 32.  As I said it will likely work to define the
MPI limb size to 64 bit instead of directly to "unsigned long".  However
we are mixing two ABIs here which is not a good idea unless it can be
proofed that there are no problems.  And as you reported there are
problems mixing the two ABIs.

What about using "./configure --disable-asm" as a workaround?



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gcrypt-devel mailing list