Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISC-V] Disable EnableWriteXorExecute by default on riscv64 architec…
…tue (#103408) * Disable EnableWriteXorExecute by default on riscv64 architectue On riscv64 architectue any dotnet process that loads corossgened assembly without DOTNET_EnableWriteXorExecute=0 environment variable set crashes with "Segmentation fault" error. For example System.Private.CoreLib.dll is compiled with crossgen2 by default during build phase so this crash applies to any processes that loads it. Setting EnableWriteXorExecute=0 disables this options on riscv64 architecure and prevents these crashes. Co-authored-by: Dong-Heon Jung <clamp03@gmail.com> * Add a link to an issue about re-enabling WriteXorExecute on riscv64 arch. Co-authored-by: Jan Kotas <jkotas@microsoft.com> --------- Co-authored-by: Dong-Heon Jung <clamp03@gmail.com> Co-authored-by: Jan Kotas <jkotas@microsoft.com>
- Loading branch information