Skip to contentSkip to conversation

package/localedef: bump to version 2.32-23

PATCH New Romain Naour 4 participants 16 messages Apr 26, 2021 – Apr 28, 2021 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/localedef: bump to version 2.32-23

resync the version with glibc package.

---
 .../0001-HACK-only-build-and-install-localedef.patch            | 0
 ...02-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch | 0
 .../localedef.hash                                              | 2 +-
 package/localedef/localedef.mk                                  | 2 +-
 4 files changed, 2 insertions(+), 2 deletions(-)
 rename package/localedef/{2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2 => 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2}/0001-HACK-only-build-and-install-localedef.patch (100%)
 rename package/localedef/{2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2 => 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2}/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch (100%)
 rename package/localedef/{2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2 => 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2}/localedef.hash (72%)
package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0001-HACK-only-build-and-install-localedef.patch renamed from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/0001-HACK-only-build-and-install-localedef.patch +0 -0
similarity index 100%
rename from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/0001-HACK-only-build-and-install-localedef.patch
rename to package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0001-HACK-only-build-and-install-localedef.patch
package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch renamed from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch +0 -0
similarity index 100%
rename from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch
rename to package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch
package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedef.hash renamed from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/localedef.hash +1 -1
similarity index 72%
rename from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/localedef.hash
rename to package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedef.hash
index 45ecc2895f..b1d5243fcc 100644
@@ -1,5 +1,5 @@
 # Locally calculated (fetched from Github)
-sha256  04946bb7cbaf4062bf5e727e0d6784e105b07611587d71f00d25ea896753c26d  glibc-2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2.tar.gz
+sha256  f4710e9a435a7b83e1d23dd75434f0d36b898eba9b4249c946c32b467d852fd4  glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2.tar.gz
 
 # Hashes for license files
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
package/localedef/localedef.mk +1 -1
index d75702d847..57ab5a3458 100644
@@ -7,7 +7,7 @@
 # Use the same VERSION and SITE as target glibc
 # As in glibc.mk, generate version string using:
 #   git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
-LOCALEDEF_VERSION = 2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2
+LOCALEDEF_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2
 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz
 LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION))
 HOST_LOCALEDEF_DL_SUBDIR = glibc
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

See:
https://sourceware.org/pipermail/libc-alpha/2021-February/122207.html
https://sourceware.org/glibc/wiki/Release/2.33

---
Tested with all Qemu defconfigs.

---
 .../glibc.hash                                                  | 2 +-
 package/glibc/glibc.mk                                          | 2 +-
 .../0001-HACK-only-build-and-install-localedef.patch            | 0
 ...02-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch | 0
 .../localedef.hash                                              | 2 +-
 package/localedef/localedef.mk                                  | 2 +-
 6 files changed, 4 insertions(+), 4 deletions(-)
 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%)
package/glibc/2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c/glibc.hash renamed from package/glibc/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/glibc.hash +1 -1
similarity index 70%
rename from package/glibc/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/glibc.hash
rename to package/glibc/2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c/glibc.hash
index b1d5243fcc..3f3598c31a 100644
@@ -1,5 +1,5 @@
 # Locally calculated (fetched from Github)
-sha256  f4710e9a435a7b83e1d23dd75434f0d36b898eba9b4249c946c32b467d852fd4  glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2.tar.gz
+sha256  ec2d7b91c8bbe7887b0bb34ab2df9007b2b45c17b502fc333efca28eb7546df6  glibc-2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c.tar.gz
 
 # Hashes for license files
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
package/glibc/glibc.mk +1 -1
index f84f670fc0..e94df73bfe 100644
@@ -16,7 +16,7 @@ ifeq ($(BR2_RISCV_32),y)
 # Until 2.33 is released, just use master
 GLIBC_VERSION = 2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99
 else
-GLIBC_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2
+GLIBC_VERSION = 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c
 endif
 # Upstream doesn't officially provide an https download link.
 # There is one (https://sourceware.org/git/glibc.git) but it's not reliable,
package/localedef/2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c/0001-HACK-only-build-and-install-localedef.patch renamed from package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0001-HACK-only-build-and-install-localedef.patch +0 -0
similarity index 100%
rename from package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0001-HACK-only-build-and-install-localedef.patch
rename to package/localedef/2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c/0001-HACK-only-build-and-install-localedef.patch
package/localedef/2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch renamed from package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch +0 -0
similarity index 100%
rename from package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch
rename to package/localedef/2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch
package/localedef/2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c/localedef.hash renamed from package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedef.hash +1 -1
similarity index 70%
rename from package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedef.hash
rename to package/localedef/2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c/localedef.hash
index b1d5243fcc..3f3598c31a 100644
@@ -1,5 +1,5 @@
 # Locally calculated (fetched from Github)
-sha256  f4710e9a435a7b83e1d23dd75434f0d36b898eba9b4249c946c32b467d852fd4  glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2.tar.gz
+sha256  ec2d7b91c8bbe7887b0bb34ab2df9007b2b45c17b502fc333efca28eb7546df6  glibc-2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c.tar.gz
 
 # Hashes for license files
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
package/localedef/localedef.mk +1 -1
index 57ab5a3458..a633855baf 100644
@@ -7,7 +7,7 @@
 # Use the same VERSION and SITE as target glibc
 # As in glibc.mk, generate version string using:
 #   git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
-LOCALEDEF_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2
+LOCALEDEF_VERSION = 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c
 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz
 LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION))
 HOST_LOCALEDEF_DL_SUBDIR = glibc
Signature · 1 line
2.30.2
#2 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

On 26/04/2021 12:10, Romain Naour wrote:
[snip]

Quoted 4 lines
 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.

[snip]

package/glibc/glibc.mk ifeq ($(BR2_RISCV_32),y) · line 17

Quoted 7 lines
package/glibc/glibc.mk +0 -0
index f84f670fc0..e94df73bfe 100644
@@ -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?

Marked as Changes Requested.

Regards,
Arnout

Quoted 3 lines
package/glibc/glibc.mk +1 -1
 else
-GLIBC_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2
+GLIBC_VERSION = 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c
#3 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

Arnout, Romain, All,

On 2021-04-26 21:36 +0200, Arnout Vandecappelle spake thusly:

Quoted 10 lines · Romain Naour

[snip]

Quoted 4 lines
 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.

We stil have a version choice for glibc; it's just not exposed to the
user: indeed we use different version for csky, riscv32, and the rest.

So, we still do not want to apply the "generic" patches to the csky fork, or to the riscv32 version...

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

Quoted 14 lines · Yann E. MORIN

Arnout, Romain, All,

On 2021-04-26 21:36 +0200, Arnout Vandecappelle spake thusly:

Quoted 10 lines · Romain Naour

[snip]

Quoted 4 lines
 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.

Quoted 5 lines

We stil have a version choice for glibc; it's just not exposed to the
user: indeed we use different version for csky, riscv32, and the rest.

So, we still do not want to apply the "generic" patches to the csky fork, or to the riscv32 version...

Ah, I missed the csky fork... The riscv32 one should be gone, so I thought that
was it.

Regardless, for localedef, we don't have a version choice so we don't need the
subdirectory there.

Regards,
Arnout

Quoted 4 lines

Regards,
Yann E. MORIN.

#5 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

Hello Arnout,

Le 27/04/2021 ? 09:25, Arnout Vandecappelle a ?crit?:

Quoted 17 lines · Yann E. MORIN
Quoted 14 lines

Arnout, Romain, All,

On 2021-04-26 21:36 +0200, Arnout Vandecappelle spake thusly:

Quoted 10 lines · Romain Naour

[snip]

Quoted 4 lines
 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.

Quoted 8 lines
Quoted 5 lines

We stil have a version choice for glibc; it's just not exposed to the
user: indeed we use different version for csky, riscv32, and the rest.

So, we still do not want to apply the "generic" patches to the csky fork, or to the riscv32 version...

Ah, I missed the csky fork... The riscv32 one should be gone, so I thought that
was it.

The csky for is based on glibc 2.28 but csky was added to glibc 2.29

https://sourceware.org/git/?p=glibc.git;a=commit;h=5f72b00591ce4d1b4c0418294ffe1623983d5679

Maybe we can use upstream glibc?
But we can't test with our Qemu version since csky is not yet upstream, we can retrieve the csky qemu fork we had last year.

Guo, can you have a look?

Quoted 3 lines

Regardless, for localedef, we don't have a version choice so we don't need the
subdirectory there.

We may need a version choice for localedef depending on glibc version of external toolchains because localedef update can introduce some incompatibilities.

https://git.buildroot.net/buildroot/commit/?id=0ec7169e6c8cfb4bb54defb685bd04bb1da0a2aa

See also Thomas's concern:
http://lists.busybox.net/pipermail/buildroot/2020-July/287502.html

But this is still to implement.

Best regards,
Romain

Quoted 8 lines

Regards,
Arnout

Quoted 4 lines

Regards,
Yann E. MORIN.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

Hello Guo, Han,

Le 28/04/2021 ? 16:33, Guo Ren a ?crit?:

Quoted 38 lines

Best Regards
Guo Ren

Quoted 31 lines

? 2021?4?27????4:05?Romain Naour <[email protected]> ???

Hello Arnout,

Le 27/04/2021 ? 09:25, Arnout Vandecappelle a ?crit :

Quoted 25 lines · Yann E. MORIN
Quoted 14 lines

Arnout, Romain, All,

On 2021-04-26 21:36 +0200, Arnout Vandecappelle spake thusly:

Quoted 10 lines · Romain Naour

[snip]

Quoted 4 lines

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.

Quoted 5 lines

We stil have a version choice for glibc; it's just not exposed to the
user: indeed we use different version for csky, riscv32, and the rest.

So, we still do not want to apply the "generic" patches to the csky fork, or to the riscv32 version...

Ah, I missed the csky fork... The riscv32 one should be gone, so I thought that was it.

Quoted 6 lines
Quoted 5 lines

The csky for is based on glibc 2.28 but csky was added to glibc 2.29

https://sourceware.org/git/?p=glibc.git;a=commit;h=5f72b00591ce4d1b4c0418294ffe1623983d5679

Maybe we can use upstream glibc?

Cc glibc csky maintainer: Mao Han <[email protected]>

Same for binutils. We are using an old fork of binutils 2.27 for csky but we can use binutils 2.32 to 2.36.
Please, help us to use upstream version.

Quoted 9 lines
Quoted 4 lines

But we can't test with our Qemu version since csky is not yet upstream, we can retrieve the csky qemu fork we had last year.

C-SKY qemu test:
https://gitlab.com/c-sky/buildroot/-/jobs/1190489794

You can get qemu:
https://gitlab.com/c-sky/buildroot/-/blob/master/package/qemu-enhanced/qemu-enhanced.mk

This is a prebuilt qemu binary I can use locally but it would be great if qemu for csky could be built from sources.
Do you know if there is some news about csky contribution to Qemu ?

Best regards,
Romain

#8 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

In reply to Arnout Vandecappelle

Hello Arnout,

Le 26/04/2021 ? 21:36, Arnout Vandecappelle a ?crit?:

Quoted 12 lines · Romain Naour

[snip]

Quoted 4 lines
 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.

For toolchain-builder project, this means that the stable and bleeding-edge toolchain use the same glibc version, unlike for other toolchain elements.

Quoted 12 lines

[snip]

package/glibc/glibc.mk ifeq ($(BR2_RISCV_32),y) · line 17

Quoted 7 lines
package/glibc/glibc.mk +0 -0
index f84f670fc0..e94df73bfe 100644
@@ -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

Quoted 11 lines

Marked as Changes Requested.

Regards,
Arnout

Quoted 3 lines
package/glibc/glibc.mk +1 -1
 else
-GLIBC_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2
+GLIBC_VERSION = 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c
#9 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

Quoted 16 lines · Romain Naour

Hello Arnout,

Le 26/04/2021 ? 21:36, Arnout Vandecappelle a ?crit?:

Quoted 12 lines · Romain Naour

[snip]

Quoted 4 lines
 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.

Quoted 6 lines

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).
- 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).
- 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.

Quoted 2 lines

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.

Regards,
Arnout

Quoted 31 lines
Quoted 4 lines

[snip]

Quoted 9 lines

package/glibc/glibc.mk ifeq ($(BR2_RISCV_32),y) · line 17

Quoted 7 lines
package/glibc/glibc.mk +0 -0
index f84f670fc0..e94df73bfe 100644
@@ -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

Quoted 11 lines

Marked as Changes Requested.

Regards,
Arnout

Quoted 3 lines
package/glibc/glibc.mk +1 -1
 else
-GLIBC_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2
+GLIBC_VERSION = 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c
#10 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

Hi Arnout,

Le 27/04/2021 ? 09:34, Arnout Vandecappelle a ?crit?:

Quoted 26 lines · Romain Naour
Quoted 16 lines

Hello Arnout,

Le 26/04/2021 ? 21:36, Arnout Vandecappelle a ?crit?:

Quoted 12 lines · Romain Naour

[snip]

Quoted 4 lines
 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.

Quoted 6 lines

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.

Quoted 8 lines

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.

Quoted 4 lines

- 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.

Quoted 9 lines

- 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.

Quoted 5 lines
Quoted 3 lines

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

Quoted 35 lines

Regards,
Arnout

Quoted 31 lines
Quoted 4 lines

[snip]

Quoted 9 lines

package/glibc/glibc.mk ifeq ($(BR2_RISCV_32),y) · line 17

Quoted 7 lines
package/glibc/glibc.mk +0 -0
index f84f670fc0..e94df73bfe 100644
@@ -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

Quoted 11 lines

Marked as Changes Requested.

Regards,
Arnout

Quoted 3 lines
package/glibc/glibc.mk +1 -1
 else
-GLIBC_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2
+GLIBC_VERSION = 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c
#11 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

Quoted 48 lines · Romain Naour

Hi Arnout,

Le 27/04/2021 ? 09:34, Arnout Vandecappelle a ?crit?:

Quoted 26 lines · Romain Naour
Quoted 16 lines

Hello Arnout,

Le 26/04/2021 ? 21:36, Arnout Vandecappelle a ?crit?:

Quoted 12 lines · Romain Naour

[snip]

Quoted 4 lines
 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.

Quoted 6 lines

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.

Quoted 8 lines

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.

Quoted 4 lines

- 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.

Quoted 6 lines

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

Oh, my bad, I really thought they abandoned the 2.31 branch once 2.33 was released.

That takes away a major argument against version selection.

Quoted 14 lines

I would use such upstream stable branches instead of tracking glibc distribution packages.

Quoted 9 lines

- 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.

Quoted 3 lines

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.

Again: having a version selection doesn't help us here, because we need those
issues to be fixed for the latest version anyway.

The only thing we can do with the version selection is that we can make the
broken packages depend on !BR2_GLIBC_AT_LEAST_2_32.

(Note that the implication is that we need external toolchain version symbols
and _AT_LEAST symbols for all glibc versions, like we have for GCC).

Regards,
Arnout

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

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.

[snip]

#12 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

Le 27/04/2021 ? 10:44, Arnout Vandecappelle a ?crit?:

Quoted 51 lines · Romain Naour
Quoted 48 lines

Hi Arnout,

Le 27/04/2021 ? 09:34, Arnout Vandecappelle a ?crit?:

Quoted 26 lines · Romain Naour
Quoted 16 lines

Hello Arnout,

Le 26/04/2021 ? 21:36, Arnout Vandecappelle a ?crit?:

Quoted 12 lines · Romain Naour

[snip]

Quoted 4 lines
 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.

Quoted 6 lines

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.

Quoted 8 lines

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.

Quoted 4 lines

- 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.

Quoted 8 lines
Quoted 6 lines

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

Oh, my bad, I really thought they abandoned the 2.31 branch once 2.33 was released.

Glibc still maintain those branches but there is no point releases

https://lwn.net/Articles/736429/

Quoted 17 lines

That takes away a major argument against version selection.

Quoted 14 lines

I would use such upstream stable branches instead of tracking glibc distribution packages.

Quoted 9 lines

- 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.

Quoted 6 lines
Quoted 3 lines

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.

Again: having a version selection doesn't help us here, because we need those
issues to be fixed for the latest version anyway.

Sure.

Quoted 6 lines

The only thing we can do with the version selection is that we can make the
broken packages depend on !BR2_GLIBC_AT_LEAST_2_32.

(Note that the implication is that we need external toolchain version symbols
and _AT_LEAST symbols for all glibc versions, like we have for GCC).

We need to be agree with all other maintainers if we want to handle two glibc versions. Or make the final decision to only support one glibc version.

Best regards,
Romain

Quoted 17 lines

Regards,
Arnout

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

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.

[snip]

#13 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

In reply to Arnout Vandecappelle
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Hi,

Quoted 7 lines
Quoted 4 lines

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.

I am also not really in favor. Either we support a glibc version (and fix whatever breakage it introduces) or we don't.

Signature · 1 line
Bye, Peter Korsgaard
#14 lore raw

PATCH 2/2 package/{glibc, localedef}: bump to version 2.33-37-g162df872f0dfc2b124a18e1a8c33be63f70d9a1c

In reply to Romain Naour
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

Hi,

Quoted 2 lines

For toolchain-builder project, this means that the stable and bleeding-edge toolchain use the same glibc version, unlike for other toolchain elements.

But maybe the stable toolchain should be built from the Buildroot LTS instead of the "bleeding edge" Buildroot version?

Signature · 1 line
Bye, Peter Korsgaard