libgcrypt fails to compile with Xcode 9 against iOS 11 SDK

Chris Ballinger chrisballinger at
Thu Oct 5 07:17:24 CEST 2017

Ah, apologies for the spam then. I'm actually using clang/llvm 9.0.0 on
macOS. I think the issue is that mach-o doesn't support the .type and .size
directive but I really don't know how to fix that in a way that would be
merged back into libgcrypt, so I just disabled asm. Simply removing those
lines allows the asm to compile but then it won't link, so obviously that's
not the solution.

I ended up having to disable arm64 assembly entirely, although that's not
really ideal. I'm sure someone else using libgcrypt on iOS will eventually
run into this issue, hopefully whoever it is has a better idea of how to
fix it than me.

On Wed, Oct 4, 2017 at 9:58 PM, R0b0t1 <r030t1 at> wrote:

> Hello friend!
> On Wed, Oct 4, 2017 at 9:57 PM, Chris Ballinger
> <chrisballinger at> wrote:
> > Resending again because I think it bounced?
> >
> The list received it. You may want to ask on the GCC mailing list
> after attempting to read some documentation. Hopefully they can
> explain the error well enough to make the fix obvious.
> Cheers,
>      R0b0t1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20171004/ddfa2ee8/attachment.html>

More information about the Gcrypt-devel mailing list