mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
toolchain: musl: Update to version 1.2.3
Changes:
new features:
- qsort_r function (POSIX-future)
- pthread_getname_np extension function
- hard float on SPE FPU for powerpc-sf
- SEEK_DATA and SEEK_HOLE exposed in unistd.h (Linux extensions)
compatibility:
- free now preserves errno (POSIX-future requirement)
- setjmp is declared explicitly with returns_twice for non-GCC compilers
- macro version of isascii is no longer defined for C++
- dynamic linker now tolerates zero-length LOAD segments
- epoll_[p]wait is now a cancellation point
- pwd/grp functions no longer fail on systems without AF_UNIX support
- POSIX TZ parsing is stricter to allow more names to fallback to files
- NULL is now defined as nullptr when used in C++11 or later
- gettext now accepts null pointer as argument
bugs fixed:
- old regression in wcwidth of Hangul combining (vowel/final) letters
- duplocale used wrong malloc when malloc was replaced (1.2.2 regression)
- fmaf rounded wrong on archs without FE_TOWARDZERO (all softfloat archs)
- popen didn't honor requirement not to leak other popen pipe fds to child
- aligned_alloc and variants crashed on allocation failure
- dl_iterate_phdr reported incorrect module TLS pointers
- mishandling of some inputs in acoshf and expm1f and functions using them
- potentially wrong-sign zero in cproj functions at infinity
- multiple bugs in legacy function cuserid
- minor posix_spawn file actions API conformance issues
- pthread_setname_np fd leak
- out-of-bound read in zoneinfo handling with distant-past times
- out-of-tree builds lacked generated debug cfi for x86 asm
arch-specific bugs fixed:
- powerpc (32-bit) struct shmid_ds layout was wrong for some fields
- time64 struct layout was wrong in sound ioctl fallback (32-bit archs)
In addition it contains the following improvements:
* protect stack canary from leak via read-as-string by zeroing second byte
* fix excessively slow TLS performance on some mips models
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Rui Salvaterra <rsalvaterra@gmail.com>
Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(cherry picked from commit 685ae2687b
)
This commit is contained in:
parent
968c1dedc2
commit
65144c96eb
@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
PKG_NAME:=musl
|
PKG_NAME:=musl
|
||||||
PKG_VERSION:=1.2.2
|
PKG_VERSION:=1.2.3
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://musl.libc.org/releases/
|
PKG_SOURCE_URL:=https://musl.libc.org/releases/
|
||||||
PKG_HASH:=9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd
|
PKG_HASH:=7d5b0b6062521e4627e099e4c9dc8248d32a30285e959b7eecaa780cf8cfd4a4
|
||||||
|
|
||||||
LIBC_SO_VERSION:=$(PKG_VERSION)
|
LIBC_SO_VERSION:=$(PKG_VERSION)
|
||||||
PATCH_DIR:=$(PATH_PREFIX)/patches
|
PATCH_DIR:=$(PATH_PREFIX)/patches
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/src/time/__tz.c
|
--- a/src/time/__tz.c
|
||||||
+++ b/src/time/__tz.c
|
+++ b/src/time/__tz.c
|
||||||
@@ -31,6 +31,9 @@ static int r0[5], r1[5];
|
@@ -32,6 +32,9 @@ static int r0[5], r1[5];
|
||||||
static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end;
|
static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end;
|
||||||
static size_t map_size;
|
static size_t map_size;
|
||||||
|
|
||||||
@ -10,7 +10,7 @@
|
|||||||
static char old_tz_buf[32];
|
static char old_tz_buf[32];
|
||||||
static char *old_tz = old_tz_buf;
|
static char *old_tz = old_tz_buf;
|
||||||
static size_t old_tz_size = sizeof old_tz_buf;
|
static size_t old_tz_size = sizeof old_tz_buf;
|
||||||
@@ -132,6 +135,15 @@ static void do_tzset()
|
@@ -133,6 +136,15 @@ static void do_tzset()
|
||||||
"/usr/share/zoneinfo/\0/share/zoneinfo/\0/etc/zoneinfo/\0";
|
"/usr/share/zoneinfo/\0/share/zoneinfo/\0/etc/zoneinfo/\0";
|
||||||
|
|
||||||
s = getenv("TZ");
|
s = getenv("TZ");
|
||||||
|
Loading…
Reference in New Issue
Block a user