Apple M1 and libgcrypt 1.9.2

Jeffrey Walton noloader at gmail.com
Mon Mar 29 03:41:43 CEST 2021


On Tue, Mar 23, 2021 at 11:53 AM Marius Schamschula
<lists at schamschula.com> wrote:
>
> Not too surprising.
>
> To get libgcrypt to build on Big Sur I had to create a pair of patches for MacPorts:
>
> https://github.com/macports/macports-ports/tree/7c793c22a4315ee01ae92ed7104cea4d6def1036/devel/libgcrypt/files

 Here's a couple of patches for the latest Apple hardware.

This is M1 specific:
https://github.com/noloader/Build-Scripts/blob/master/patch/libgcrypt-darwin.patch.
The patch fixes the missing symbols in libgcrypt and gnupg, and the
unaligned code warning. All of the self tests run ok after the patch.

This patch is for OS X 10.11 and above with SIP:
https://github.com/noloader/Build-Scripts/blob/master/patch/libgcrypt.patch
. I've been using it since Intel machines got SIP. It allows the self
tests to run without disabling SIP.

Jeff



More information about the Gnupg-devel mailing list