[PATCH] Fix struct alignment on hppa-linux
Werner Koch
wk at gnupg.org
Tue Aug 5 18:42:52 CEST 2014
On Tue, 5 Aug 2014 15:34, dkg at fifthhorseman.net said:
> different sizes. This happens becuase the pthread_mutex_t type on
> hppa-linux has 16-byte alignement, but the code in
> gen-posix-lock-obj.c assumes that a long or pointer to long will
> provide sufficient alignment.
I see. Given that there is probably no suitable 16 byte object, we need
to resort to the proposes solution. However, the code is not portable
thus I need to check how to fix it in a portable way. Enforcing a 16
byte alignment might for all platfrom won't harm anyway.
Thanks for forwarding,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel
mailing list