Hi, i have update glibc to 2.18 is work fine on x86_64 native and arm cross. I attach patch for review. regards
>From bbbd52d5b673a2470553aa7d281133c62fb5c955 Mon Sep 17 00:00:00 2001 From: Gerardo Di Iorio <[email protected]> Date: Thu, 12 Sep 2013 07:14:30 +0200 Subject: [PATCH] * update glibc 2.17 -> 2.18 --- package/base/glibc/Os.patch | 28 ---------------- package/base/glibc/Os.patch.disable | 28 ++++++++++++++++ package/base/glibc/glibc.desc | 4 +-- package/base/glibc/make_shlib_link.patch | 41 ------------------------ package/base/glibc/make_shlib_link.patch.disable | 41 ++++++++++++++++++++++++ 5 files changed, 71 insertions(+), 71 deletions(-) delete mode 100644 package/base/glibc/Os.patch create mode 100644 package/base/glibc/Os.patch.disable delete mode 100644 package/base/glibc/make_shlib_link.patch create mode 100644 package/base/glibc/make_shlib_link.patch.disable diff --git a/package/base/glibc/Os.patch b/package/base/glibc/Os.patch deleted file mode 100644 index 7c04644..0000000 --- a/package/base/glibc/Os.patch +++ /dev/null @@ -1,28 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../glibc/Os.patch -# Copyright (C) 2011 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - -diff -rupN glibc-2.13-orig//io/sys/stat.h glibc-2.13/io/sys/stat.h ---- glibc-2.13-orig//io/sys/stat.h 2011-04-19 13:36:09.230000006 +0200 -+++ glibc-2.13/io/sys/stat.h 2011-04-19 14:16:19.066000011 +0200 -@@ -448,7 +448,7 @@ extern int __xmknodat (int __ver, int __ - __mode_t __mode, __dev_t *__dev) - __THROW __nonnull ((3, 5)); - --#if defined __GNUC__ && __GNUC__ >= 2 && defined __USE_EXTERN_INLINES -+#if defined __GNUC__ && __GNUC__ >= 2 - /* Inlined versions of the real stat and mknod functions. */ - - __extern_inline int diff --git a/package/base/glibc/Os.patch.disable b/package/base/glibc/Os.patch.disable new file mode 100644 index 0000000..7c04644 --- /dev/null +++ b/package/base/glibc/Os.patch.disable @@ -0,0 +1,28 @@ +# --- T2-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# T2 SDE: package/.../glibc/Os.patch +# Copyright (C) 2011 The T2 SDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- T2-COPYRIGHT-NOTE-END --- + +diff -rupN glibc-2.13-orig//io/sys/stat.h glibc-2.13/io/sys/stat.h +--- glibc-2.13-orig//io/sys/stat.h 2011-04-19 13:36:09.230000006 +0200 ++++ glibc-2.13/io/sys/stat.h 2011-04-19 14:16:19.066000011 +0200 +@@ -448,7 +448,7 @@ extern int __xmknodat (int __ver, int __ + __mode_t __mode, __dev_t *__dev) + __THROW __nonnull ((3, 5)); + +-#if defined __GNUC__ && __GNUC__ >= 2 && defined __USE_EXTERN_INLINES ++#if defined __GNUC__ && __GNUC__ >= 2 + /* Inlined versions of the real stat and mknod functions. */ + + __extern_inline int diff --git a/package/base/glibc/glibc.desc b/package/base/glibc/glibc.desc index 03982c5..35d3352 100644 --- a/package/base/glibc/glibc.desc +++ b/package/base/glibc/glibc.desc @@ -34,8 +34,8 @@ [L] GPL [S] Stable -[V] 2.17 +[V] 2.18 [P] X 01---5---9 101.600 -[D] 3794030969 glibc-2.17.tar.bz2 http://ftp.gnu.org/pub/gnu/glibc/ +[D] 315533781 glibc-2.18.tar.bz2 http://ftp.gnu.org/pub/gnu/glibc/ [D] 4061663788 glibc-libidn-2.10.1.tar.gz http://ftp.gnu.org/gnu/glibc/ diff --git a/package/base/glibc/make_shlib_link.patch b/package/base/glibc/make_shlib_link.patch deleted file mode 100644 index c41bc1b..0000000 --- a/package/base/glibc/make_shlib_link.patch +++ /dev/null @@ -1,41 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../glibc/make_shlib_link.patch -# Copyright (C) 2004 - 2005 The T2 SDE Project -# Copyright (C) 1998 - 2003 ROCK Linux Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - ---- ./Makerules.orig 2002-10-12 11:52:02.000000000 +0200 -+++ ./Makerules 2002-10-12 11:55:26.000000000 +0200 -@@ -820,8 +820,7 @@ - endif - ifndef make-shlib-link - define make-shlib-link --rm -f $@ --$(LN_S) $(<F) $@ -+ln -sf $(<F) $@ - endef - endif - ---- ./Makefile.orig 2002-10-13 16:13:47.000000000 +0200 -+++ ./Makefile 2002-10-13 16:16:26.000000000 +0200 -@@ -110,7 +110,8 @@ - install: install-symbolic-link - .PHONY: install-symbolic-link - install-symbolic-link: subdir_install -- $(symbolic-link-prog) $(symbolic-link-list) -+ while read from to ; do \ -+ ln -sf $$from $$to ; done < $(symbolic-link-list) - rm -f $(symbolic-link-list) - - install: diff --git a/package/base/glibc/make_shlib_link.patch.disable b/package/base/glibc/make_shlib_link.patch.disable new file mode 100644 index 0000000..c41bc1b --- /dev/null +++ b/package/base/glibc/make_shlib_link.patch.disable @@ -0,0 +1,41 @@ +# --- T2-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# T2 SDE: package/.../glibc/make_shlib_link.patch +# Copyright (C) 2004 - 2005 The T2 SDE Project +# Copyright (C) 1998 - 2003 ROCK Linux Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- T2-COPYRIGHT-NOTE-END --- + +--- ./Makerules.orig 2002-10-12 11:52:02.000000000 +0200 ++++ ./Makerules 2002-10-12 11:55:26.000000000 +0200 +@@ -820,8 +820,7 @@ + endif + ifndef make-shlib-link + define make-shlib-link +-rm -f $@ +-$(LN_S) $(<F) $@ ++ln -sf $(<F) $@ + endef + endif + +--- ./Makefile.orig 2002-10-13 16:13:47.000000000 +0200 ++++ ./Makefile 2002-10-13 16:16:26.000000000 +0200 +@@ -110,7 +110,8 @@ + install: install-symbolic-link + .PHONY: install-symbolic-link + install-symbolic-link: subdir_install +- $(symbolic-link-prog) $(symbolic-link-list) ++ while read from to ; do \ ++ ln -sf $$from $$to ; done < $(symbolic-link-list) + rm -f $(symbolic-link-list) + + install: -- 1.8.2
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
