[gnutls-devel] GnuTLS | Build error when enable fips under cross compile (#1373)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu May 26 07:00:51 CEST 2022

Daiki Ueno commented:

Given that `fipshmac` internally `dlopen`'s shared libraries, it wouldn't work under cross-compilation settings. I see a couple of approaches:
1. skip `.hmac` generation under cross-compilation: it should be sufficient as long as the generated binaries are not directly executable (it may not be the case if `binfmt_misc` is set up as in our aarch64 CI)
2. enhance `fipshmac` to cover the cross-compilation scenario: it could take the paths of target libraries instead of `dlopen`

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1373#note_960570808
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/20220526/be64bbde/attachment-0001.html>

More information about the Gnutls-devel mailing list