dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.23k stars 4.45k forks source link

Fix x86 build with clang-18 #101650

Closed am11 closed 2 weeks ago

am11 commented 2 weeks ago

Fixes https://github.com/dotnet/runtime/issues/101639.

dotnet-policy-service[bot] commented 2 weeks ago

Tagging subscribers to this area: @hoyosjs See info in area-owners.md if you want to be subscribed.

am11 commented 2 weeks ago

Since this diagnostic is buggy on various architectures (e.g. https://github.com/llvm/llvm-project/issues/69146#issuecomment-1773367835), I've just suppressed it in the second commit. With first commit, while it was building in CI, testing R2R locally was throwing sigsegv.

cc @jkotas

jkotas commented 2 weeks ago

/ba-g slow mac