[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    Re: [PATCH libgcrypt] configure: fix minor typo in warning message
From:       Jacob Bachmeyer via Gnupg-devel <gnupg-devel () gnupg ! org>
Date:       2023-07-15 2:38:07
Message-ID: 64B2068F.3060003 () gmail ! com
[Download RAW message or body]

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

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic