Skip to contentSkip to conversation

uclibc: bump to version 1.0.31

PATCH New Carlos Santos 2 participants 2 messages Nov 24, 2018 – Nov 25, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uclibc: bump to version 1.0.31

Remove all patches, since they were already applied upstream. Add license file hash.

---
 ...ldconfig-add-glibc-compatibility-fix.patch | 54 -------------------
 ...ock_nanosleep-independent-of-thread-.patch | 34 ------------
 ..._DEBUG-segv-when-printing-R_ARC_NONE.patch | 45 ----------------
 ...stemp64-clear-flags-as-mkostemp-does.patch | 38 -------------
 package/uclibc/uclibc.hash                    |  6 ++-
 package/uclibc/uclibc.mk                      |  4 +-
 6 files changed, 6 insertions(+), 175 deletions(-)
 delete mode 100644 package/uclibc/0001-Revert-ldconfig-add-glibc-compatibility-fix.patch
 delete mode 100644 package/uclibc/0002-librt-declare-clock_nanosleep-independent-of-thread-.patch
 delete mode 100644 package/uclibc/0003-ldso-arc-fix-LD_DEBUG-segv-when-printing-R_ARC_NONE.patch
 delete mode 100644 package/uclibc/0004-mkostemp64-clear-flags-as-mkostemp-does.patch
package/uclibc/0001-Revert-ldconfig-add-glibc-compatibility-fix.patch deleted +0 -54
deleted file mode 100644
index 7ba3b2866d..0000000000
@@ -1,54 +0,0 @@
-From 92d250d387e247029900c9074150f45866b29781 Mon Sep 17 00:00:00 2001
-From: Waldemar Brodkorb <[email protected]>
-Date: Sun, 29 Apr 2018 19:34:11 +0200
-Subject: [PATCH] Revert "ldconfig: add glibc compatibility fix"
-
-This reverts commit 2a3bb4daf5778c5875674cd26a3c75b3d460a042.
-
-This is breaking ld.so.cache usage. Seen on Gentoo/amd64.
-
-Reported-by: "Anthony G. Basile" <[email protected]>
-Signed-off-by: Waldemar Brodkorb <[email protected]>
----
- utils/ldconfig.c | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/utils/ldconfig.c b/utils/ldconfig.c
-index 58939d6..e6b7881 100644
---- a/utils/ldconfig.c
-+++ b/utils/ldconfig.c
-@@ -184,9 +184,10 @@ static char *readsoname(char *name, FILE *infile, int expected_type,
- 		res = readsoname32(name, infile, expected_type, type);
- 	else {
- 		res = readsoname64(name, infile, expected_type, type);
--
--		// For 64-bit glibc compatibility
--		*type |= FLAG_X8664_LIB64;
-+#if 0
-+		/* relies on multilib support which we dont have ... */
-+		*type |= LIB_ELF64;
-+#endif
- 	}
- 
- 	return res;
-@@ -757,7 +758,7 @@ void cache_print(void)
- 
- 	for (fd = 0; fd < header->nlibs; fd++) {
- 		printf("\t%s ", strs + libent[fd].sooffset);
--		switch (libent[fd].flags & ~LIB_ELF64 & FLAG_TYPE_MASK) {
-+		switch (libent[fd].flags & ~LIB_ELF64) {
- 		case LIB_DLL:
- 			printf("(libc4)");
- 			break;
-@@ -770,7 +771,7 @@ void cache_print(void)
- 		case LIB_ELF_LIBC5:
- 		case LIB_ELF_LIBC6:
- 			printf("(libc%d%s)",
--			       (libent[fd].flags & ~LIB_ELF64 & FLAG_TYPE_MASK) + 3,
-+			       (libent[fd].flags & ~LIB_ELF64) + 3,
- 			       libent[fd].flags & LIB_ELF64 ? "/64" : "");
- 			break;
- 		default:
--- 
-2.1.4
-
package/uclibc/0002-librt-declare-clock_nanosleep-independent-of-thread-.patch deleted +0 -34
deleted file mode 100644
index bb9ef18b4f..0000000000
@@ -1,34 +0,0 @@
-From 368a1df04a32c3b95859b0ca588da8548a5f39ca Mon Sep 17 00:00:00 2001
-From: Waldemar Brodkorb <[email protected]>
-Date: Tue, 1 May 2018 19:35:20 +0200
-Subject: [PATCH] librt: declare clock_nanosleep independent of thread support
-
-Reported-by: Baruch Siach <[email protected]>
-Signed-off-by: Waldemar Brodkorb <[email protected]>
----
- include/time.h | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/include/time.h b/include/time.h
-index 785c8f6..1a14089 100644
---- a/include/time.h
-+++ b/include/time.h
-@@ -356,7 +356,6 @@ extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp)
- #  endif /* __UCLIBC_HAS_REALTIME__ */
- 
- #  if defined __USE_XOPEN2K && defined __UCLIBC_HAS_ADVANCED_REALTIME__
--#   ifdef __UCLIBC_HAS_THREADS_NATIVE__
- /* High-resolution sleep with the specified clock.
- 
-    This function is a cancellation point and therefore not marked with
-@@ -367,7 +366,6 @@ extern int clock_nanosleep (clockid_t __clock_id, int __flags,
- 
- /* Return clock ID for CPU-time clock.  */
- extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __THROW;
--#   endif /* __UCLIBC_HAS_THREADS_NATIVE__ */
- #  endif
- 
- #  if defined __UCLIBC_HAS_REALTIME__
--- 
-2.1.4
-
package/uclibc/0003-ldso-arc-fix-LD_DEBUG-segv-when-printing-R_ARC_NONE.patch deleted +0 -45

45 lines not on this page · raw message

package/uclibc/0004-mkostemp64-clear-flags-as-mkostemp-does.patch deleted +0 -38
deleted file mode 100644
index f87abd8849..0000000000
@@ -1,38 +0,0 @@
-From 09a776103e4aa75f95c9ad44554a9c2b56de3535 Mon Sep 17 00:00:00 2001
-From: Carlos Santos <[email protected]>
-Date: Mon, 29 Oct 2018 01:17:38 -0300
-Subject: [PATCH] mkostemp64: clear flags, as mkostemp does
-
-This should have been made in commit 9649721950 but was forgotten.
-
-Signed-off-by: Carlos Santos <[email protected]>
----
- libc/stdlib/mkostemp64.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/libc/stdlib/mkostemp64.c b/libc/stdlib/mkostemp64.c
-index aa9736cd6..f4674bb0c 100644
---- a/libc/stdlib/mkostemp64.c
-+++ b/libc/stdlib/mkostemp64.c
-@@ -15,9 +15,9 @@
-    License along with the GNU C Library; if not, see
-    <http://www.gnu.org/licenses/>.  */
- 
--#include <fcntl.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <fcntl.h>
- #include "../misc/internals/tempname.h"
- 
- /* Generate a unique temporary file name from TEMPLATE.
-@@ -27,6 +27,7 @@
- int
- mkostemp64 (char *template, int flags)
- {
-+  flags -= flags & O_ACCMODE; /* Remove O_RDONLY, O_WRONLY, and O_RDWR. */
-   return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE, 0,
-                          S_IRUSR | S_IWUSR);
- }
--- 
-2.14.5
-
package/uclibc/uclibc.hash +4 -2
index 81936f3639..d1cbdb6c78 100644
@@ -1,2 +1,4 @@
-# From https://uclibc-ng.org/
-sha256  992bd9a2889ea385902b87e3d3d30603741eb16728288fbf537ff2027f770496        uClibc-ng-1.0.30.tar.xz
+# From https://downloads.uclibc-ng.org/releases/1.0.31/uClibc-ng-1.0.31.tar.xz.sha256
+sha256  2215d7377118434d1697fd575f10d7a6be3f29e460d6b0e1ee9f6f5306288060  uClibc-ng-1.0.31.tar.xz
+# Locally calculated
+sha256  6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3  COPYING.LIB
package/uclibc/uclibc.mk +2 -2
index 63d36943ed..b4c90bdf5d 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-UCLIBC_VERSION = 1.0.30
+UCLIBC_VERSION = 1.0.31
 UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
-UCLIBC_SITE = http://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
+UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
 UCLIBC_LICENSE = LGPL-2.1+
 UCLIBC_LICENSE_FILES = COPYING.LIB
 UCLIBC_INSTALL_STAGING = YES
Signature · 1 line
2.19.1
#1 lore raw

PATCH 1/1 uclibc: bump to version 1.0.31

Hello,

Quoted 4 lines · Carlos Santos

Remove all patches, since they were already applied upstream. Add license file hash.

Quoted 12 lines
---
 ...ldconfig-add-glibc-compatibility-fix.patch | 54 -------------------
 ...ock_nanosleep-independent-of-thread-.patch | 34 ------------
 ..._DEBUG-segv-when-printing-R_ARC_NONE.patch | 45 ----------------
 ...stemp64-clear-flags-as-mkostemp-does.patch | 38 -------------
 package/uclibc/uclibc.hash                    |  6 ++-
 package/uclibc/uclibc.mk                      |  4 +-
 6 files changed, 6 insertions(+), 175 deletions(-)
 delete mode 100644 package/uclibc/0001-Revert-ldconfig-add-glibc-compatibility-fix.patch
 delete mode 100644 package/uclibc/0002-librt-declare-clock_nanosleep-independent-of-thread-.patch
 delete mode 100644 package/uclibc/0003-ldso-arc-fix-LD_DEBUG-segv-when-printing-R_ARC_NONE.patch
 delete mode 100644 package/uclibc/0004-mkostemp64-clear-flags-as-mkostemp-does.patch

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com