Page MenuHome GnuPG

libgcrypt unable to be compiled with clang
Closed, ResolvedPublic

Description

While trying to compile libgcrypt clang it's unable to do it because of an exclusive gcc #pragma in jitterentropy-base.c.
In the external link field there is a reference in the gentoo's bugzilla that links to a patch to be able to compile it. May I be able to expect to get a similar patch merged with the upstream or clang is unsupported? Thank you for your time

Details

External Link
https://bugs.gentoo.org/793197
Version
1.9.3

Related Objects

Event Timeline

Thanks for your report.

There are two things.

For one, IIUC, it's your problem having --disable-O-flag-munging to configure; Please don't disable that, it is specifically for this problem.

For another one, I'm working with T5369: GnuPG build on Apple with Clang.

Vvyibaba closed this task as Resolved.EditedJun 1 2021, 11:08 AM
Vvyibaba claimed this task.

Thank you, indeed it was my fault. After -enable-O-flag-munging it compiled (btw before that it spitted the same error in jitterentropy as the one referenced in the apple case, so maybe it's that?)