; build-dev@openjdk.org
Subject: Re: clang Memory sanitizer (msan) and OpenJDK
Hi Matthias,
Getting back to this far too late... Sorry.
On 2025-04-30 15:28, Baesken, Matthias wrote:
I installed the llvm package to get the /usr/bin/llvm-symbolizer (this
seems to be needed to get meaningful
Hi Matthias,
Getting back to this far too late... Sorry.
On 2025-04-30 15:28, Baesken, Matthias wrote:
I installed the llvm package to get the /usr/bin/llvm-symbolizer
(this seems to be needed to get meaningful stacks) .
Brought back the visibility=hidden settings, seems they do no harm
I installed the llvm package to get the /usr/bin/llvm-symbolizer (this
seems to be needed to get meaningful stacks) .
Brought back the visibility=hidden settings, seems they do no harm to msan .
However the removal of -Wl,--exclude-libs,ALL is needed.
With the llvm-symbolizer add
>Could it be that the -Wl,--exclude-libs,ALL“hides” the msan symbols
>like __msan_param_tlsfrom exporting ?
>But I guess we set this for a reason so removing it might cause other trouble ?
Seems the -Wl,--exclude-libs,ALL is the setting that caused the msan build
issue, when I r
I checked the link call for javac .
/usr/bin/clang -fuse-ld=lld -fuse-ld=lld -Wl,--exclude-libs,ALL
-Wl,-z,noexecstack -m64 -fsanitize=memory
Could it be that the -Wl,--exclude-libs,ALL“hides” the msan symbols like
__msan_param_tlsfrom exporting ?
But I guess we set thi
>>Maybe you can try patching out -fvisibility=hidden from the compile command
>>line to see if that makes any difference.
>Sounds like a good idea to start with, I will try this! Seems the visibility
>stuff plays a role here.
I removed the -fvisibility=hidden from make/autoconf/flags-cflag
22:06
To: Baesken, Matthias ; build-dev@openjdk.org
Subject: Re: clang Memory sanitizer (msan) and OpenJDK
I thought I recognized this issue, and started searching the mail archive.
Seems the same question was asked last year by ... you. :-)
https://mail.openjdk.org/pipermail/build-dev/2024-A
I thought I recognized this issue, and started searching the mail
archive. Seems the same question was asked last year by ... you. :-)
https://mail.openjdk.org/pipermail/build-dev/2024-August/046011.html
I guess nobody still has a simple answer to give you. I don't understand
how the msan inte