Re: Undefined reference with clang16 and address sanitizer

2023-04-25 Thread Noah Watkins
Niels, Thank you very much for the quick response. > Also, Nettle's configure modifies CFLAGS (which is somewhat debatable), > so it may be more reliable with > > CC="clang -fsanitize=address" This indeed did the trick. It's still a bit mysterious why older versions of clang didn't have this

Re: Undefined reference with clang16 and address sanitizer

2023-04-25 Thread Niels Möller
Noah Watkins writes: > Hi nettle-bugs, > > We just updated to clang-16 and are encountering an issue compiling > nettle with -fsanitize=address. > > Configured with > > CC=clang CXX=clang++ CFLAGS="-fsanitize=address" > LDFLAGS="-fsanitize=address" ./configure --disable-documentation >

Undefined references with clang-16 and address sanitizer

2023-04-25 Thread Noah Watkins
We just updated to clang-16 and are encountering an issue compiling nettle with -fsanitize=address. Configured with CC=clang CXX=clang++ CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --disable-documentation --enable-x86-aesni We get the following errors. This doesn't