-
Notifications
You must be signed in to change notification settings - Fork 132
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
Alpine Legs failing to build CoreCLR #4298
Comments
cc @khushal1996 - pinging since I believe you originally opened the PR linked into the issue. Let me know if I should ping someone else. |
@ellahathaway How did you determine that dotnet/runtime#97529 might be at fault? This seems very likely related to dotnet/runtime#98336 -- @jkoritzinsky |
Ah you're right. The commit hash pulled from the VMR build doesn't even include dotnet/runtime#97529 in the log history yet (hadn't been synced to the VMR as of that build). I had looked through the git history of the files and saw that dotnet/runtime#98336 was merged two days ago, so I assumed that this would've gone into the VMR yesterday given that runtime syncs to sdk every day which syncs to installer every day. I've updated the issue comment to reflect the correct PR. |
Ill take a look. I'm amazed this is only causing failures in the VMR. Don't know why that would be. |
Looks like it's failing due to Clang 17 introducing more strict checking for nullptr->integer conversions in compile-time-constant scenarios. I was hoping to avoid having to handle this now (and instead rewriting the infrastructure that hits this) but it should be fixable without too much trouble. |
The Alpine legs are failing due to issues building runtime's CoreCLR component. There are many errors for this component, but most of them are related to null values and null pointers. Below are two examples of errors that appeared in the build:
error: value of type 'std::nullptr_t' is not implicitly convertible to 'UINT_PTR' (aka 'unsigned long')
error: cannot initialize a member subobject of type 'COUNT_T' (aka 'unsigned int') with an rvalue of type 'std::nullptr_t'
I believe that dotnet/runtime#98336 may have introduced these errors.
Link to failing build (internal Microsoft link)
The text was updated successfully, but these errors were encountered: