-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Update arm/arm64 Linux cross build images #68561
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
Conversation
The images are updated to the latest ones as a preparation for enabling native PGO for Linux arm64 and potentially Linux arm. We are moving to targeting glibc 2.27 (the one from Ubuntu 18.04). Before, we were targeting obsolete Ubuntu 16.04.
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue DetailsThe images are updated to the latest ones as a preparation for enabling We are moving to targeting glibc 2.27 (the one from Ubuntu 18.04).
|
|
@janvorli we still support 16.04 on .NET 6 (ESM I believe), do you know if we dropped .NET 7 support? |
|
@hoyosjs the reason for dropping it for .NET 7 is to enable PGO on arm/arm64, as it requires a native static library that's part of clang of the same version that we use for the cross build to exist in the rootfs for the target. There is no clang 9 package for Ubuntu 16.04. We could possibly build it ourselves from sources, but that would be the last resort in case we really need to keep supporting 16.04. |
|
Seems I need to update the Helix queues too so that we don't execute tests on 16.04 anymore. |
|
Mono arm64 leg is failing because of the ls -la /crossrootfs/arm64/usr/lib/gcc/aarch64-linux-gnu
total 16
drwxr-xr-x 4 root root 4096 Mar 23 14:11 .
drwxr-xr-x 3 root root 4096 Apr 16 2018 ..
drwxr-xr-x 5 root root 4096 Mar 23 14:15 7
lrwxrwxrwx 1 root root 1 Dec 4 2019 7.5.0 -> 7
drwxr-xr-x 2 root root 4096 Apr 16 2018 8@akoeplinger, @lambdageek I can see that the version is hardcoded in mono.proj: Line 606 in e4163ea
I am not sure if I can just bump it or if that is more involved and thus it would require some discussion with the mono folks. |
|
Try the bump, see what happens. It SHOULD work. |
|
Ok, great, I'll give it a try. |
Ununtu 18.04 has version 7 instead of 5
|
This may not be strictly related, but https://github.com/dotnet/runtime/blob/main/docs/workflow/building/coreclr/linux-instructions.md talks about using the |
|
@BruceForstall the option is not needed and in fact, I never use it for my local builds. The build picks the latest clang and llvm tools that you have installed automatically. On my main devbox, it is using clang 13 now. I would recommend using clang 9 as the minimum version though, since it is the one we use for our official builds and so I have confidence that there are no problems. I remember there were some issues with certain older clang versions, but I don't remember which ones. |
The images are updated to the latest ones as a preparation for enabling
native PGO for Linux arm64 and potentially Linux arm.
We are moving to targeting glibc 2.27 (the one from Ubuntu 18.04).
Before, we were targeting obsolete Ubuntu 16.04.