On 10/04/2025 11:41 am, Andrew Cooper wrote: > On 09/04/2025 6:15 pm, Andrew Cooper wrote: >> On 09/04/2025 6:11 pm, Marek Marczykowski-Górecki wrote: >>> On Wed, Apr 09, 2025 at 05:37:01PM +0100, Andrew Cooper wrote: >>>> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> >>>> --- >>>> CC: Roger Pau Monné <roger....@citrix.com> >>>> CC: Stefano Stabellini <sstabell...@kernel.org> >>>> CC: Michal Orzel <michal.or...@amd.com> >>>> CC: Marek Marczykowski-Górecki <marma...@invisiblethingslab.com> >>>> CC: Anthony PERARD <anthony.per...@vates.tech> >>>> --- >>>> .gitlab-ci.yml | 7 ++++++ >>>> containerize | 1 + >>>> images/alpine/3.18-arm64-build.dockerfile | 27 +++++++++++++++++++++++ >>>> scripts/build-linux.sh | 10 +++++++++ >>>> 4 files changed, 45 insertions(+) >>>> create mode 100644 images/alpine/3.18-arm64-build.dockerfile >>>> >>>> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml >>>> index ff8dce7be05d..6e38c2f2a108 100644 >>>> --- a/.gitlab-ci.yml >>>> +++ b/.gitlab-ci.yml >>>> @@ -19,6 +19,13 @@ stages: >>>> exclude: >>>> - binaries/.gitignore >>>> >>>> +.arm64-artifacts: >>>> + extends: .artifacts >>>> + tags: >>>> + - arm64 >>>> + variables: >>>> + CONTAINER: alpine:3.18-arm64-build >>> Arm64 kernel used to be built in a Bookworm container. >> So did x86 before they were moved across. >> >>> The build in alpine >>> has "find: unrecognized: -printf" in the middle of the build. It doesn't >>> fail outright, but something might be broken. I guess it's related to >>> initramfs - maybe some option can be disabled, to avoid this message? >> Nothing seems to break... >> >> There's also a bad awk regex. Alpine seem to fix this by using mawk, >> except they then have to patch the Linux build system to take the >> override properly. >> >> I can't see anything obvious they do to fix this -printf warning. > Yes I can. We want findutils too. > > x86 also wants diffutils too. (as I'm fixing that side of things too)
Excellent. Both x86 and ARM are clean with these changes: https://gitlab.com/xen-project/hardware/test-artifacts/-/jobs/9682944850 https://gitlab.com/xen-project/hardware/test-artifacts/-/jobs/9682944867 The awk complaint has gone away too, so I suppose that's a knock-on effect. ~Andrew