From patchwork Wed Feb 26 22:03:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 1245354 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=embedded.rocks Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" header.d=embedded.rocks header.i=@embedded.rocks header.a=rsa-sha256 header.s=default header.b=Az/UVry/; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48SVFM26Jhz9sNg for ; Thu, 27 Feb 2020 09:04:05 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D108987749; Wed, 26 Feb 2020 22:04:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iqDdmtb08Axx; Wed, 26 Feb 2020 22:04:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9F1D184E0C; Wed, 26 Feb 2020 22:04:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 06DAF1BF41A for ; Wed, 26 Feb 2020 22:04:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id F34FC221CC for ; Wed, 26 Feb 2020 22:03:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9V00gRvNKATg for ; Wed, 26 Feb 2020 22:03:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by silver.osuosl.org (Postfix) with ESMTPS id 7813C221BB for ; Wed, 26 Feb 2020 22:03:58 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A51C72400FC for ; Wed, 26 Feb 2020 23:03:55 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48SVF700NHz9rxS for ; Wed, 26 Feb 2020 23:03:54 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1582754633; x=1583359434; bh=xq9M+d03Pj9TSwA9VL3c5UDdllT6x2HeoarkksbGJI0=; b=Az/UVry/mfPF iOrmTKGBvtAKvCVRHsrQHBfhiUToT7S8SNyN0rc0CgDW5skQrj80UI777Q4ft4XW Isx62PyNBvD4TvNki28d9/ej8GF+woeB8YGAJvGfCYknxsSTQMFrbw1iQ/u74ApJ pcRh4Ob0UmfXNKVfhb0aAD138T8E1ToEykJ31/sQvmy3p0JUG6Zb66E2Vw70cY2+ AZXyFRNK3nuB3DRMg8pzuB28dQ+09vJ9QV+mnTyQf56pKVOdc/2C0gp96nYAjTvz Gu2GOxhdL4Vh2FHXOt1K7SGqpIHkdhf8T9B+Q4p06KrfSZI8nt30Snn+b3TCUEX1 yDisvIPR1Q== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id OJyUbjXcNyG5; Wed, 26 Feb 2020 23:03:53 +0100 (CET) Received: from nzxt.fritz.box (port-92-193-157-235.dynamic.as20676.net [92.193.157.235]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Wed, 26 Feb 2020 23:03:53 +0100 (CET) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Wed, 26 Feb 2020 23:03:48 +0100 Message-Id: <20200226220348.247869-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/musl: bump to version 1.2.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Also: * Drop patch 0003 which is included in the new version. * Update hash value of the COPYRIGHT file as the copyright year was updated. From the release history [1]: This release moves all 32-bit archs to 64-bit time_t, enabling them to represent times beyond January of 2038. There are no new requirements on kernel version, and this is not a hard ABI break, but the type changes do impact compatibility between code built against previous versions of musl and code built against musl 1.2. Users upgrading 32-bit systems should read the detailed time64 release notes [2]. 64-bit systems are not affected. In addition, character data has been updated to align with Unicode 12.1.0, along with fixes for some errors in the data and a replacement for inefficient and unmaintainable case-mapping code. Correctness of results has been improved in the math library, particularly some complex functions and 32-bit x86 asm. Various arch-specific bugs have also been fixed. [1] https://musl.libc.org/releases.html [2] https://musl.libc.org/time64.html Signed-off-by: Jörg Krause --- ...register-index-constants-to-signal.h.patch | 54 ------------------- package/musl/musl.hash | 6 +-- package/musl/musl.mk | 2 +- 3 files changed, 4 insertions(+), 58 deletions(-) delete mode 100644 package/musl/0003-move-riscv64-register-index-constants-to-signal.h.patch diff --git a/package/musl/0003-move-riscv64-register-index-constants-to-signal.h.patch b/package/musl/0003-move-riscv64-register-index-constants-to-signal.h.patch deleted file mode 100644 index 8221c0ea30..0000000000 --- a/package/musl/0003-move-riscv64-register-index-constants-to-signal.h.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 329e79299daaa994b8e75941331a1093051ea5d9 Mon Sep 17 00:00:00 2001 -From: Rich Felker -Date: Tue, 4 Feb 2020 09:29:13 -0500 -Subject: move riscv64 register index constants to signal.h - -under _GNU_SOURCE for namespace cleanliness, analogous to other archs. -the original placement in sys/reg.h seems not to have been motivated; -such a header isn't even present on other implementations. - -Downloaded from upstream commit -https://git.musl-libc.org/cgit/musl/commit/?id=329e79299daaa994b8e75941331a1093051ea5d9 - -Signed-off-by: Mark Corbin ---- - arch/riscv64/bits/reg.h | 6 ------ - arch/riscv64/bits/signal.h | 9 +++++++++ - 2 files changed, 9 insertions(+), 6 deletions(-) - -diff --git a/arch/riscv64/bits/reg.h b/arch/riscv64/bits/reg.h -index c800788c..2633f39d 100644 ---- a/arch/riscv64/bits/reg.h -+++ b/arch/riscv64/bits/reg.h -@@ -1,8 +1,2 @@ - #undef __WORDSIZE - #define __WORDSIZE 64 --#define REG_PC 0 --#define REG_RA 1 --#define REG_SP 2 --#define REG_TP 4 --#define REG_S0 8 --#define REG_A0 10 -diff --git a/arch/riscv64/bits/signal.h b/arch/riscv64/bits/signal.h -index 2ff4be30..b006334f 100644 ---- a/arch/riscv64/bits/signal.h -+++ b/arch/riscv64/bits/signal.h -@@ -35,6 +35,15 @@ typedef struct mcontext_t { - union __riscv_mc_fp_state __fpregs; - } mcontext_t; - -+#if defined(_GNU_SOURCE) -+#define REG_PC 0 -+#define REG_RA 1 -+#define REG_SP 2 -+#define REG_TP 4 -+#define REG_S0 8 -+#define REG_A0 10 -+#endif -+ - #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) - typedef unsigned long greg_t; - typedef unsigned long gregset_t[32]; --- -cgit v1.2.1 - diff --git a/package/musl/musl.hash b/package/musl/musl.hash index f0450897c0..9d8b61e165 100644 --- a/package/musl/musl.hash +++ b/package/musl/musl.hash @@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature from -# http://www.musl-libc.org/releases/musl-1.1.24.tar.gz.asc -sha256 1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz -sha256 3520d478bccbdf68d9dc0c03984efb0fa4b99868ab2599f5b5f72f3fb3b07a49 COPYRIGHT +# https://musl.libc.org/releases/musl-1.2.0.tar.gz.asc +sha256 c6de7b191139142d3f9a7b5b702c9cae1b5ee6e7f57e582da9328629408fd4e8 musl-1.2.0.tar.gz +sha256 afe1df384787fce3577f3356b8b0d417381483f7c704eacb63f8050349fac77a COPYRIGHT diff --git a/package/musl/musl.mk b/package/musl/musl.mk index df68c5f51b..9482c0b246 100644 --- a/package/musl/musl.mk +++ b/package/musl/musl.mk @@ -4,7 +4,7 @@ # ################################################################################ -MUSL_VERSION = 1.1.24 +MUSL_VERSION = 1.2.0 MUSL_SITE = http://www.musl-libc.org/releases MUSL_LICENSE = MIT MUSL_LICENSE_FILES = COPYRIGHT