package/uclibc: update to 1.0.50
PATCH 1/1 package/uclibc: update to 1.0.50
See this git shortlog for changes:
Dmitry Chestnykh (2):
Fix compilation with 4.x kernel headers
Group conditions after &&
Frank Mehnert (6):
libdl: properly cast parameters for %p format string specifier
iconv: explicit cast to unsigned char*
iconv: explicitly state operator precedence
ldso.c: use 'unsigned int' as loop variable type
iconv: fix parameter type of utf8seq_is_{overlong,surrogate,illegal}
iconv: prevent compiler warning during initialization with jis0208
J. Neuschäfer (1):
bits/stat.h: Declare st_mtim if defined(__USE_XOPEN2K8), everywhere
Marcus Haehnel (5):
ldso/dl-vdso: avoid compiler warning if configured without vdso
uclibc: Fix double promotion warning
libm: Fix float conversion compiler warning features.h: add clang prerequisite macro
buildsys: allow building with gcc-14
Sven Linker (1):
c++: Remove deprecated dynamic exception specification
Valentin Gehrke (1):
arm: Replace deprecated asm instructions for ARMv8 AArch32
Waldemar Brodkorb (9):
Clang support for gnu_inline attribute
allow to use <sys/ucontext.h>
add SEEK_DATA/SEEK_HOLE
lseek: allow SEEK_DATA/SEEK_HOLE to be used
bits/stat.h: Declare st_mtim if defined(__USE_XOPEN2K8), add missing
riscv: remove incomplete context implementation, use libucontext add memfd_create syscall wrapper
getrandom: remove __USE_GNU / add GRND_INSECURE
bump version for 1.0.50 release
Yann Le Du (1):
stdlib: increase number of static atexit handlers to 32
All buildroot patches are upstream.
---
Please consider to update master with this patch as it is mostly bugfixes. Would be great if you make an exception. Thanks.
--- .../0001-allow-to-use-sys-ucontext.h.patch | 35 --- ...-compilation-with-4.x-kernel-headers.patch | 80 ------- ...are-st_mtim-if-defined-__USE_XOPEN2K.patch | 205 ------------------ ...ix-arc-build-with-4.x-kernel-headers.patch | 35 --- ...are-st_mtim-if-defined-__USE_XOPEN2K.patch | 132 ----------- package/uclibc/uclibc.hash | 4 +- package/uclibc/uclibc.mk | 2 +- 7 files changed, 3 insertions(+), 490 deletions(-) delete mode 100644 package/uclibc/0001-allow-to-use-sys-ucontext.h.patch delete mode 100644 package/uclibc/0002-Fix-compilation-with-4.x-kernel-headers.patch delete mode 100644 package/uclibc/0003-bits-stat.h-Declare-st_mtim-if-defined-__USE_XOPEN2K.patch delete mode 100644 package/uclibc/0004-Fix-arc-build-with-4.x-kernel-headers.patch delete mode 100644 package/uclibc/0005-bits-stat.h-Declare-st_mtim-if-defined-__USE_XOPEN2K.patch
package/uclibc/0001-allow-to-use-sys-ucontext.h.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 903da45dde43836e35a295226c5b1efccd413c08 Mon Sep 17 00:00:00 2001 -From: Waldemar Brodkorb <[email protected]> -Date: Wed, 17 Jul 2024 15:41:40 +0200 -Subject: [PATCH] allow to use <sys/ucontext.h> - -For architectures without ucontext implementation it is possible -to use libucontext with this small adaptation. - -Signed-off-by: Waldemar Brodkorb <[email protected]> -Upstream: https://mailman.openadk.org/mailman3/hyperkitty/list/[email protected]/thread/MZCPGG56TL7SVOZY2L3AGHLREJ76BYZE/ ---- - include/ucontext.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/ucontext.h b/include/ucontext.h -index 4ce114ef1..76b4f375e 100644 ---- a/include/ucontext.h -+++ b/include/ucontext.h -@@ -23,11 +23,11 @@ - - #include <features.h> - --#ifdef __UCLIBC_HAS_CONTEXT_FUNCS__ -- - /* Get machine dependent definition of data structures. */ - #include <sys/ucontext.h> - -+#ifdef __UCLIBC_HAS_CONTEXT_FUNCS__ -+ - __BEGIN_DECLS - - /* Get user context and store it in variable pointed to by UCP. */ --- -2.30.2 -
package/uclibc/0002-Fix-compilation-with-4.x-kernel-headers.patch deleted +0 -80
80 lines not on this page · raw message
package/uclibc/0003-bits-stat.h-Declare-st_mtim-if-defined-__USE_XOPEN2K.patch deleted +0 -205
205 lines not on this page · raw message
package/uclibc/0004-Fix-arc-build-with-4.x-kernel-headers.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 1afc19eb6a7948afbcf3dd19091ce127a355ebcb Mon Sep 17 00:00:00 2001 -From: Dmitry Chestnykh <[email protected]> -Date: Sun, 28 Jul 2024 14:12:39 +0300 -Subject: [PATCH] [ldso] Group conditions after `&&` - -If the conditions are not grouped we can reach -this block even if `__NR_stat` is not defined. - -`defined __NR_stat && ((!defined(__UCLIBC_USE_TIME64__) || defined(__sparc__))` -gives us false but `LINUX_VERSION_CODE <= KERNEL_VERSION(5,1,0))` -may give us true. So if linux headers version is below 5.1.0 and -__NR_stat is not defined we can have compilation error - -Signed-off-by: Dmitry Chestnykh <[email protected]> -Upstream: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=841d0729883ee0de606de161c1d6a5c37cedf575 ---- - ldso/include/dl-syscall.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h -index 9ec0eac60..180d03012 100644 ---- a/ldso/include/dl-syscall.h -+++ b/ldso/include/dl-syscall.h -@@ -141,7 +141,7 @@ static __always_inline int _dl_stat(const char *file_name, - { - return _dl_newfstatat(AT_FDCWD, file_name, buf, 0); - } --#elif defined __NR_stat && (!defined(__UCLIBC_USE_TIME64__) || defined(__sparc__)) || (LINUX_VERSION_CODE <= KERNEL_VERSION(5,1,0)) -+#elif defined __NR_stat && (!defined(__UCLIBC_USE_TIME64__) || defined(__sparc__) || (LINUX_VERSION_CODE <= KERNEL_VERSION(5,1,0))) - # define __NR__dl_stat __NR_stat - static __always_inline _syscall2(int, _dl_stat, const char *, file_name, - struct stat *, buf) --- -2.45.2 -
package/uclibc/0005-bits-stat.h-Declare-st_mtim-if-defined-__USE_XOPEN2K.patch deleted +0 -132
132 lines not on this page · raw message
package/uclibc/uclibc.hash +2 -2
@@ -1,4 +1,4 @@ -# From https://downloads.uclibc-ng.org/releases/1.0.49/uClibc-ng-1.0.49.tar.xz.sha256 -sha256 340f9d5dd1159c69c3380654e39e567cbb304afcd3f9dfa2e9833f0fa13f5bbe uClibc-ng-1.0.49.tar.xz +# From https://downloads.uclibc-ng.org/releases/1.0.50/uClibc-ng-1.0.50.tar.xz.sha256 +sha256 aed867251f4823a74ea5e3a3993d3a7c123280abe15e38dc206770c3968f21cf uClibc-ng-1.0.50.tar.xz # Locally calculated sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB
package/uclibc/uclibc.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -UCLIBC_VERSION = 1.0.49 +UCLIBC_VERSION = 1.0.50 UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION) UCLIBC_LICENSE = LGPL-2.1+
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 41 lines · On Tue, 13 Aug 2024 05:57:49 +0200 Waldemar Brodkorb <[email protected]> wrote:
See this git shortlog for changes:
Dmitry Chestnykh (2):
Fix compilation with 4.x kernel headers
Group conditions after&&Frank Mehnert (6):
libdl: properly cast parameters for %p format string specifier
iconv: explicit cast tounsigned char*
iconv: explicitly state operator precedence
ldso.c: use 'unsigned int' as loop variable type
iconv: fix parameter type of utf8seq_is_{overlong,surrogate,illegal}
iconv: prevent compiler warning during initialization with jis0208J. Neuschäfer (1):
bits/stat.h: Declarest_mtimifdefined(__USE_XOPEN2K8), everywhereMarcus Haehnel (5):
ldso/dl-vdso: avoid compiler warning if configured without vdso
uclibc: Fix double promotion warning
libm: Fix float conversion compiler warningfeatures.h: add clang prerequisite macro
buildsys: allow building with gcc-14Sven Linker (1):
c++: Remove deprecated dynamic exception specificationValentin Gehrke (1):
arm: Replace deprecated asm instructions for ARMv8 AArch32Waldemar Brodkorb (9):
Clang support forgnu_inlineattribute
allow to use <sys/ucontext.h>
add SEEK_DATA/SEEK_HOLE
lseek: allow SEEK_DATA/SEEK_HOLE to be used
bits/stat.h: Declarest_mtimifdefined(__USE_XOPEN2K8), add missing
riscv: remove incomplete context implementation, use libucontext addmemfd_createsyscall wrapper
getrandom: remove__USE_GNU/ addGRND_INSECURE
bump version for 1.0.50 release
Quoted 7 lines
Yann Le Du (1):
stdlib: increase number of static atexit handlers to 32All buildroot patches are upstream.
Signed-off-by Waldemar Brodkorb <[email protected]>---
It's a version bump of a critical component, in master, quite late in the release cycle, but really the number of changes upstream is limited, so let's give it a try and hope it won't break anything :-)
Applied to master, thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Thomas,
Thomas Petazzoni wrote,
Quoted 49 lines
Quoted 46 lines · On Tue, 13 Aug 2024 05:57:49 +0200 Waldemar Brodkorb <[email protected]> wrote:
See this git shortlog for changes:
Dmitry Chestnykh (2):
Fix compilation with 4.x kernel headers
Group conditions after&&Frank Mehnert (6):
libdl: properly cast parameters for %p format string specifier
iconv: explicit cast tounsigned char*
iconv: explicitly state operator precedence
ldso.c: use 'unsigned int' as loop variable type
iconv: fix parameter type of utf8seq_is_{overlong,surrogate,illegal}
iconv: prevent compiler warning during initialization with jis0208J. Neuschäfer (1):
bits/stat.h: Declarest_mtimifdefined(__USE_XOPEN2K8), everywhereMarcus Haehnel (5):
ldso/dl-vdso: avoid compiler warning if configured without vdso
uclibc: Fix double promotion warning
libm: Fix float conversion compiler warningfeatures.h: add clang prerequisite macro
buildsys: allow building with gcc-14Sven Linker (1):
c++: Remove deprecated dynamic exception specificationValentin Gehrke (1):
arm: Replace deprecated asm instructions for ARMv8 AArch32Waldemar Brodkorb (9):
Clang support forgnu_inlineattribute
allow to use <sys/ucontext.h>
add SEEK_DATA/SEEK_HOLE
lseek: allow SEEK_DATA/SEEK_HOLE to be used
bits/stat.h: Declarest_mtimifdefined(__USE_XOPEN2K8), add missing
riscv: remove incomplete context implementation, use libucontext addmemfd_createsyscall wrapper
getrandom: remove__USE_GNU/ addGRND_INSECURE
bump version for 1.0.50 releaseYann Le Du (1):
stdlib: increase number of static atexit handlers to 32All buildroot patches are upstream.
Quoted 8 lines
Quoted 2 lines
Signed-off-by Waldemar Brodkorb <[email protected]>---
It's a version bump of a critical component, in master, quite late in the release cycle, but really the number of changes upstream is limited, so let's give it a try and hope it won't break anything :-)
Applied to master, thanks!
Thanks!
Now it would be great if you could update the Bootlin Toolchains to use 1.0.50. Thanks in advance!
Sunshine!
Waldemar
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot