[release/7.0] Target lower glibc for Linux arm64 #80866
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This uses new cross-build images, added in dotnet/dotnet-buildtools-prereqs-docker#754, that target Ubuntu 16.04. It should address the .NET 7 part of #69361.
Same change was made in .NET 8 here: #80939.
The new images were published here: dotnet/versions@33968c3Updated to dotnet/versions@f2e8ed1.
Customer Impact
Allows .NET Linux arm64 to run on Amazon Linux 2 by lowering the glibc version requirement to 2.23. Fixes the .NET 7 part of #69361. Customers were hitting the following when using .NET Linux arm64 for AWS Lambda functions:
AWS tracking issue: aws/aws-lambda-dotnet#1310
Testing
Risk
Low to medium. Any risk is limited to Linux arm64. This is a change in the version of a fundamental dependency, but testing gives confidence that the fix is functionally good. Building with PGO instrumentation has been validated. Collection of PGO data, and validation of the perf characteristics of PGO-optimized builds using the resulting data, has not been manually tested, but the fix has gone through the .NET 8 official build process successfully, suggesting that it passes any automated PGO validation we have.