[PATCH libgcrypt] configure: fix minor typo in warning message

Jacob Bachmeyer jcb62281 at gmail.com
Sat Jul 15 04:38:07 CEST 2023


Bernhard Reiter wrote:
> Am Freitag 14 Juli 2023 04:21:19 schrieb NIIBE Yutaka:
>   
> [...]
>> BTW, with Clang 16, it works well (no alignment issue) for me.
>> I wonder if it's newer Clang.
>>     
>
> It was a discussion of gnupg-devel, where somebody saw this warning.
> Is this a spurious warning, if it works?

The problem is that the most common architectures right now (x86) do not 
enforce alignment, although they do perform better with aligned data.  
If that issue is not policed, code could slip in that will work until 
someone builds on a less-common RISC architecture that /does/ enforce 
alignment, then they get a program that crashes with SIGBUS.

In short, it is a portability issue.


-- Jacob



More information about the Gnupg-devel mailing list