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
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
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/
. 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.
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