[gnutls-devel] GnuTLS | gnutls 3.8.7 needs dlwrap (so rust and clang) (#1581)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Sep 24 22:25:01 CEST 2024




Daiki Ueno commented: https://gitlab.com/gnutls/gnutls/-/issues/1581#note_2127816964


I would say (2) is a misunderstanding; dlwrap is a passive code generator and you don't need it at build-time (as in [parse-autogen](https://gitlab.com/dueno/parse-autogen) we used to migrate away from AutoGen). dlwrap generates 3 files: loader implementation (e.g., [brotlidec.c](https://gitlab.com/gnutls/gnutls/-/blob/master/lib/dlwrap/brotlidec.c?ref_type=heads) and [brotlidec.h](https://gitlab.com/gnutls/gnutls/-/blob/master/lib/dlwrap/brotlidec.h?ref_type=heads)), and function list (e.g., [brotlidecfuncs.h](https://gitlab.com/gnutls/gnutls/-/blob/master/lib/dlwrap/brotlidecfuncs.h?ref_type=heads)). The former is a copy from the [templates](https://github.com/ueno/dlwrap/tree/main/templates) with symbol renaming, while the latter is merely a list of function prototypes which *could* be built manually (like Go OpenSSL binding [shims](https://github.com/golang-fips/openssl/blob/731002f4e0696e1731d4a94b5cd1205980a30f4b/shims.h#L173)); all of those files are committed to the repository and included in the tarball.

(3) is being fixed with !1870.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1581#note_2127816964
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/20240924/025a0232/attachment.html>


More information about the Gnutls-devel mailing list