[gnutls-devel] GnuTLS | --with-included-tasn1 broken (#1616)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Fri Nov 22 01:31:19 CET 2024
Joshua Hudson created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1616
## Description of problem:
Configure command that should work but doesn't:
CC=/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc CFLAGS='-O3 -ffunction-sections -static -I/home/DEXTER2/jhudson/certtool/include -L/home/DEXTER2/jhudson/certtool/lib -L/home/DEXTER2/jhudson/certtool/lib64' LDFLAGS='-static -Wl,-gc-sections -L/home/DEXTER2/jhudson/certtool/lib -L/home/DEXTER2/jhudson/certtool/lib64' ./configure --disable-shared --prefix=/home/DEXTER2/jhudson/certtool --with-included-unistring --with-included-libtasn1 --disable-cxx --disable-hardware-acceleartion --without-tpm --without-zlib --without-brotli --without-zstd
Workaround:
CC=/home/DEXTER2/jhudson/musl/musl-1.2.5-build/bin/musl-gcc CFLAGS='-O3 -ffunction-sections -static -I/home/DEXTER2/jhudson/certtool/include -I/home/DEXTER2/jhudson/certtool/gnutls-3.7.11/lib/minitasn1 -L/home/DEXTER2/jhudson/certtool/lib -L/home/DEXTER2/jhudson/certtool/lib64' LDFLAGS='-static -Wl,-gc-sections -L/home/DEXTER2/jhudson/certtool/lib -L/home/DEXTER2/jhudson/certtool/lib64' ./configure --disable-shared --prefix=/home/DEXTER2/jhudson/certtool --with-included-unistring --with-included-libtasn1 --disable-cxx --disable-hardware-acceleartion --without-tpm --without-zlib --without-brotli --without-zstd
The workaround: injecting another -I into the include path because the makefile misgenerated.
## Version of gnutls used:
gnutls-3.7.11
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
direct
## How reproducible:
Try to build from source without libtasn1-dev installed
## Actual results:
Compiler error at #include <libtasn1.h>
## Expected results:
No compiler error
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1616
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/20241122/03e141f3/attachment-0001.html>
More information about the Gnutls-devel
mailing list