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

Re: Undefined reference with clang16 and address sanitizer

2023-04-25 Thread Noah Watkins
s of clang didn't have this problem, and just generally mysterious why the sanitizer would cause the issue. But, it does seem to be ok now (fwiw sanitizer does report a memory leak when eccdata is running at the end of make). On Tue, Apr 25, 2023 at 10:35 PM Niels Möller wrote: > > Noah Watkins

Re: Undefined reference with clang16 and address sanitizer

2023-05-15 Thread Noah Watkins
Niels, Any thoughts on this? Since this runs as part of the build process, it is blocking one of our pipelines. On Thu, May 11, 2023 at 9:36 PM Noah Watkins wrote: > > Here is the leak report > > ``` > make[2]: Leaving directory > '/home/nwatkins/src/redpanda-llvm16/

Re: Undefined reference with clang16 and address sanitizer

2023-05-15 Thread Noah Watkins
. Clang16 is now standard on Fedora 38. - Noah On Mon, May 15, 2023 at 11:05 AM Niels Möller wrote: > > Noah Watkins writes: > > > Any thoughts on this? Since this runs as part of the build process, it > > is blocking one of our pipelines. > > Looks like a missing mpz_clear.

Re: Undefined reference with clang16 and address sanitizer

2023-05-11 Thread Noah Watkins
f59a9) #13 0x565361adb364 in _start (/home/nwatkins/src/redpanda-llvm16/vbuild/debug/clang/v_deps_build/nettle-prefix/src/nettle-build/eccdata+0x3e364) SUMMARY: AddressSanitizer: 64 byte(s) leaked in 1 allocation(s). ``` On Sun, May 7, 2023 at 7:38 AM Niels Möller wrote: > > Noah Watkins