-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to create CoreCLR, HRESULT: 0x80004005 with WSL1 #72192
Comments
You need to inspect the full log, e.g. make sure you installed all the needed dependencies from https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/linux-requirements.md |
This is my current configuration: |
We are not doing any testing on WSL1. We should document that it is not supported. The current dotnet/runtime on WSL1 is likely completely broken. |
I see... So sad read that. All my NativeAOT Linux tests are done in WSL1. WSL2 is not really a solution for me as sometimes the resource consumption can be quite extensive. |
There is a workaround in #70799 (comment) |
Wasn't #70912 supposed to fix W^X under WSL1? |
The repo builds with .NET 7 Preview 5 that doesn't have the fix. |
Thanks a lot. I'm now compilling CoreCLR on WSL1 with the workaround. |
As Jan said, we're not testing with it. That said, I use it in my local workflows for similar reasons as you. I only have 16 GB of RAM and a small SSD. WSL2 is very much not a good fit for that. |
Yes, thats why I ask that. So.. We just have to take advantage of it as much as possible. |
Assume this is ok to close, now that there is a workaround? |
Description
I'm trying to build CoreCLR on Ubuntu using WSL1. The system displays the following output:
__DistroRid: linux-x64 Failed to create CoreCLR, HRESULT: 0x80004005 Build failed with exit code 137. Check errors above.
Reproduction Steps
In runtime repo directory execute:
./build.sh -subset clr
Expected behavior
Start CoreCLR compiling.
Actual behavior
Build failed with exit code 137. Check errors above.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: