From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Oleksii Kurochko <oleksii.kurochko@gmail.com>,
Xen-devel <xen-devel@lists.xenproject.org>
Cc: "Anthony PERARD" <anthony.perard@vates.tech>,
"Michal Orzel" <michal.orzel@amd.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Julien Grall" <julien@xen.org>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Stefano Stabellini" <sstabellini@kernel.org>
Subject: Re: [PATCH 3/3] CHANGELOG: Minimum toolchain requirements
Date: Thu, 27 Mar 2025 15:45:09 +0000 [thread overview]
Message-ID: <956eb48f-b2f6-4951-8b12-2cf0dcfa2c9e@citrix.com> (raw)
In-Reply-To: <c901f573-97dc-4ad0-9974-847fc58a0d44@gmail.com>
On 21/03/2025 4:24 pm, Oleksii Kurochko wrote:
>
>
> On 3/20/25 4:59 PM, Andrew Cooper wrote:
>> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
>> ---
>> CC: Anthony PERARD <anthony.perard@vates.tech>
>> CC: Michal Orzel <michal.orzel@amd.com>
>> CC: Jan Beulich <jbeulich@suse.com>
>> CC: Julien Grall <julien@xen.org>
>> CC: Roger Pau Monné <roger.pau@citrix.com>
>> CC: Stefano Stabellini <sstabellini@kernel.org>
>> CC: Oleksii Kurochko <oleksii.kurochko@gmail.com>
>> ---
>> CHANGELOG.md | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/CHANGELOG.md b/CHANGELOG.md
>> index 9a5919585d43..4e333e608a96 100644
>> --- a/CHANGELOG.md
>> +++ b/CHANGELOG.md
>> @@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
>> ## [4.21.0 UNRELEASED](https://xenbits.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=staging) - TBD
>>
>> ### Changed
>> + - The minimum toolchain requirements have been increased to either:
>> + - GCC 5.1 and Binutils 2.25, or
>> + - Clang/LLVM 11
> I think we want here to specify for which architectures it was done as RISC-V, for example, uses
> different versions:
> - GCC 12.2 or later
> - GNU Binutils 2.39 or later
> And for clang the version will be 17 as:
> f873029386dd415cd9caa78f600a593d9570c9ae("[BOLT] Add minimal RISC-V 64-bit support")
> $ git tag --contains f873029386dd415cd9caa78f600a593d9570c9ae
> llvmorg-17.0.0
> ...
> I have some patch to build Xen RISC-V using clang-17 but I haven't sent to upstream yet as I am not
> really sure that if we need (or why we need) clang support just from the start.
The same reason why we got an almost-nothing build in CI first, and are
currently looking for a "hello world" message on boot.
Keeping it working as you go is much easier than retrofitting at a later
point, and supporting more than 1 of any $THING (not just compilers) is
good to prevent accidental reliance on an implementation specific property.
The only question is what version of Clang exists in Debian bookworm, as
that affects how easy/hard it is to add to CI.
According to https://packages.debian.org/search?keywords=clang, bookworm
has Clang 14, while trixie has Clang 19.
So, how hard a limit is Clang-17? Is Clang-14 doable or not?
Alternatively, we could start adding some trixie containers. We have
passed the toolchain freeze (was 15th March), so the build container
should be stable now, even if it isn't quite released yet.
~Andrew
next prev parent reply other threads:[~2025-03-27 15:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-20 15:59 [PATCH RESEND 0/3] Xen: CI changes for new toolchain baseline Andrew Cooper
2025-03-20 15:59 ` [PATCH 2/3] Xen: Update compiler checks Andrew Cooper
2025-03-21 22:10 ` Stefano Stabellini
2025-03-20 15:59 ` [PATCH 3/3] CHANGELOG: Minimum toolchain requirements Andrew Cooper
2025-03-21 16:24 ` Oleksii Kurochko
2025-03-27 15:45 ` Andrew Cooper [this message]
2025-03-27 16:55 ` Oleksii Kurochko
2025-03-27 17:03 ` Andrew Cooper
[not found] ` <20250320155908.43885-2-andrew.cooper3@citrix.com>
2025-03-20 16:01 ` [PATCH 1/3] CI: Update build tests based on new minimum " Andrew Cooper
2025-03-25 15:46 ` Anthony PERARD
-- strict thread matches above, loose matches on Subject: below --
2025-03-20 15:32 [PATCH 0/3] Xen: CI changes for new toolchain baseline Andrew Cooper
2025-03-20 15:32 ` [PATCH 3/3] CHANGELOG: Minimum toolchain requirements Andrew Cooper
2025-03-20 15:44 ` Jan Beulich
2025-03-21 16:20 ` Oleksii Kurochko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=956eb48f-b2f6-4951-8b12-2cf0dcfa2c9e@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=oleksii.kurochko@gmail.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.