[gnutls-devel] GnuTLS | test suite does not build on OpenBSD/aarch64 (#1360)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri May 6 01:25:14 CEST 2022



Brad Smith created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1360



Trying to build GnuTLS 3.7.4 on OpenBSD/aarch64 fails.

<stdarg.h> must be included before <cmocka.h> as documented in the latter.

Fixes "unknown type name 'va_list'" error on aarch64.

The patch we currently have in our tree for that is the following..

```
Index: tests/cmocka-common.h
--- tests/cmocka-common.h.orig
+++ tests/cmocka-common.h
@@ -1,6 +1,7 @@
 #ifndef GNUTLS_TESTS_CMOCKA_COMMON_H
 #define GNUTLS_TESTS_CMOCKA_COMMON_H
 
+#include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>
 #include <cmocka.h>
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1360
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/20220505/842edc62/attachment.html>


More information about the Gnutls-devel mailing list