-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix Armel crossgen failing during pack #45058
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Thank you for this PR. It helped me eventually get an armel build. There are a few issues, but not sure if its related to this or not. 1.) The dotnet-runtime-6.0.0-dev-linux-armel.tar.gz contains the x64 libclrjit.so. The nupkg contain the correct armel binaries.
2.) The crossgen'd libraries seem to create incorrect code in the build process. When I execute a simple console application there are odd floating point issues. For example: Console.WriteLine(1f / 3f) would output "0". A new Timespan would hold seemingly random values. |
Hmm. I had tested that the build had ran, but I wonder if something else broke. I'll look at my build to see which libclrjit was used. For the crossgen issue, I wonder if it generated armhf code. On most armv7 systems, that will compile and run, other then the fact interop code will receive parameters in the wrong spot. Console.WriteLine likely ends up being a native call, so this wouldn't shock me. |
Thank you for looking into this! Not sure if it helps, but my build env and config is: I've tried with this PR: And tried with this PR cherry picked on a later commit from Dec 12th (60b6af1) |
Armel was not treated like arm or arm64, causing the wrong folders to be used during crossgen
@ThadHouse - sorry about the delayed response, this change has somehow fallen through the cracks. I have resolved your branch against the latest runtime bits. If you could double-check that it works fine for you, that would be awesome; otherwise I'll probably just check this in tomorrow once the runtime PR tests finish and I'll let you follow up separately. |
The x86 failure is known, #45326. |
Armel was not treated like arm or arm64, causing the wrong folders to be used during crossgen.
Closes #45056