From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c
Date: Tue, 27 Apr 2021 10:37:42 +0200 [thread overview]
Message-ID: <50a8821f-07df-fb84-8dbf-90e17b3fe9b3@gmail.com> (raw)
In-Reply-To: <a5e2b86e-834a-6134-03c8-e961197eb37d@mind.be>
Hi Arnout,
Le 27/04/2021 ? 09:34, Arnout Vandecappelle a ?crit?:
>
>
> On 26/04/2021 23:19, Romain Naour wrote:
>> Hello Arnout,
>>
>> Le 26/04/2021 ? 21:36, Arnout Vandecappelle a ?crit?:
>>>
>>>
>>> On 26/04/2021 12:10, Romain Naour wrote:
>>> [snip]
>>>> rename package/glibc/{2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2 => 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c}/glibc.hash (70%)
>>>> rename package/localedef/{2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2 => 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c}/0001-HACK-only-build-and-install-localedef.patch (100%)
>>>> rename package/localedef/{2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2 => 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c}/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch (100%)
>>>> rename package/localedef/{2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2 => 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c}/localedef.hash (70%)
>>>
>>> Now you're messing with these packages, maybe you can take the opportunity to
>>> get rid of the versioned subdirectory. That's a leftover from when we had
>>> version selection for glibc.
>>
>> See Yann's reply.
>>
>> I'm not a big fan of not having the glibc version choice. I would prefer having
>> the choice between the latest version (bleeding-edge) and the previous one
>> (stable). Bumping Glibc introduce some breaking change that need to be fixed in
>> several packages.
>
> Although I'm not a fan of version choice at all, there may indeed be a point in
> having a choice here, because of all the breakage that glibc introduces.
>
> There are a couple of caveats though:
>
> - It actually makes our work harder, because we *still* have to fix the
> breakage, and we have a harder time detecting it (because less autobuilders will
> be using the new glibc version).
Indeed.
> - The "stable" version isn't really stable in the usual sense: upstream glibc
> doesn't maintain it - so that means we have to do it ourselves. In practice, I
> think that means we should track either Debian or SUSE glibc (Redhat is a bit
> *too* stable IMHO).
Glibc project maintain several "stable" version, so we don't have to maintain
previous glibc version ourselves.
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/release/2.33/master
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/release/2.32/master
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/release/2.31/master
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/release/2.30/master
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/release/2.29/master
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/release/2.28/master
I would use such upstream stable branches instead of tracking glibc distribution
packages.
> - Usually the glibc fixes are backward compatible, but if there's ever a fix
> that breaks older glibc, then we're in a pickle... That said, we already have
> that problem with external toolchains, we just ignore it.
>
> So the only reason to re-introduce the version choice would be for users that
> don't want to fix their proprietary packages but do want to update Buildroot.
> But then, "stable" would have to stay the same for longer than a single LTS
> cycle (in the LTS we already don't update glibc). So I think it's a lot of
> effort for little added value in the end.
I see another reason, while bumping glibc we have to make sure that most of
issues related to the bump has been fixed in packages (or glibc itself) before
the next Buildroot release. Having 3 months between releases seems to me short.
>
>> For toolchain-builder project, this means that the stable and bleeding-edge
>> toolchain use the same glibc version, unlike for other toolchain elements.
>
> For musl and uClibc we don't have a version choice either.
Indeed but Glibc development produce more commits between releases than musl or
uClibc, and only Glibc provide stable branches.
Best regards,
Romain
>
> Regards,
> Arnout
>
>>
>>>
>>> [snip]
>>>
>>>> diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
>>>> index f84f670fc0..e94df73bfe 100644
>>>> --- a/package/glibc/glibc.mk
>>>> +++ b/package/glibc/glibc.mk
>>>> @@ -16,7 +16,7 @@ ifeq ($(BR2_RISCV_32),y)
>>>> # Until 2.33 is released, just use master
>>>> GLIBC_VERSION = 2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99
>>>
>>> Since 2.33 is released now, can we use master for riscv32 please?
>>
>> Indeed.
>>
>> Best regards,
>> Romain
>>
>>>
>>> Marked as Changes Requested.
>>>
>>>
>>> Regards,
>>> Arnout
>>>
>>>
>>>> else
>>>> -GLIBC_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2
>>>> +GLIBC_VERSION = 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c
>>
next prev parent reply other threads:[~2021-04-27 8:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 10:10 [Buildroot] [PATCH 1/2] package/localedef: bump to version 2.32-23 Romain Naour
2021-04-26 10:10 ` [Buildroot] [PATCH 2/2] package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c Romain Naour
2021-04-26 19:36 ` Arnout Vandecappelle
2021-04-26 19:43 ` Yann E. MORIN
2021-04-27 7:25 ` Arnout Vandecappelle
2021-04-27 8:05 ` Romain Naour
[not found] ` <2BECD4AC-08A6-47CF-BA24-ED362C358095@c-sky.com>
2021-04-28 16:42 ` Romain Naour
2021-04-26 21:19 ` Romain Naour
2021-04-27 7:34 ` Arnout Vandecappelle
2021-04-27 8:37 ` Romain Naour [this message]
2021-04-27 8:44 ` Arnout Vandecappelle
2021-04-27 9:32 ` Romain Naour
2021-04-27 11:32 ` Peter Korsgaard
2021-04-27 11:36 ` Peter Korsgaard
2021-04-26 19:34 ` [Buildroot] [PATCH 1/2] package/localedef: bump to version 2.32-23 Arnout Vandecappelle
2021-04-26 21:05 ` Peter Korsgaard
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=50a8821f-07df-fb84-8dbf-90e17b3fe9b3@gmail.com \
--to=romain.naour@gmail.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox