[PATCH] set mpi limb for all amd64 targets

Werner Koch wk at gnupg.org
Fri Sep 14 17:32:44 CEST 2012


On Wed, 12 Sep 2012 03:44, vapier at gentoo.org said:
> The new x32 ABI has sizeof(unsigned long) == 4 which causes random
> crashes.  Add an explicit setting for all amd64 targets so things
> work nicely.

I recall that this x32 ABI is contested.  The proposed patch changes a
fundamental internal type (unsigned long to uint64_t) without setting up
a new ABI in mpi/config.links.  It looks harmless but it is a workaround
for a bug which seems to be a more fundamental problem.  I hesitate to
apply it without having seen a description of the actual problem or
having read up on the dispute at LWN.

What is the CPU-OS-VENDOR string you are using?


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list