GnuTLS | Build failure with TPM2 and GCC15 (#1764)
Read-only notification of GnuTLS library development activities <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.gnutls.devel |
|---|---|
| Message-ID | <[email protected]> |
Jan Palus created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1764
## Description of problem:
Compilation fails if gnutls is configured with TPM2 and GCC15 is used.
## Version of gnutls used:
3.8.11
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
N/A
## How reproducible:
Steps to Reproduce:
* Install GCC 15
* `./configure --with-tpm2`
* `make`
## Actual results:
Build failure:
```
In file included from tpm2/callbacks/rsa/rsa_callbacks.c:28:
./mem.h:48:36: error: unknown type name 'uint8_t'
48 | unsigned _gnutls_mem_is_zero(const uint8_t *ptr, unsigned size);
| ^~~~~~~
./mem.h:37:1: note: 'uint8_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
36 | #include "attribute.h"
+++ |+#include <stdint.h>
37 |
```
## Expected results:
Build succeeds.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1764
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel