package/musl: bump to version 1.1.24
PATCH 1/1 package/musl: bump to version 1.1.24
News from upstream [1]:
"""
This version adds the GLOB_TILDE extension for glob, a non-stub implementation of the catgets localization API, and posix_spawn extensions for chdir in the child. Many arch-specific bugs are fixed, some serious, including CVE-2019-14697 affecting several math functions only on i386, broken riscv64 atomics, broken lseek with large offsets on x32 and mipsn32, and broken setjmp/longjmp on mipsr6. Various low-severity, non-arch-specific bugs are also fixed.
In addition, this release cycle sets the internal groundwork for moving 32-bit archs to 64-bit time_t, needed for their future viability as Y2038 approaches. Most of the changes are not externally visible, but some affect which syscalls are used. Notably, mips64 stat-family functions can now report 64-bit file timestamps correctly, and some time-related breakage on x32 is fixed. In addition, select no longer stores remaining time back to the timeout argument. Previously, whether it did so was arch-dependent and merely a consequence of the Linux syscall behavior, which was found to be mildly non-conforming. """
Remove patches 0002 to 0005, which are included in the new version. Note, that the CVE fix mentioned above is the same as patch 0004.
The license file has changed because Arm was added to the copyright file.
[1] https://www.musl-libc.org/download.html
--- ...-risc64-conflict-with-kernel-headers.patch | 61 ------ ...-remove-riscv64-bits-user.h-contents.patch | 69 ------ ...balance-in-corner-cases-of-i386-math.patch | 200 ------------------ ...ression-in-i386-asm-for-atan2-atan2f.patch | 37 ---- package/musl/musl.hash | 6 +- package/musl/musl.mk | 2 +- 6 files changed, 4 insertions(+), 371 deletions(-) delete mode 100644 package/musl/0002-fix-risc64-conflict-with-kernel-headers.patch delete mode 100644 package/musl/0003-remove-riscv64-bits-user.h-contents.patch delete mode 100644 package/musl/0004-fix-x87-stack-imbalance-in-corner-cases-of-i386-math.patch delete mode 100644 package/musl/0005-fix-build-regression-in-i386-asm-for-atan2-atan2f.patch
package/musl/0002-fix-risc64-conflict-with-kernel-headers.patch deleted +0 -61
@@ -1,61 +0,0 @@ -From 8acc688548b27151c45ee8a80f3a0b75f4a761c0 Mon Sep 17 00:00:00 2001 -From: Baruch Siach <[email protected]> -Date: Tue, 6 Aug 2019 08:51:13 +0300 -Subject: [PATCH] fix risc64 conflict with kernel headers - -Rename user registers struct definitions to avoid conflict with the -asm/ptrace.h kernel header that defines the same structs. Use the -__riscv_mc prefix as glibc does. - -Signed-off-by: Baruch Siach <[email protected]> ---- -Upstream status: commit 8acc688548b - - arch/riscv64/bits/signal.h | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/arch/riscv64/bits/signal.h b/arch/riscv64/bits/signal.h -index 4c94a8f02edc..76d7ad80c8cd 100644 ---- a/arch/riscv64/bits/signal.h -+++ b/arch/riscv64/bits/signal.h -@@ -12,29 +12,29 @@ - typedef unsigned long greg_t; - typedef unsigned long gregset_t[32]; - --struct __riscv_f_ext_state { -+struct __riscv_mc_f_ext_state { - unsigned int f[32]; - unsigned int fcsr; - }; - --struct __riscv_d_ext_state { -+struct __riscv_mc_d_ext_state { - unsigned long long f[32]; - unsigned int fcsr; - }; - --struct __riscv_q_ext_state { -+struct __riscv_mc_q_ext_state { - unsigned long long f[64] __attribute__((aligned(16))); - unsigned int fcsr; - unsigned int reserved[3]; - }; - --union __riscv_fp_state { -- struct __riscv_f_ext_state f; -- struct __riscv_d_ext_state d; -- struct __riscv_q_ext_state q; -+union __riscv_mc_fp_state { -+ struct __riscv_mc_f_ext_state f; -+ struct __riscv_mc_d_ext_state d; -+ struct __riscv_mc_q_ext_state q; - }; - --typedef union __riscv_fp_state fpregset_t; -+typedef union __riscv_mc_fp_state fpregset_t; - - typedef struct sigcontext { - gregset_t gregs; --- -2.20.1 -
package/musl/0003-remove-riscv64-bits-user.h-contents.patch deleted +0 -69
69 lines not on this page · raw message
package/musl/0004-fix-x87-stack-imbalance-in-corner-cases-of-i386-math.patch deleted +0 -200
200 lines not on this page · raw message
package/musl/0005-fix-build-regression-in-i386-asm-for-atan2-atan2f.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 6818c31c9bc4bbad5357f1de14bedf781e5b349e Mon Sep 17 00:00:00 2001 -From: Rich Felker <[email protected]> -Date: Mon, 5 Aug 2019 19:57:07 -0400 -Subject: [PATCH] fix build regression in i386 asm for atan2, atan2f - -commit f3ed8bfe8a82af1870ddc8696ed4cc1d5aa6b441 inadvertently removed -labels that were still needed. - -Signed-off-by: Peter Korsgaard <[email protected]> ---- - src/math/i386/atan2.s | 2 +- - src/math/i386/atan2f.s | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/math/i386/atan2.s b/src/math/i386/atan2.s -index 1fa0524d..76b95f31 100644 ---- a/src/math/i386/atan2.s -+++ b/src/math/i386/atan2.s -@@ -11,4 +11,4 @@ atan2: - jae 1f - # subnormal x, return x with underflow - fsts 4(%esp) -- ret -+1: ret -diff --git a/src/math/i386/atan2f.s b/src/math/i386/atan2f.s -index 0b264726..c9408a90 100644 ---- a/src/math/i386/atan2f.s -+++ b/src/math/i386/atan2f.s -@@ -13,4 +13,4 @@ atan2f: - fld %st(0) - fmul %st(1) - fstps 4(%esp) -- ret -+1: ret --- -2.11.0 -
package/musl/musl.hash +3 -3
@@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# http://www.musl-libc.org/releases/musl-1.1.23.tar.gz.asc -sha256 8a0feb41cef26c97dde382c014e68b9bb335c094bbc1356f6edaaf6b79bd14aa musl-1.1.23.tar.gz -sha256 b349949ea277c203212aa85b42cdc5310527419e6fa0ce29fef7641abe194577 COPYRIGHT +# http://www.musl-libc.org/releases/musl-1.1.24.tar.gz.asc +sha256 1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz +sha256 3520d478bccbdf68d9dc0c03984efb0fa4b99868ab2599f5b5f72f3fb3b07a49 COPYRIGHT
package/musl/musl.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -MUSL_VERSION = 1.1.23 +MUSL_VERSION = 1.1.24 MUSL_SITE = http://www.musl-libc.org/releases MUSL_LICENSE = MIT MUSL_LICENSE_FILES = COPYRIGHT
Signature · 1 line
2.23.0
Thomas Petazzoni
AppliedPATCH 1/1 package/musl: bump to version 1.1.24
Quoted 30 lines · On Mon, 14 Oct 2019 21:13:05 +0200 J?rg Krause <[email protected]>…
News from upstream [1]:
"""
This version adds theGLOB_TILDEextension for glob, a non-stub implementation of the catgets localization API, andposix_spawnextensions for chdir in the child. Many arch-specific bugs are fixed, some serious, including CVE-2019-14697 affecting several math functions only on i386, broken riscv64 atomics, broken lseek with large offsets on x32 and mipsn32, and broken setjmp/longjmp on mipsr6. Various low-severity, non-arch-specific bugs are also fixed.In addition, this release cycle sets the internal groundwork for moving 32-bit archs to 64-bit
time_t, needed for their future viability as Y2038 approaches. Most of the changes are not externally visible, but some affect which syscalls are used. Notably, mips64 stat-family functions can now report 64-bit file timestamps correctly, and some time-related breakage on x32 is fixed. In addition, select no longer stores remaining time back to the timeout argument. Previously, whether it did so was arch-dependent and merely a consequence of the Linux syscall behavior, which was found to be mildly non-conforming. """Remove patches 0002 to 0005, which are included in the new version. Note, that the CVE fix mentioned above is the same as patch 0004.
The license file has changed because Arm was added to the copyright file.
[1] https://www.musl-libc.org/download.html
Signed-off-by J?rg Krause <[email protected]>
Quoted 12 lines
--- ...-risc64-conflict-with-kernel-headers.patch | 61 ------ ...-remove-riscv64-bits-user.h-contents.patch | 69 ------ ...balance-in-corner-cases-of-i386-math.patch | 200 ------------------ ...ression-in-i386-asm-for-atan2-atan2f.patch | 37 ---- package/musl/musl.hash | 6 +- package/musl/musl.mk | 2 +- 6 files changed, 4 insertions(+), 371 deletions(-) delete mode 100644 package/musl/0002-fix-risc64-conflict-with-kernel-headers.patch delete mode 100644 package/musl/0003-remove-riscv64-bits-user.h-contents.patch delete mode 100644 package/musl/0004-fix-x87-stack-imbalance-in-corner-cases-of-i386-math.patch delete mode 100644 package/musl/0005-fix-build-regression-in-i386-asm-for-atan2-atan2f.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com