Uh oh!
There was an error while loading. Please reload this page.
Update arm/arm64 Linux cross build images - #68561
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.
ghost
commented
Apr 26, 2022
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).
|
hoyosjs
commented
Apr 26, 2022
@janvorli we still support 16.04 on .NET 6 (ESM I believe), do you know if we dropped .NET 7 support? |
janvorli
commented
Apr 26, 2022
@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. |
janvorli
commented
Apr 26, 2022
Seems I need to update the Helix queues too so that we don't execute tests on 16.04 anymore. |
janvorli
commented
Apr 26, 2022
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. |
directhex
commented
May 2, 2022
Try the bump, see what happens. It SHOULD work. |
janvorli
commented
May 2, 2022
Ok, great, I'll give it a try. |
Ununtu 18.04 has version 7 instead of 5
BruceForstall
commented
May 2, 2022
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 |
janvorli
commented
May 3, 2022
@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.