Open radekdoulik opened 1 month ago
Tried to use ASAN on wasi today. The wasi-sdk's clang doesn't support it.
error : Failed to compile /Users/rodo/git/runtime/artifacts/obj/Invariant.Tests/Release/net10.0/wasi-wasm/wasm/for-publish/Invariant.Tests.dll.bc -> /Users/rodo/git/runtime/artifacts/obj/Invariant.Tests/Release/net10.0/wasi-wasm/wasm/for-publish/Invariant.Tests.dll.o [/Users/rodo/git/runtime/src/libraries/System.Runtime/tests/System.Globalization.Tests/Invariant/Invariant.Tests.csproj]
error : clang version 18.1.2-wasi-sdk (https://github.com/llvm/llvm-project 26a1d6601d727a96f4301d0d8647b5a42760ae0c) [/Users/rodo/git/runtime/src/libraries/System.Runtime/tests/System.Globalization.Tests/Invariant/Invariant.Tests.csproj]
error : Target: wasm32-unknown-wasip2 [/Users/rodo/git/runtime/src/libraries/System.Runtime/tests/System.Globalization.Tests/Invariant/Invariant.Tests.csproj]
error : Thread model: posix [/Users/rodo/git/runtime/src/libraries/System.Runtime/tests/System.Globalization.Tests/Invariant/Invariant.Tests.csproj]
error : InstalledDir: /Users/rodo/git/runtime/src/mono/wasi/wasi-sdk/bin [/Users/rodo/git/runtime/src/libraries/System.Runtime/tests/System.Globalization.Tests/Invariant/Invariant.Tests.csproj]
error : clang: error: unsupported option '-fsanitize=address' for target 'wasm32-unknown-wasip2' [took 0,332s] [/Users/rodo/git/runtime/src/libraries/System.Runtime/tests/System.Globalization.Tests/Invariant/Invariant.Tests.csproj]
The library AOT smoke tests and 2 WBT tests are broken after updating to newer llvm 19 (rc2 .. rc4)
Example of the crashes: