Open maflcko opened 1 week ago
cc @ueno
An alternative would be to disable the flag that caused this (and is now enabled by default in clang):
diff --git a/projects/gnutls/build.sh b/projects/gnutls/build.sh
index 196826b7d..ed7af5f0c 100755
--- a/projects/gnutls/build.sh
+++ b/projects/gnutls/build.sh
@@ -57,6 +57,8 @@ make -j$(nproc)
make install
NETTLE_CONFIGURE_FLAGS=""
+CFLAGS="$CFLAGS -fno-sanitize-address-use-odr-indicator"
+CXXFLAGS="$CXXFLAGS -fno-sanitize-address-use-odr-indicator"
if [[ $CFLAGS = *sanitize=memory* ]]; then
NETTLE_CONFIGURE_FLAGS="--disable-assembler --disable-fat"
fi
@ueno Do you approve?
maflcko has previously contributed to projects/gnutls. The previous PR was #11714