[gnutls-devel] GnuTLS | certtool --generate-privkey Program received signal SIGILL, Illegal instruction when needle is built with x86-sha-ni (#1496)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Aug 8 09:03:21 CEST 2023

Niels Möller commented: https://gitlab.com/gnutls/gnutls/-/issues/1496#note_1503888537

Hi, I see from the linked ebuild that you configure nettle with --disable-fat, so there should be *no* run-time detection. To figure out where it goes wrong, I'd like to know: 1. Do you expect the sha_ni instructions to be supported in the environment where you run certtool? 2. What was the nettle configure command (I don't quite understand the effect of the ebuild file), and configure output? 3. Can you check in gdb precisely which instruction it crashes on? I'd expect it's the first sha256rnds2 instruction, but would be good to confirm.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1496#note_1503888537
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230808/ce990fe8/attachment.html>

More information about the Gnutls-devel mailing list