소스 검색

glibc: update to 2.25

Waldemar Brodkorb 7 년 전
부모
커밋
5565eda44f

+ 3 - 3
target/config/Config.in.libc

@@ -135,8 +135,8 @@ config ADK_TARGET_LIB_UCLIBC_NG_GIT
 	bool "git"
 	depends on ADK_TARGET_LIB_UCLIBC_NG
 
-config ADK_TARGET_LIB_GLIBC_2_24
-	bool "2.24"
+config ADK_TARGET_LIB_GLIBC_2_25
+	bool "2.25"
 	depends on ADK_TARGET_LIB_GLIBC
 
 config ADK_TARGET_LIB_GLIBC_GIT
@@ -198,7 +198,7 @@ config ADK_LIBC_VERSION
 	string
 	default "1.0.22" if ADK_TARGET_LIB_UCLIBC_NG_1_0_22
 	default "1.1.16" if ADK_TARGET_LIB_MUSL_1_1_16
-	default "2.23" if ADK_TARGET_LIB_GLIBC_2_23
+	default "2.25" if ADK_TARGET_LIB_GLIBC_2_25
 	default "2.4.0" if ADK_TARGET_LIB_NEWLIB_2_4_0
 	default "git" if ADK_TARGET_LIB_UCLIBC_NG_GIT || \
 		         ADK_TARGET_LIB_MUSL_GIT || \

+ 4 - 4
toolchain/glibc/Makefile.inc

@@ -3,14 +3,14 @@
 
 PKG_NAME:=		glibc
 ifeq ($(ADK_LIBC_VERSION),git)
-PKG_VERSION:=		2.24.90
+PKG_VERSION:=		2.25.90
 PKG_SITES:=		git://sourceware.org/git/glibc.git
 PKG_RELEASE:=		1
 endif
-ifeq ($(ADK_TARGET_LIB_GLIBC_2_24),y)
-PKG_VERSION:=		2.24
+ifeq ($(ADK_TARGET_LIB_GLIBC_2_25),y)
+PKG_VERSION:=		2.25
 PKG_SITES:=		${MASTER_SITE_GNU:=glibc/}
 PKG_RELEASE:=		1
-PKG_HASH:=		99d4a3e8efd144d71488e478f62587578c0f4e1fa0b4eed47ee3d4975ebeb5d3
+PKG_HASH:=		067bd9bb3390e79aa45911537d13c3721f1d9d3769931a30c2681bfee66f23a0
 endif
 DISTFILES:=		$(PKG_NAME)-$(PKG_VERSION).tar.xz

+ 0 - 11
toolchain/glibc/patches/2.22/sparc-include.patch

@@ -1,11 +0,0 @@
-diff -Nur glibc-2.22.orig/sysdeps/sparc/sparc32/sem_open.c glibc-2.22/sysdeps/sparc/sparc32/sem_open.c
---- glibc-2.22.orig/sysdeps/sparc/sparc32/sem_open.c	2015-08-05 08:42:21.000000000 +0200
-+++ glibc-2.22/sysdeps/sparc/sparc32/sem_open.c	2015-09-04 09:42:55.092504540 +0200
-@@ -29,6 +29,7 @@
- #include <sys/mman.h>
- #include <sys/stat.h>
- #include "semaphoreP.h"
-+#include <futex-internal.h>
- #include <shm-directory.h>
- 
- 

+ 0 - 22
toolchain/glibc/patches/2.22/sysdep-include-microblaze.patch

@@ -1,22 +0,0 @@
-diff -Nur glibc-2.22.orig/sysdeps/unix/sysv/linux/microblaze/sysdep.h glibc-2.22/sysdeps/unix/sysv/linux/microblaze/sysdep.h
---- glibc-2.22.orig/sysdeps/unix/sysv/linux/microblaze/sysdep.h	2015-08-05 08:42:21.000000000 +0200
-+++ glibc-2.22/sysdeps/unix/sysv/linux/microblaze/sysdep.h	2015-08-08 10:00:04.148568537 +0200
-@@ -16,8 +16,11 @@
-    License along with the GNU C Library; if not, see
-    <http://www.gnu.org/licenses/>.  */
- 
-+#ifndef _LINUX_MICROBLAZE_SYSDEP_H
-+#define _LINUX_MICROBLAZE_SYSDEP_H 1
-+
-+#include <sysdeps/unix/sysdep.h>
- #include <sysdeps/microblaze/sysdep.h>
--#include <sys/syscall.h>
- 
- /* Defines RTLD_PRIVATE_ERRNO.  */
- #include <dl-sysdep.h>
-@@ -305,3 +308,5 @@
- # define PTR_DEMANGLE(var) (void) (var)
- 
- #endif /* not __ASSEMBLER__ */
-+
-+#endif /* _LINUX_MICROBLAZE_SYSDEP_H */

+ 0 - 41
toolchain/glibc/patches/2.23/glibc-cross.patch

@@ -1,41 +0,0 @@
-diff -Nur glibc-2.22.orig/sunrpc/rpc_main.c glibc-2.22/sunrpc/rpc_main.c
---- glibc-2.22.orig/sunrpc/rpc_main.c	2015-08-05 08:42:21.000000000 +0200
-+++ glibc-2.22/sunrpc/rpc_main.c	2015-12-08 06:21:38.000000000 +0100
-@@ -38,7 +38,11 @@
- #include <stdio.h>
- #include <string.h>
- #include <unistd.h>
-+#if defined(__APPLE__) || defined(__CYGWIN__)
-+#define gettext(X) (X)
-+#else
- #include <libintl.h>
-+#endif
- #include <locale.h>
- #include <ctype.h>
- #include <sys/types.h>
-@@ -51,6 +55,10 @@
- #include "rpc_scan.h"
- #include "proto.h"
- 
-+#ifdef __CYGWIN__
-+#define stat64 stat
-+#endif
-+
- #include "../version.h"
- #define PACKAGE _libc_intl_domainname
- 
-diff -Nur glibc-2.22.orig/sunrpc/rpc_scan.c glibc-2.22/sunrpc/rpc_scan.c
---- glibc-2.22.orig/sunrpc/rpc_scan.c	2015-08-05 08:42:21.000000000 +0200
-+++ glibc-2.22/sunrpc/rpc_scan.c	2015-12-08 06:22:36.000000000 +0100
-@@ -37,7 +37,11 @@
- #include <stdio.h>
- #include <ctype.h>
- #include <string.h>
-+#if defined(__APPLE__) || defined(__CYGWIN__)
-+#define gettext(X) (X)
-+#else
- #include <libintl.h>
-+#endif
- #include "rpc_scan.h"
- #include "rpc_parse.h"
- #include "rpc_util.h"

+ 0 - 41
toolchain/glibc/patches/2.24/glibc-cross.patch

@@ -1,41 +0,0 @@
-diff -Nur glibc-2.22.orig/sunrpc/rpc_main.c glibc-2.22/sunrpc/rpc_main.c
---- glibc-2.22.orig/sunrpc/rpc_main.c	2015-08-05 08:42:21.000000000 +0200
-+++ glibc-2.22/sunrpc/rpc_main.c	2015-12-08 06:21:38.000000000 +0100
-@@ -38,7 +38,11 @@
- #include <stdio.h>
- #include <string.h>
- #include <unistd.h>
-+#if defined(__APPLE__) || defined(__CYGWIN__)
-+#define gettext(X) (X)
-+#else
- #include <libintl.h>
-+#endif
- #include <locale.h>
- #include <ctype.h>
- #include <sys/types.h>
-@@ -51,6 +55,10 @@
- #include "rpc_scan.h"
- #include "proto.h"
- 
-+#ifdef __CYGWIN__
-+#define stat64 stat
-+#endif
-+
- #include "../version.h"
- #define PACKAGE _libc_intl_domainname
- 
-diff -Nur glibc-2.22.orig/sunrpc/rpc_scan.c glibc-2.22/sunrpc/rpc_scan.c
---- glibc-2.22.orig/sunrpc/rpc_scan.c	2015-08-05 08:42:21.000000000 +0200
-+++ glibc-2.22/sunrpc/rpc_scan.c	2015-12-08 06:22:36.000000000 +0100
-@@ -37,7 +37,11 @@
- #include <stdio.h>
- #include <ctype.h>
- #include <string.h>
-+#if defined(__APPLE__) || defined(__CYGWIN__)
-+#define gettext(X) (X)
-+#else
- #include <libintl.h>
-+#endif
- #include "rpc_scan.h"
- #include "rpc_parse.h"
- #include "rpc_util.h"

+ 0 - 0
toolchain/glibc/patches/2.22/glibc-cross.patch → toolchain/glibc/patches/2.25/glibc-cross.patch