[gnutls-devel] GnuTLS | error: initializer element is not a compile-time constant (#1604)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Nov 10 08:49:39 CET 2024



Ryan Carsten Schmidt created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1604



gnutls 3.8.8 does not build on macOS 14 or earlier:

```
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -Wtype-limits -Wall -Wbad-function-cast -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wextra -Winit-self -Winvalid-pch -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wuninitialized -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wformat=2 -Wno-missing-field-initializers -Wno-unused-parameter -fdiagnostics-show-option -fno-builtin-strcmp -I/opt/local/include/p11-kit-1 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch x86_64 -c mac.c  -fno-common -DPIC -o .libs/mac.o
groups.c:93:2: error: initializer element is not a compile-time constant
        group_x25519,
        ^~~~~~~~~~~~
1 error generated.
make[4]: *** [groups.lo] Error 1
```

Full log: https://build.macports.org/builders/ports-14_x86_64-builder/builds/50991/steps/install-port/logs/stdio

Regression; 3.8.7 built ok.

Presumably caused by 806dd5e3d459e7ca73ba0756286b095e655d82e2 (@dueno)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1604
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/20241110/0f63d10e/attachment.html>


More information about the Gnutls-devel mailing list