Install missing packages in azl 4.0 crossdeps - #1733
Conversation
|
@am11 I queued a full rebuild of all images, should be done tonight |
|
|
||
| # GNU toolchain is installed in 'x86_64-azurelinux-linux' directory which is not recognized by | ||
| # clang (https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/Gnu.cpp), | ||
| # so we create a symlink with -pc- triplet. |
There was a problem hiding this comment.
@am11 do you have a simple repro for this? I wonder if we should file a bug with azurelinux
There was a problem hiding this comment.
I think we might need to fix this in the clang we build instead.
If I install clang through dnf then it finds the GCC location:
bash-5.3# clang -v
clang version 21.1.8 (Microsoft Corporation 21.1.8-8.azl4)
Target: aarch64-azurelinux-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Configuration file: /etc/clang/aarch64-azurelinux-linux-gnu-clang.cfg
System configuration file directory: /etc/clang/
Found candidate GCC installation: /usr/bin/../lib/gcc/aarch64-azurelinux-linux/15
Selected GCC installation: /usr/bin/../lib/gcc/aarch64-azurelinux-linux/15
Candidate multilib: .;@m64
Selected multilib: .;@m64There was a problem hiding this comment.
before: https://github.com/am11/CrossRepoCITesting/actions/runs/31414507086/job/93540201703
after (with new images): https://github.com/am11/CrossRepoCITesting/actions/runs/31487863070
Note that "before" failed after 31m and it wasn't the first native component build which failed. It failed when the build compiles JIT component for host RID. Every cross build (regardless of official/community) compiles some tools for host which requires host JIT.
I think we might need to fix this in the clang we build instead.
For runtime/VMR, that's enough to have a symlink, but yes that would be an idiomatic fix: #1734.
build.shon all arcade repos is failing:It wasn't needed in 3.0 images because base system had it installed.
3.0 installed GNU toolchain at
x86_64-pc-linux-gnu, which is recognized by clang but 4.0 install it atx86_64-azurelinux-linux, which isn't recognized.Install missing C++ toolchain.