public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/uclibc: bump to 1.0.57
@ 2026-03-01 12:42 Waldemar Brodkorb
  2026-03-01 18:53 ` Julien Olivain via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Waldemar Brodkorb @ 2026-03-01 12:42 UTC (permalink / raw)
  To: buildroot

Following changes made it into the release:

Joris van Rantwijk (1):
      Fix adjtimex() with TIME64

Waldemar Brodkorb (8):
      sys/stat.h: remove _STAT_VER/_MKNOD_VER
      fix gettid() declaration
      add statx syscall wrapper
      sparc: add optimize build support for leon3
      sparc: sync with Linux kernel definition, fixes gdb compile
      fix compile error on earlier Kernels predating statx
      select: fix compilation failure with very old kernel
      bump version for 1.0.57 release

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 package/uclibc/uclibc.hash | 4 ++--
 package/uclibc/uclibc.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
index 6a96e57069..e0dba1b6b4 100644
--- a/package/uclibc/uclibc.hash
+++ b/package/uclibc/uclibc.hash
@@ -1,4 +1,4 @@
-# From https://downloads.uclibc-ng.org/releases/1.0.56/uClibc-ng-1.0.56.tar.xz.sha256
-sha256  23c9cab54c113e020fb20b9dc06be4a49560df791b78fcbc2ca899a6e8f213dd  uClibc-ng-1.0.56.tar.xz
+# From https://downloads.uclibc-ng.org/releases/1.0.57/uClibc-ng-1.0.57.tar.xz.sha256
+sha256  8bc734b584e23ff6ae3d0ebb4c0fb1d1d814c58c82822b93130d436afa7ace8b  uClibc-ng-1.0.57.tar.xz
 # Locally calculated
 sha256  ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5  COPYING.LIB
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 69eb73510e..0c91a176fa 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UCLIBC_VERSION = 1.0.56
+UCLIBC_VERSION = 1.0.57
 UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
 UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
 UCLIBC_LICENSE = LGPL-2.1+
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH] package/uclibc: bump to 1.0.57
  2026-03-01 12:42 [Buildroot] [PATCH] package/uclibc: bump to 1.0.57 Waldemar Brodkorb
@ 2026-03-01 18:53 ` Julien Olivain via buildroot
  2026-03-02 15:58   ` Waldemar Brodkorb
  2026-03-02 17:23   ` Waldemar Brodkorb
  2026-03-16 21:17 ` Julien Olivain via buildroot
  2026-03-27 10:02 ` Thomas Perale via buildroot
  2 siblings, 2 replies; 8+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-01 18:53 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

Hi Waldemar,

Thanks for the patch.

On 01/03/2026 13:42, Waldemar Brodkorb wrote:
> Following changes made it into the release:
> 
> Joris van Rantwijk (1):
>       Fix adjtimex() with TIME64
> 
> Waldemar Brodkorb (8):
>       sys/stat.h: remove _STAT_VER/_MKNOD_VER
>       fix gettid() declaration
>       add statx syscall wrapper

This new uclibc version is introducing a test failure
with zfs. See:
https://gitlab.com/jolivain/buildroot/-/jobs/13308829775

Running with the previous uclibc 1.0.56 works fine:
https://gitlab.com/jolivain/buildroot/-/jobs/13308875027

It seems related to commit:
https://github.com/wbx-github/uclibc-ng/commit/d3a819aff25af436e22abd5ba01ff2cfc0631b32

Do you have any idea which component should be fixed?
(uclibc, zfs, or the rutime test_xzf?)

>       sparc: add optimize build support for leon3
>       sparc: sync with Linux kernel definition, fixes gdb compile
>       fix compile error on earlier Kernels predating statx
>       select: fix compilation failure with very old kernel
>       bump version for 1.0.57 release
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH] package/uclibc: bump to 1.0.57
  2026-03-01 18:53 ` Julien Olivain via buildroot
@ 2026-03-02 15:58   ` Waldemar Brodkorb
  2026-03-02 17:23   ` Waldemar Brodkorb
  1 sibling, 0 replies; 8+ messages in thread
From: Waldemar Brodkorb @ 2026-03-02 15:58 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

Hi Julien,
Julien Olivain wrote,

> Hi Waldemar,
> 
> Thanks for the patch.
> 
> On 01/03/2026 13:42, Waldemar Brodkorb wrote:
> > Following changes made it into the release:
> > 
> > Joris van Rantwijk (1):
> >       Fix adjtimex() with TIME64
> > 
> > Waldemar Brodkorb (8):
> >       sys/stat.h: remove _STAT_VER/_MKNOD_VER
> >       fix gettid() declaration
> >       add statx syscall wrapper
> 
> This new uclibc version is introducing a test failure
> with zfs. See:
> https://gitlab.com/jolivain/buildroot/-/jobs/13308829775
> 
> Running with the previous uclibc 1.0.56 works fine:
> https://gitlab.com/jolivain/buildroot/-/jobs/13308875027
> 
> It seems related to commit:
> https://github.com/wbx-github/uclibc-ng/commit/d3a819aff25af436e22abd5ba01ff2cfc0631b32
> 
> Do you have any idea which component should be fixed?
> (uclibc, zfs, or the rutime test_xzf?)

No, not really. I checked again all the similarities and changes
between glibc and uClibc-ng regarding statx, but I see no reason why
it fails for uClibc-ng and works for glibc.

The test overrides the definition of statx in a way gcc complains.
The #include <fcntl.h> also includes <sys/stat.h> which then
includes <bits/statx.h>. 

Any ideas are welcome.

best regards
 Waldemar
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH] package/uclibc: bump to 1.0.57
  2026-03-01 18:53 ` Julien Olivain via buildroot
  2026-03-02 15:58   ` Waldemar Brodkorb
@ 2026-03-02 17:23   ` Waldemar Brodkorb
  2026-03-02 21:20     ` Julien Olivain via buildroot
  1 sibling, 1 reply; 8+ messages in thread
From: Waldemar Brodkorb @ 2026-03-02 17:23 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

Hi Julien,
Julien Olivain wrote,

> Hi Waldemar,
> 
> Thanks for the patch.
> 
> On 01/03/2026 13:42, Waldemar Brodkorb wrote:
> > Following changes made it into the release:
> > 
> > Joris van Rantwijk (1):
> >       Fix adjtimex() with TIME64
> > 
> > Waldemar Brodkorb (8):
> >       sys/stat.h: remove _STAT_VER/_MKNOD_VER
> >       fix gettid() declaration
> >       add statx syscall wrapper
> 
> This new uclibc version is introducing a test failure
> with zfs. See:
> https://gitlab.com/jolivain/buildroot/-/jobs/13308829775
> 
> Running with the previous uclibc 1.0.56 works fine:
> https://gitlab.com/jolivain/buildroot/-/jobs/13308875027
> 
> It seems related to commit:
> https://github.com/wbx-github/uclibc-ng/commit/d3a819aff25af436e22abd5ba01ff2cfc0631b32
> 
> Do you have any idea which component should be fixed?
> (uclibc, zfs, or the rutime test_xzf?)

It is uclibc-ng fault. A fix and a patch v2 will follow.

best regards
 Waldemar
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH] package/uclibc: bump to 1.0.57
  2026-03-02 17:23   ` Waldemar Brodkorb
@ 2026-03-02 21:20     ` Julien Olivain via buildroot
  2026-03-02 21:40       ` Waldemar Brodkorb
  0 siblings, 1 reply; 8+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-02 21:20 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

Hi Waldemar,

On 02/03/2026 18:23, Waldemar Brodkorb wrote:
> Hi Julien,
> Julien Olivain wrote,
> 
>> Hi Waldemar,
>> 
>> Thanks for the patch.
>> 
>> On 01/03/2026 13:42, Waldemar Brodkorb wrote:
>> > Following changes made it into the release:
>> >
>> > Joris van Rantwijk (1):
>> >       Fix adjtimex() with TIME64
>> >
>> > Waldemar Brodkorb (8):
>> >       sys/stat.h: remove _STAT_VER/_MKNOD_VER
>> >       fix gettid() declaration
>> >       add statx syscall wrapper
>> 
>> This new uclibc version is introducing a test failure
>> with zfs. See:
>> https://gitlab.com/jolivain/buildroot/-/jobs/13308829775
>> 
>> Running with the previous uclibc 1.0.56 works fine:
>> https://gitlab.com/jolivain/buildroot/-/jobs/13308875027
>> 
>> It seems related to commit:
>> https://github.com/wbx-github/uclibc-ng/commit/d3a819aff25af436e22abd5ba01ff2cfc0631b32
>> 
>> Do you have any idea which component should be fixed?
>> (uclibc, zfs, or the rutime test_xzf?)
> 
> It is uclibc-ng fault. A fix and a patch v2 will follow.

I looked a bit more into this. The statx headers for glibc and uclibc-ng
are indeed the same:

https://sourceware.org/git/?p=glibc.git;a=blob;f=io/bits/statx-generic.h;h=9bb9701dc67eccad968b338aeb15d87378fe65cd;hb=ea37298b65bd67f94c3c2640e91ec5865a5019ad#l66

https://github.com/wbx-github/uclibc-ng/blob/v1.0.57/libc/sysdeps/linux/common/bits/statx.h#L88

On its side, zfs is (re)defining the function slightly
differently in its test:
https://github.com/openzfs/zfs/blob/zfs-2.4.1/tests/zfs-tests/cmd/statx.c#L57-L59

Also, this test does not include the <sys/stat.h> header. It includes
only <fcntl.h>. In the case this test is compiled with glibc, stat.h
is never included, so the error does not happen.

For some reason, in the uclibc-ng case, sys/stat.h gets
included from fcntl.h, generating the error. See:
https://gitlab.com/jolivain/buildroot/-/jobs/13308829775#L237

Maybe the zfs statx test should protect the statx() definition
with a "#ifndef HAVE_STATX".

Or could uclibc avoid to include sys/stat.h from fcntl.h,
when it's not needed?

What do you think?

> best regards
>  Waldemar

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH] package/uclibc: bump to 1.0.57
  2026-03-02 21:20     ` Julien Olivain via buildroot
@ 2026-03-02 21:40       ` Waldemar Brodkorb
  0 siblings, 0 replies; 8+ messages in thread
From: Waldemar Brodkorb @ 2026-03-02 21:40 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

Hi Julien,
Julien Olivain wrote,

> Hi Waldemar,
> 
> On 02/03/2026 18:23, Waldemar Brodkorb wrote:
> > Hi Julien,
> > Julien Olivain wrote,
> > 
> > > Hi Waldemar,
> > > 
> > > Thanks for the patch.
> > > 
> > > On 01/03/2026 13:42, Waldemar Brodkorb wrote:
> > > > Following changes made it into the release:
> > > >
> > > > Joris van Rantwijk (1):
> > > >       Fix adjtimex() with TIME64
> > > >
> > > > Waldemar Brodkorb (8):
> > > >       sys/stat.h: remove _STAT_VER/_MKNOD_VER
> > > >       fix gettid() declaration
> > > >       add statx syscall wrapper
> > > 
> > > This new uclibc version is introducing a test failure
> > > with zfs. See:
> > > https://gitlab.com/jolivain/buildroot/-/jobs/13308829775
> > > 
> > > Running with the previous uclibc 1.0.56 works fine:
> > > https://gitlab.com/jolivain/buildroot/-/jobs/13308875027
> > > 
> > > It seems related to commit:
> > > https://github.com/wbx-github/uclibc-ng/commit/d3a819aff25af436e22abd5ba01ff2cfc0631b32
> > > 
> > > Do you have any idea which component should be fixed?
> > > (uclibc, zfs, or the rutime test_xzf?)
> > 
> > It is uclibc-ng fault. A fix and a patch v2 will follow.
> 
> I looked a bit more into this. The statx headers for glibc and uclibc-ng
> are indeed the same:
> 
> https://sourceware.org/git/?p=glibc.git;a=blob;f=io/bits/statx-generic.h;h=9bb9701dc67eccad968b338aeb15d87378fe65cd;hb=ea37298b65bd67f94c3c2640e91ec5865a5019ad#l66
> 
> https://github.com/wbx-github/uclibc-ng/blob/v1.0.57/libc/sysdeps/linux/common/bits/statx.h#L88
> 
> On its side, zfs is (re)defining the function slightly
> differently in its test:
> https://github.com/openzfs/zfs/blob/zfs-2.4.1/tests/zfs-tests/cmd/statx.c#L57-L59
> 
> Also, this test does not include the <sys/stat.h> header. It includes
> only <fcntl.h>. In the case this test is compiled with glibc, stat.h
> is never included, so the error does not happen.
> 
> For some reason, in the uclibc-ng case, sys/stat.h gets
> included from fcntl.h, generating the error. See:
> https://gitlab.com/jolivain/buildroot/-/jobs/13308829775#L237
> 
> Maybe the zfs statx test should protect the statx() definition
> with a "#ifndef HAVE_STATX".
> 
> Or could uclibc avoid to include sys/stat.h from fcntl.h,
> when it's not needed?
> 
> What do you think?

Just in this moment I came to the same conclusion. Glibc includes
only <bits/stat.h> since commit f095bb7204d80f609a73a22796edd6cffd4c6add
in 2010. uclibc uses <sys/stat.h> since 2000.

I am actually not sure what can of worms I will open up when
changing it to <bits/stat.h>.

But the zfs test is nevertheless broken, as it always use the
fallback even if glibc provides statx(). We should change it to
check HAVE_STATX as you suggested. And the STATX_MNT_ID check
is also broken, because it is not compile with -D_GNU_SOURCE as
required for a GNU extension.

Can you report it upstream?

In the meanwhile I will sync statx headers in uClibc-ng as they are
heavily outdated. At least this was a good thing to find out.

best regards
 Waldemar

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH] package/uclibc: bump to 1.0.57
  2026-03-01 12:42 [Buildroot] [PATCH] package/uclibc: bump to 1.0.57 Waldemar Brodkorb
  2026-03-01 18:53 ` Julien Olivain via buildroot
@ 2026-03-16 21:17 ` Julien Olivain via buildroot
  2026-03-27 10:02 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 8+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-16 21:17 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

On 01/03/2026 13:42, Waldemar Brodkorb wrote:
> Following changes made it into the release:
> 
> Joris van Rantwijk (1):
>       Fix adjtimex() with TIME64
> 
> Waldemar Brodkorb (8):
>       sys/stat.h: remove _STAT_VER/_MKNOD_VER
>       fix gettid() declaration
>       add statx syscall wrapper
>       sparc: add optimize build support for leon3
>       sparc: sync with Linux kernel definition, fixes gdb compile
>       fix compile error on earlier Kernels predating statx
>       select: fix compilation failure with very old kernel
>       bump version for 1.0.57 release
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Buildroot] [PATCH] package/uclibc: bump to 1.0.57
  2026-03-01 12:42 [Buildroot] [PATCH] package/uclibc: bump to 1.0.57 Waldemar Brodkorb
  2026-03-01 18:53 ` Julien Olivain via buildroot
  2026-03-16 21:17 ` Julien Olivain via buildroot
@ 2026-03-27 10:02 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 8+ messages in thread
From: Thomas Perale via buildroot @ 2026-03-27 10:02 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: Thomas Perale, buildroot

In reply of:
> Following changes made it into the release:
> 
> Joris van Rantwijk (1):
>       Fix adjtimex() with TIME64
> 
> Waldemar Brodkorb (8):
>       sys/stat.h: remove _STAT_VER/_MKNOD_VER
>       fix gettid() declaration
>       add statx syscall wrapper
>       sparc: add optimize build support for leon3
>       sparc: sync with Linux kernel definition, fixes gdb compile
>       fix compile error on earlier Kernels predating statx
>       select: fix compilation failure with very old kernel
>       bump version for 1.0.57 release
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Applied to 2026.02.x & 2025.02.x. Thanks

> ---
>  package/uclibc/uclibc.hash | 4 ++--
>  package/uclibc/uclibc.mk   | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
> index 6a96e57069..e0dba1b6b4 100644
> --- a/package/uclibc/uclibc.hash
> +++ b/package/uclibc/uclibc.hash
> @@ -1,4 +1,4 @@
> -# From https://downloads.uclibc-ng.org/releases/1.0.56/uClibc-ng-1.0.56.tar.xz.sha256
> -sha256  23c9cab54c113e020fb20b9dc06be4a49560df791b78fcbc2ca899a6e8f213dd  uClibc-ng-1.0.56.tar.xz
> +# From https://downloads.uclibc-ng.org/releases/1.0.57/uClibc-ng-1.0.57.tar.xz.sha256
> +sha256  8bc734b584e23ff6ae3d0ebb4c0fb1d1d814c58c82822b93130d436afa7ace8b  uClibc-ng-1.0.57.tar.xz
>  # Locally calculated
>  sha256  ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5  COPYING.LIB
> diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
> index 69eb73510e..0c91a176fa 100644
> --- a/package/uclibc/uclibc.mk
> +++ b/package/uclibc/uclibc.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -UCLIBC_VERSION = 1.0.56
> +UCLIBC_VERSION = 1.0.57
>  UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
>  UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
>  UCLIBC_LICENSE = LGPL-2.1+
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-27 10:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-01 12:42 [Buildroot] [PATCH] package/uclibc: bump to 1.0.57 Waldemar Brodkorb
2026-03-01 18:53 ` Julien Olivain via buildroot
2026-03-02 15:58   ` Waldemar Brodkorb
2026-03-02 17:23   ` Waldemar Brodkorb
2026-03-02 21:20     ` Julien Olivain via buildroot
2026-03-02 21:40       ` Waldemar Brodkorb
2026-03-16 21:17 ` Julien Olivain via buildroot
2026-03-27 10:02 ` Thomas Perale via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox