summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-04-16 11:08:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 23:05:12 +0100
commit6d27c16ec0c63da001a21f8e3157e7cbfa57e554 (patch)
treec902cc446b0a6b951ffd3ef69f900391edb733d7 /meta/recipes-core/glibc
parent9b25b35456471d17f08681328cae899546fe419c (diff)
downloadpoky-6d27c16ec0c63da001a21f8e3157e7cbfa57e554.tar.gz
glibc: Add recipes for 2.24 release
(From OE-Core rev: a0a10b4928c818c34fcd99e6a2bbb5db8cb60950) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r--meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch18
-rw-r--r--meta/recipes-core/glibc/cross-localedef-native_2.24.bb (renamed from meta/recipes-core/glibc/cross-localedef-native_2.23.bb)18
-rw-r--r--meta/recipes-core/glibc/glibc-initial_2.24.bb (renamed from meta/recipes-core/glibc/glibc-initial_2.23.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-locale_2.24.bb (renamed from meta/recipes-core/glibc/glibc-locale_2.23.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-mtrace_2.24.bb (renamed from meta/recipes-core/glibc/glibc-mtrace_2.23.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-scripts_2.24.bb (renamed from meta/recipes-core/glibc/glibc-scripts_2.23.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch34
-rw-r--r--meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch14
-rw-r--r--meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch16
-rw-r--r--meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch18
-rw-r--r--meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch (renamed from meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch)30
-rw-r--r--meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch32
-rw-r--r--meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch48
-rw-r--r--meta/recipes-core/glibc/glibc_2.24.bb (renamed from meta/recipes-core/glibc/glibc_2.23.bb)12
33 files changed, 171 insertions, 217 deletions
diff --git a/meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch b/meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
deleted file mode 100644
index 186a480458..0000000000
--- a/meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1Upstream-Status: Inappropriate [other]
2
3This is a hack to fix building the locale bits on an older
4CentOs 5.X machine
5
6Index: git/locale/programs/config.h
7===================================================================
8--- git/locale/programs/config.h
9+++ git.orig/locale/programs/config.h
10@@ -19,6 +19,8 @@
11 #ifndef _LD_CONFIG_H
12 #define _LD_CONFIG_H 1
13
14+#define DUMMY_LOCALE_T
15+
16 /* Use the internal textdomain used for libc messages. */
17 #define PACKAGE _libc_intl_domainname
18 #ifndef VERSION
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.23.bb b/meta/recipes-core/glibc/cross-localedef-native_2.24.bb
index a6795ed9b3..79c31326e5 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.23.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.24.bb
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
8 file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ 8 file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
9 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" 9 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
10 10
11
12# Tell autotools that we're working in the localedef directory 11# Tell autotools that we're working in the localedef directory
13# 12#
14AUTOTOOLS_SCRIPT_PATH = "${S}/localedef" 13AUTOTOOLS_SCRIPT_PATH = "${S}/localedef"
@@ -18,16 +17,16 @@ inherit autotools
18 17
19FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" 18FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:"
20 19
21SRCBRANCH ?= "release/${PV}/master" 20#SRCBRANCH ?= "release/${PV}/master"
22GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" 21GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
22SRCBRANCH ?= "master"
23UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" 23UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
24 24
25SRCREV_glibc ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e"
26SRCREV_localedef ?= "29869b6dc11427c5bab839bdb155c85a7c644c71"
27
25SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ 28SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
26 git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \ 29 git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \
27 file://fix_for_centos_5.8.patch \
28 ${EGLIBCPATCHES} \
29"
30EGLIBCPATCHES = "\
31 file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ 30 file://0016-timezone-re-written-tzselect-as-posix-sh.patch \
32 file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ 31 file://0017-Remove-bash-dependency-for-nscd-init-script.patch \
33 file://0018-eglibc-Cross-building-and-testing-instructions.patch \ 32 file://0018-eglibc-Cross-building-and-testing-instructions.patch \
@@ -36,12 +35,9 @@ EGLIBCPATCHES = "\
36 file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ 35 file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \
37 file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ 36 file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \
38 file://0023-eglibc-Install-PIC-archives.patch \ 37 file://0023-eglibc-Install-PIC-archives.patch \
39 file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \ 38 file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \
39 file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \
40" 40"
41
42SRCREV_glibc ?= "e742928c1592b43db6809db4f39e67be151cdd27"
43SRCREV_localedef ?= "5a81ff9f06a7a808d4c3d37bbf34077a4c5902ed"
44
45# Makes for a rather long rev (22 characters), but... 41# Makes for a rather long rev (22 characters), but...
46# 42#
47SRCREV_FORMAT = "glibc_localedef" 43SRCREV_FORMAT = "glibc_localedef"
diff --git a/meta/recipes-core/glibc/glibc-initial_2.23.bb b/meta/recipes-core/glibc/glibc-initial_2.24.bb
index e86770e12d..e86770e12d 100644
--- a/meta/recipes-core/glibc/glibc-initial_2.23.bb
+++ b/meta/recipes-core/glibc/glibc-initial_2.24.bb
diff --git a/meta/recipes-core/glibc/glibc-locale_2.23.bb b/meta/recipes-core/glibc/glibc-locale_2.24.bb
index f7702e0358..f7702e0358 100644
--- a/meta/recipes-core/glibc/glibc-locale_2.23.bb
+++ b/meta/recipes-core/glibc/glibc-locale_2.24.bb
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.23.bb b/meta/recipes-core/glibc/glibc-mtrace_2.24.bb
index 0b69bad46a..0b69bad46a 100644
--- a/meta/recipes-core/glibc/glibc-mtrace_2.23.bb
+++ b/meta/recipes-core/glibc/glibc-mtrace_2.24.bb
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.23.bb b/meta/recipes-core/glibc/glibc-scripts_2.24.bb
index 5a89bd8022..5a89bd8022 100644
--- a/meta/recipes-core/glibc/glibc-scripts_2.23.bb
+++ b/meta/recipes-core/glibc/glibc-scripts_2.24.bb
diff --git a/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
index 97c280059f..ca3375805d 100644
--- a/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
+++ b/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
@@ -1,7 +1,7 @@
1From 66d04e2cd8badb0984050e4e9f2732f47151fbbf Mon Sep 17 00:00:00 2001 1From 7e11aafc3a7cb873b3f648740c8acd379597e4d1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:48:24 +0000 3Date: Wed, 18 Mar 2015 01:48:24 +0000
4Subject: [PATCH 01/24] nativesdk-glibc: Look for host system ld.so.cache as 4Subject: [PATCH 01/25] nativesdk-glibc: Look for host system ld.so.cache as
5 well 5 well
6 6
7Upstream-Status: Inappropriate [embedded specific] 7Upstream-Status: Inappropriate [embedded specific]
@@ -31,7 +31,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
31 1 file changed, 8 insertions(+), 8 deletions(-) 31 1 file changed, 8 insertions(+), 8 deletions(-)
32 32
33diff --git a/elf/dl-load.c b/elf/dl-load.c 33diff --git a/elf/dl-load.c b/elf/dl-load.c
34index 6fb615e..ee3d1e6 100644 34index c0d6249..2c73105 100644
35--- a/elf/dl-load.c 35--- a/elf/dl-load.c
36+++ b/elf/dl-load.c 36+++ b/elf/dl-load.c
37@@ -2094,6 +2094,14 @@ _dl_map_object (struct link_map *loader, const char *name, 37@@ -2094,6 +2094,14 @@ _dl_map_object (struct link_map *loader, const char *name,
@@ -65,5 +65,5 @@ index 6fb615e..ee3d1e6 100644
65 if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS)) 65 if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS))
66 _dl_debug_printf ("\n"); 66 _dl_debug_printf ("\n");
67-- 67--
682.6.4 682.8.2
69 69
diff --git a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
index 473b89449d..5428468c5a 100644
--- a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
+++ b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
@@ -1,7 +1,7 @@
1From 179dc5f1e13c3ff96d5f21a2a78c089cf120ceb8 Mon Sep 17 00:00:00 2001 1From 5fd884dc28d5d84001fae8ffdd8be698bb84143e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:50:00 +0000 3Date: Wed, 18 Mar 2015 01:50:00 +0000
4Subject: [PATCH 02/24] nativesdk-glibc: Fix buffer overrun with a relocated 4Subject: [PATCH 02/25] nativesdk-glibc: Fix buffer overrun with a relocated
5 SDK 5 SDK
6 6
7When ld-linux-*.so.2 is relocated to a path that is longer than the 7When ld-linux-*.so.2 is relocated to a path that is longer than the
@@ -22,7 +22,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 1 file changed, 12 insertions(+) 22 1 file changed, 12 insertions(+)
23 23
24diff --git a/elf/dl-load.c b/elf/dl-load.c 24diff --git a/elf/dl-load.c b/elf/dl-load.c
25index ee3d1e6..c4a42e9 100644 25index 2c73105..c7b8797 100644
26--- a/elf/dl-load.c 26--- a/elf/dl-load.c
27+++ b/elf/dl-load.c 27+++ b/elf/dl-load.c
28@@ -1793,7 +1793,19 @@ open_path (const char *name, size_t namelen, int mode, 28@@ -1793,7 +1793,19 @@ open_path (const char *name, size_t namelen, int mode,
@@ -46,5 +46,5 @@ index ee3d1e6..c4a42e9 100644
46 { 46 {
47 struct r_search_path_elem *this_dir = *dirs; 47 struct r_search_path_elem *this_dir = *dirs;
48-- 48--
492.6.4 492.8.2
50 50
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
index 60f9f17b89..23b9fcbe96 100644
--- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
+++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
@@ -1,7 +1,7 @@
1From e76048898ae9aa49dc70d6f9b1bbc22082e61fe3 Mon Sep 17 00:00:00 2001 1From c99892f2018cd7fa0f37b53e6cebec99fa036472 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:51:38 +0000 3Date: Wed, 18 Mar 2015 01:51:38 +0000
4Subject: [PATCH 03/24] nativesdk-glibc: Raise the size of arrays containing dl 4Subject: [PATCH 03/25] nativesdk-glibc: Raise the size of arrays containing dl
5 paths 5 paths
6 6
7This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings 7This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings
@@ -25,7 +25,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 6 files changed, 13 insertions(+), 9 deletions(-) 25 6 files changed, 13 insertions(+), 9 deletions(-)
26 26
27diff --git a/elf/dl-cache.c b/elf/dl-cache.c 27diff --git a/elf/dl-cache.c b/elf/dl-cache.c
28index dec49bc..862f1d8 100644 28index cfa335e..daa12ec 100644
29--- a/elf/dl-cache.c 29--- a/elf/dl-cache.c
30+++ b/elf/dl-cache.c 30+++ b/elf/dl-cache.c
31@@ -132,6 +132,10 @@ do \ 31@@ -132,6 +132,10 @@ do \
@@ -40,7 +40,7 @@ index dec49bc..862f1d8 100644
40 internal_function 40 internal_function
41 _dl_cache_libcmp (const char *p1, const char *p2) 41 _dl_cache_libcmp (const char *p1, const char *p2)
42diff --git a/elf/dl-load.c b/elf/dl-load.c 42diff --git a/elf/dl-load.c b/elf/dl-load.c
43index c4a42e9..acf6c03 100644 43index c7b8797..37a1beb 100644
44--- a/elf/dl-load.c 44--- a/elf/dl-load.c
45+++ b/elf/dl-load.c 45+++ b/elf/dl-load.c
46@@ -106,8 +106,8 @@ static size_t max_capstrlen attribute_relro; 46@@ -106,8 +106,8 @@ static size_t max_capstrlen attribute_relro;
@@ -55,7 +55,7 @@ index c4a42e9..acf6c03 100644
55 SYSTEM_DIRS_LEN 55 SYSTEM_DIRS_LEN
56 }; 56 };
57diff --git a/elf/interp.c b/elf/interp.c 57diff --git a/elf/interp.c b/elf/interp.c
58index 422ea95e..6d61a36 100644 58index 9448802..e7e8c70 100644
59--- a/elf/interp.c 59--- a/elf/interp.c
60+++ b/elf/interp.c 60+++ b/elf/interp.c
61@@ -18,5 +18,5 @@ 61@@ -18,5 +18,5 @@
@@ -66,10 +66,10 @@ index 422ea95e..6d61a36 100644
66+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) 66+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp")))
67 = RUNTIME_LINKER; 67 = RUNTIME_LINKER;
68diff --git a/elf/ldconfig.c b/elf/ldconfig.c 68diff --git a/elf/ldconfig.c b/elf/ldconfig.c
69index f54ec22..0e78a83 100644 69index 467ca82..631a2a9 100644
70--- a/elf/ldconfig.c 70--- a/elf/ldconfig.c
71+++ b/elf/ldconfig.c 71+++ b/elf/ldconfig.c
72@@ -167,6 +167,9 @@ static struct argp argp = 72@@ -168,6 +168,9 @@ static struct argp argp =
73 options, parse_opt, NULL, doc, NULL, more_help, NULL 73 options, parse_opt, NULL, doc, NULL, more_help, NULL
74 }; 74 };
75 75
@@ -80,7 +80,7 @@ index f54ec22..0e78a83 100644
80 a platform. */ 80 a platform. */
81 static int 81 static int
82diff --git a/elf/rtld.c b/elf/rtld.c 82diff --git a/elf/rtld.c b/elf/rtld.c
83index 52160df..80f0582 100644 83index 647661c..4e16a43 100644
84--- a/elf/rtld.c 84--- a/elf/rtld.c
85+++ b/elf/rtld.c 85+++ b/elf/rtld.c
86@@ -99,6 +99,7 @@ uintptr_t __pointer_chk_guard_local 86@@ -99,6 +99,7 @@ uintptr_t __pointer_chk_guard_local
@@ -107,7 +107,7 @@ index 52160df..80f0582 100644
107 ++_dl_skip_args; 107 ++_dl_skip_args;
108 --_dl_argc; 108 --_dl_argc;
109diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h 109diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
110index 70d4aeb..5c726d0 100644 110index eb2f900..505804e 100644
111--- a/sysdeps/generic/dl-cache.h 111--- a/sysdeps/generic/dl-cache.h
112+++ b/sysdeps/generic/dl-cache.h 112+++ b/sysdeps/generic/dl-cache.h
113@@ -27,10 +27,6 @@ 113@@ -27,10 +27,6 @@
@@ -121,16 +121,6 @@ index 70d4aeb..5c726d0 100644
121 #ifndef add_system_dir 121 #ifndef add_system_dir
122 # define add_system_dir(dir) add_dir (dir) 122 # define add_system_dir(dir) add_dir (dir)
123 #endif 123 #endif
124Index: git/iconv/gconv_conf.c 124--
125=================================================================== 1252.8.2
126--- git.orig/iconv/gconv_conf.c 126
127+++ git/iconv/gconv_conf.c
128@@ -36,7 +36,7 @@
129
130
131 /* This is the default path where we look for module lists. */
132-static const char default_gconv_path[] = GCONV_PATH;
133+static char default_gconv_path[4096] __attribute__ ((section (".gccrelocprefix"))) = GCONV_PATH;
134
135 /* The path elements, as determined by the __gconv_get_path function.
136 All path elements end in a slash. */
diff --git a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
index 21f04a1321..3127de68ec 100644
--- a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
+++ b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
@@ -1,7 +1,7 @@
1From 2e1638115f0f924ee8235eee9265047054c15cfd Mon Sep 17 00:00:00 2001 1From a56e7aa2fd10b178b9498f88a7a2ca8aad671a53 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 14:35:35 -0800 3Date: Thu, 31 Dec 2015 14:35:35 -0800
4Subject: [PATCH 04/24] nativesdk-glibc: Allow 64 bit atomics for x86 4Subject: [PATCH 04/25] nativesdk-glibc: Allow 64 bit atomics for x86
5 5
6The fix consist of allowing 64bit atomic ops for x86. 6The fix consist of allowing 64bit atomic ops for x86.
7This should be safe for i586 and newer CPUs. 7This should be safe for i586 and newer CPUs.
@@ -11,11 +11,13 @@ Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
11Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 11Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13--- 13---
14Upstream-Status: Pending
15
14 sysdeps/i386/atomic-machine.h | 2 +- 16 sysdeps/i386/atomic-machine.h | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
16 18
17diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h 19diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h
18index 59f3d34..6f6b7ff 100644 20index ce62b33..4fe44ea 100644
19--- a/sysdeps/i386/atomic-machine.h 21--- a/sysdeps/i386/atomic-machine.h
20+++ b/sysdeps/i386/atomic-machine.h 22+++ b/sysdeps/i386/atomic-machine.h
21@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t; 23@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t;
@@ -28,5 +30,5 @@ index 59f3d34..6f6b7ff 100644
28 30
29 31
30-- 32--
312.6.4 332.8.2
32 34
diff --git a/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch b/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
index ba8c92e112..dc0dfad9a8 100644
--- a/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
+++ b/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
@@ -1,7 +1,7 @@
1From 7ff57edfe24b4243373fcb896ee0b613938c1ec9 Mon Sep 17 00:00:00 2001 1From 450473ce27b47cebec2c5c5b611a8c8bed41e6e8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:01:50 +0000 3Date: Wed, 18 Mar 2015 00:01:50 +0000
4Subject: [PATCH 05/24] fsl e500/e5500/e6500/603e fsqrt implementation 4Subject: [PATCH 05/25] fsl e500/e5500/e6500/603e fsqrt implementation
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7Signed-off-by: Edmar Wienskoski <edmar@freescale.com> 7Signed-off-by: Edmar Wienskoski <edmar@freescale.com>
@@ -1580,5 +1580,5 @@ index 0000000..04ff8cc
1580@@ -0,0 +1 @@ 1580@@ -0,0 +1 @@
1581+powerpc/powerpc64/e6500/fpu 1581+powerpc/powerpc64/e6500/fpu
1582-- 1582--
15832.6.4 15832.8.2
1584 1584
diff --git a/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch b/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
index 086a73dd26..f267f66cde 100644
--- a/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
+++ b/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
@@ -1,7 +1,7 @@
1From 61129ef3ee735b300604f75d50e01cb29f4387f4 Mon Sep 17 00:00:00 2001 1From bb065b78e9e0d3301e64a26e37550a657c885ebc Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:11:22 +0000 3Date: Wed, 18 Mar 2015 00:11:22 +0000
4Subject: [PATCH 06/24] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known 4Subject: [PATCH 06/25] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known
5 names 5 names
6 6
7This bolts in a hook for OE to pass its own version of interpreter 7This bolts in a hook for OE to pass its own version of interpreter
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 1 file changed, 1 insertion(+) 17 1 file changed, 1 insertion(+)
18 18
19diff --git a/elf/readlib.c b/elf/readlib.c 19diff --git a/elf/readlib.c b/elf/readlib.c
20index 7fd5b8a..2f5da9f 100644 20index 8a66ffe..08d56fc 100644
21--- a/elf/readlib.c 21--- a/elf/readlib.c
22+++ b/elf/readlib.c 22+++ b/elf/readlib.c
23@@ -51,6 +51,7 @@ static struct known_names interpreters[] = 23@@ -51,6 +51,7 @@ static struct known_names interpreters[] =
@@ -29,5 +29,5 @@ index 7fd5b8a..2f5da9f 100644
29 29
30 static struct known_names known_libs[] = 30 static struct known_names known_libs[] =
31-- 31--
322.6.4 322.8.2
33 33
diff --git a/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch b/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
index 952784b1cc..612e892e87 100644
--- a/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
+++ b/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
@@ -1,7 +1,7 @@
1From f936548decac99501f9a4c522a3211d16542fa49 Mon Sep 17 00:00:00 2001 1From 4a91bbdb11a15f93094695bba4e0849c421fad48 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:15:07 +0000 3Date: Wed, 18 Mar 2015 00:15:07 +0000
4Subject: [PATCH 07/24] ppc/sqrt: Fix undefined reference to `__sqrt_finite' 4Subject: [PATCH 07/25] ppc/sqrt: Fix undefined reference to `__sqrt_finite'
5 5
6on ppc fixes the errors like below 6on ppc fixes the errors like below
7| ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite' 7| ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite'
@@ -204,5 +204,5 @@ index 26fa067..9d17512 100644
204 } 204 }
205+strong_alias (__ieee754_sqrtf, __sqrtf_finite) 205+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
206-- 206--
2072.6.4 2072.8.2
208 208
diff --git a/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
index 8d513ab42a..9e222b7b45 100644
--- a/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
+++ b/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
@@ -1,7 +1,7 @@
1From d02704895fdce917e337619a4414042f63edd88b Mon Sep 17 00:00:00 2001 1From ce2746a1560b4430d89d114e1b65c7be225b4c2a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:16:38 +0000 3Date: Wed, 18 Mar 2015 00:16:38 +0000
4Subject: [PATCH 08/24] __ieee754_sqrt{,f} are now inline functions and call 4Subject: [PATCH 08/25] __ieee754_sqrt{,f} are now inline functions and call
5 out __slow versions 5 out __slow versions
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -383,5 +383,5 @@ index 9d17512..10de1f0 100644
383+ 383+
384 strong_alias (__ieee754_sqrtf, __sqrtf_finite) 384 strong_alias (__ieee754_sqrtf, __sqrtf_finite)
385-- 385--
3862.6.4 3862.8.2
387 387
diff --git a/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch b/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
index 12f24fb685..7aa74df239 100644
--- a/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
+++ b/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
@@ -1,7 +1,7 @@
1From 502f061d846e58aac7aca67e4e0d6ba9e0763b17 Mon Sep 17 00:00:00 2001 1From 1b61649e545de76dd79a5e2c39bb16d0c4623160 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:20:09 +0000 3Date: Wed, 18 Mar 2015 00:20:09 +0000
4Subject: [PATCH 09/24] Quote from bug 1443 which explains what the patch does 4Subject: [PATCH 09/25] Quote from bug 1443 which explains what the patch does
5 : 5 :
6 6
7 We build some random program and link it with -lust. When we run it, 7 We build some random program and link it with -lust. When we run it,
@@ -45,7 +45,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
45 1 file changed, 1 insertion(+), 1 deletion(-) 45 1 file changed, 1 insertion(+), 1 deletion(-)
46 46
47diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h 47diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
48index 6fb20bd..8805537 100644 48index 60eee00..7d54d5e 100644
49--- a/sysdeps/arm/dl-machine.h 49--- a/sysdeps/arm/dl-machine.h
50+++ b/sysdeps/arm/dl-machine.h 50+++ b/sysdeps/arm/dl-machine.h
51@@ -499,7 +499,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc, 51@@ -499,7 +499,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
@@ -58,5 +58,5 @@ index 6fb20bd..8805537 100644
58 58
59 case R_ARM_TLS_TPOFF32: 59 case R_ARM_TLS_TPOFF32:
60-- 60--
612.6.4 612.8.2
62 62
diff --git a/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch b/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
index 77bd7d1324..14963a3577 100644
--- a/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
+++ b/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
@@ -1,7 +1,7 @@
1From 69a3e30b49d28a7386d18725528652931510cbfc Mon Sep 17 00:00:00 2001 1From 91af416408b8718b004c83d93a6daa1f34cba48d Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com> 2From: Ting Liu <b28495@freescale.com>
3Date: Wed, 19 Dec 2012 04:39:57 -0600 3Date: Wed, 19 Dec 2012 04:39:57 -0600
4Subject: [PATCH 10/24] eglibc: run libm-err-tab.pl with specific dirs in ${S} 4Subject: [PATCH 10/25] eglibc: run libm-err-tab.pl with specific dirs in ${S}
5 5
6libm-err-tab.pl will parse all the files named "libm-test-ulps" 6libm-err-tab.pl will parse all the files named "libm-test-ulps"
7in the given dir recursively. To avoid parsing the one in 7in the given dir recursively. To avoid parsing the one in
@@ -10,7 +10,7 @@ ${S}/.pc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch/ports/sysdeps/
10aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs 10aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs
11in ${S}. 11in ${S}.
12 12
13Upstream-Status: Inappropriate [OE specific] 13Upstream-Status: inappropriate [OE specific]
14 14
15Signed-off-by: Ting Liu <b28495@freescale.com> 15Signed-off-by: Ting Liu <b28495@freescale.com>
16--- 16---
@@ -18,7 +18,7 @@ Signed-off-by: Ting Liu <b28495@freescale.com>
18 1 file changed, 2 insertions(+), 1 deletion(-) 18 1 file changed, 2 insertions(+), 1 deletion(-)
19 19
20diff --git a/manual/Makefile b/manual/Makefile 20diff --git a/manual/Makefile b/manual/Makefile
21index cdb6763..0b32a0a 100644 21index f2f694f..e062833 100644
22--- a/manual/Makefile 22--- a/manual/Makefile
23+++ b/manual/Makefile 23+++ b/manual/Makefile
24@@ -105,7 +105,8 @@ $(objpfx)libm-err.texi: $(objpfx)stamp-libm-err 24@@ -105,7 +105,8 @@ $(objpfx)libm-err.texi: $(objpfx)stamp-libm-err
@@ -32,5 +32,5 @@ index cdb6763..0b32a0a 100644
32 touch $@ 32 touch $@
33 33
34-- 34--
352.6.4 352.8.2
36 36
diff --git a/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
index 251e5f5af3..e92d04c62b 100644
--- a/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
+++ b/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
@@ -1,7 +1,7 @@
1From 4cf52971a841304aec30b2e975f81d7ad9d42ef0 Mon Sep 17 00:00:00 2001 1From 6a71f688471fe0c85f8ad9afc4ee0723a20aae1d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:24:46 +0000 3Date: Wed, 18 Mar 2015 00:24:46 +0000
4Subject: [PATCH 11/24] __ieee754_sqrt{,f} are now inline functions and call 4Subject: [PATCH 11/25] __ieee754_sqrt{,f} are now inline functions and call
5 out __slow versions 5 out __slow versions
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -57,5 +57,5 @@ index 8126535..10de1f0 100644
57 #endif 57 #endif
58 { 58 {
59-- 59--
602.6.4 602.8.2
61 61
diff --git a/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch b/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
index 3208a0c89b..4cba03f238 100644
--- a/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
+++ b/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
@@ -1,7 +1,7 @@
1From b356816d6e005ecda7adbed9627a4315ad39de39 Mon Sep 17 00:00:00 2001 1From f9d024edb158659e403b51cc9d93da9bca6e5d7b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:25:45 +0000 3Date: Wed, 18 Mar 2015 00:25:45 +0000
4Subject: [PATCH 12/24] Make ld --version output matching grok gold's output 4Subject: [PATCH 12/25] Make ld --version output matching grok gold's output
5 5
6adapted from from upstream branch roland/gold-vs-libc 6adapted from from upstream branch roland/gold-vs-libc
7 7
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 2 files changed, 2 insertions(+), 2 deletions(-) 14 2 files changed, 2 insertions(+), 2 deletions(-)
15 15
16diff --git a/configure b/configure 16diff --git a/configure b/configure
17index aa05d49..6dabd11 100755 17index 8fe5937..7888a3f 100755
18--- a/configure 18--- a/configure
19+++ b/configure 19+++ b/configure
20@@ -4486,7 +4486,7 @@ else 20@@ -4482,7 +4482,7 @@ else
21 # Found it, now check the version. 21 # Found it, now check the version.
22 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5 22 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
23 $as_echo_n "checking version of $LD... " >&6; } 23 $as_echo_n "checking version of $LD... " >&6; }
@@ -27,10 +27,10 @@ index aa05d49..6dabd11 100755
27 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 27 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
28 2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) 28 2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*)
29diff --git a/configure.ac b/configure.ac 29diff --git a/configure.ac b/configure.ac
30index ee7a3f1..b4b95b9 100644 30index 3c766b7..6908a99 100644
31--- a/configure.ac 31--- a/configure.ac
32+++ b/configure.ac 32+++ b/configure.ac
33@@ -948,7 +948,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version, 33@@ -944,7 +944,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version,
34 [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*], 34 [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*],
35 AS=: critic_missing="$critic_missing as") 35 AS=: critic_missing="$critic_missing as")
36 AC_CHECK_PROG_VER(LD, $LD, --version, 36 AC_CHECK_PROG_VER(LD, $LD, --version,
@@ -40,5 +40,5 @@ index ee7a3f1..b4b95b9 100644
40 LD=: critic_missing="$critic_missing ld") 40 LD=: critic_missing="$critic_missing ld")
41 41
42-- 42--
432.6.4 432.8.2
44 44
diff --git a/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch b/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
index 82fa100442..6a82f8d933 100644
--- a/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
+++ b/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
@@ -1,7 +1,7 @@
1From 10003d48f83f7a4f7fa562ed89af904a544b6323 Mon Sep 17 00:00:00 2001 1From 2ece12093c8ba4cf688d235f35d36f1feb02324c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:27:10 +0000 3Date: Wed, 18 Mar 2015 00:27:10 +0000
4Subject: [PATCH 13/24] sysdeps/gnu/configure.ac: handle correctly 4Subject: [PATCH 13/25] sysdeps/gnu/configure.ac: handle correctly
5 $libc_cv_rootsbindir 5 $libc_cv_rootsbindir
6 6
7Upstream-Status:Pending 7Upstream-Status:Pending
@@ -38,5 +38,5 @@ index 634fe4d..3db1697 100644
38 ;; 38 ;;
39 esac 39 esac
40-- 40--
412.6.4 412.8.2
42 42
diff --git a/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch b/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch
index ea3e1670f8..d14a6d4cd5 100644
--- a/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch
+++ b/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch
@@ -1,7 +1,7 @@
1From cafa8a7ef830e02cdbf928471e06d11054946940 Mon Sep 17 00:00:00 2001 1From 9fec083dc99d2b524090e1d098e03709eed64a72 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:28:41 +0000 3Date: Wed, 18 Mar 2015 00:28:41 +0000
4Subject: [PATCH 14/24] Add unused attribute 4Subject: [PATCH 14/25] Add unused attribute
5 5
6Helps in avoiding gcc warning when header is is included in 6Helps in avoiding gcc warning when header is is included in
7a source file which does not use both functions 7a source file which does not use both functions
@@ -17,7 +17,7 @@ Upstream-Status: Pending
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h 19diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h
20index 80290bc..7890a8e 100644 20index 95cbce7..191a0dd 100644
21--- a/iconv/gconv_charset.h 21--- a/iconv/gconv_charset.h
22+++ b/iconv/gconv_charset.h 22+++ b/iconv/gconv_charset.h
23@@ -21,7 +21,7 @@ 23@@ -21,7 +21,7 @@
@@ -30,5 +30,5 @@ index 80290bc..7890a8e 100644
30 { 30 {
31 int slash_count = 0; 31 int slash_count = 0;
32-- 32--
332.6.4 332.8.2
34 34
diff --git a/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch b/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
index 90e12b8835..8ceccec419 100644
--- a/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
+++ b/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
@@ -1,7 +1,7 @@
1From 4d6bead19874e519752ceeb2a15897ff2ffbe5e8 Mon Sep 17 00:00:00 2001 1From 1794a97cba0b09b726eebc565c783c7b7c22dfba Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:31:06 +0000 3Date: Wed, 18 Mar 2015 00:31:06 +0000
4Subject: [PATCH 15/24] 'yes' within the path sets wrong config variables 4Subject: [PATCH 15/25] 'yes' within the path sets wrong config variables
5 5
6It seems that the 'AC_EGREP_CPP(yes...' example is quite popular 6It seems that the 'AC_EGREP_CPP(yes...' example is quite popular
7but being such a short word to grep it is likely to produce 7but being such a short word to grep it is likely to produce
@@ -165,7 +165,7 @@ index f05f438..dc86399 100644
165 ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) 165 ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)])
166 if test $libc_cv_nios2_be = yes; then 166 if test $libc_cv_nios2_be = yes; then
167diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure 167diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure
168index dee56aa..f2049ed 100644 168index a5513fa..283b293 100644
169--- a/sysdeps/unix/sysv/linux/mips/configure 169--- a/sysdeps/unix/sysv/linux/mips/configure
170+++ b/sysdeps/unix/sysv/linux/mips/configure 170+++ b/sysdeps/unix/sysv/linux/mips/configure
171@@ -414,11 +414,11 @@ else 171@@ -414,11 +414,11 @@ else
@@ -183,7 +183,7 @@ index dee56aa..f2049ed 100644
183 else 183 else
184 libc_cv_mips_nan2008=no 184 libc_cv_mips_nan2008=no
185diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac 185diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac
186index 45147c5..4224af1 100644 186index 9147aa4..7898e24 100644
187--- a/sysdeps/unix/sysv/linux/mips/configure.ac 187--- a/sysdeps/unix/sysv/linux/mips/configure.ac
188+++ b/sysdeps/unix/sysv/linux/mips/configure.ac 188+++ b/sysdeps/unix/sysv/linux/mips/configure.ac
189@@ -105,9 +105,9 @@ AC_COMPILE_IFELSE( 189@@ -105,9 +105,9 @@ AC_COMPILE_IFELSE(
@@ -259,5 +259,5 @@ index 0822915..9a32fdd 100644
259 ], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)]) 259 ], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)])
260 if test $libc_cv_ppc64_def_call_elf = no; then 260 if test $libc_cv_ppc64_def_call_elf = no; then
261-- 261--
2622.6.4 2622.8.2
263 263
diff --git a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch b/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
index e51b611f37..e5b508330c 100644
--- a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
+++ b/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
@@ -1,7 +1,7 @@
1From 3e8586eb3509e2f0d6dfb74be8f89a30b06b56e9 Mon Sep 17 00:00:00 2001 1From fdb5c9c88e3d1bc5ae6ef9ebcfcf560d3c42f0a6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:33:03 +0000 3Date: Wed, 18 Mar 2015 00:33:03 +0000
4Subject: [PATCH 16/24] timezone: re-written tzselect as posix sh 4Subject: [PATCH 16/25] timezone: re-written tzselect as posix sh
5 5
6To avoid the bash dependency. 6To avoid the bash dependency.
7 7
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 2 files changed, 2 insertions(+), 2 deletions(-) 15 2 files changed, 2 insertions(+), 2 deletions(-)
16 16
17diff --git a/timezone/Makefile b/timezone/Makefile 17diff --git a/timezone/Makefile b/timezone/Makefile
18index 99566cb..b6e757e 100644 18index dee7568..66a50be 100644
19--- a/timezone/Makefile 19--- a/timezone/Makefile
20+++ b/timezone/Makefile 20+++ b/timezone/Makefile
21@@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT% 21@@ -120,7 +120,7 @@ $(testdata)/XT%: testdata/XT%
22 cp $< $@ 22 cp $< $@
23 23
24 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make 24 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
@@ -28,7 +28,7 @@ index 99566cb..b6e757e 100644
28 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ 28 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
29 -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ 29 -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
30diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh 30diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh
31index 9d70691..25f45a8 100755 31index 2c3b2f4..0c04a61 100755
32--- a/timezone/tzselect.ksh 32--- a/timezone/tzselect.ksh
33+++ b/timezone/tzselect.ksh 33+++ b/timezone/tzselect.ksh
34@@ -35,7 +35,7 @@ REPORT_BUGS_TO=tz@iana.org 34@@ -35,7 +35,7 @@ REPORT_BUGS_TO=tz@iana.org
@@ -38,8 +38,8 @@ index 9d70691..25f45a8 100755
38-: ${TZDIR=`pwd`} 38-: ${TZDIR=`pwd`}
39+: ${TZDIR=$(pwd)} 39+: ${TZDIR=$(pwd)}
40 40
41 # Check for awk Posix compliance. 41 # Output one argument as-is to standard output.
42 ($AWK -v x=y 'BEGIN { exit 123 }') </dev/null >/dev/null 2>&1 42 # Safer than 'echo', which can mishandle '\' or leading '-'.
43-- 43--
442.6.4 442.8.2
45 45
diff --git a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
index 0c9ae6c139..c8da05dc6e 100644
--- a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
+++ b/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
@@ -1,7 +1,7 @@
1From cd9d9fe7316f4ce4ca9d8e67e22f5718879535e4 Mon Sep 17 00:00:00 2001 1From 88ad88d014a5ee68b0e044d2def5ab13743c8ae0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 14:33:02 -0800 3Date: Thu, 31 Dec 2015 14:33:02 -0800
4Subject: [PATCH 17/24] Remove bash dependency for nscd init script 4Subject: [PATCH 17/25] Remove bash dependency for nscd init script
5 5
6The nscd init script uses #! /bin/bash but only really uses one bashism 6The nscd init script uses #! /bin/bash but only really uses one bashism
7(translated strings), so remove them and switch the shell to #!/bin/sh. 7(translated strings), so remove them and switch the shell to #!/bin/sh.
@@ -9,6 +9,8 @@ The nscd init script uses #! /bin/bash but only really uses one bashism
9Signed-off-by: Ross Burton <ross.burton@intel.com> 9Signed-off-by: Ross Burton <ross.burton@intel.com>
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11--- 11---
12Upstream-Status: Pending
13
12 nscd/nscd.init | 14 +++++++------- 14 nscd/nscd.init | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-) 15 1 file changed, 7 insertions(+), 7 deletions(-)
14 16
@@ -69,5 +71,5 @@ index a882da7..b02986e 100644
69 ;; 71 ;;
70 esac 72 esac
71-- 73--
722.6.4 742.8.2
73 75
diff --git a/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
index e282e60ebd..1750765247 100644
--- a/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
+++ b/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
@@ -1,7 +1,7 @@
1From 8f554f4a1beb39182aad9cd9b5e1da69464dff7e Mon Sep 17 00:00:00 2001 1From 49c0ad7dc2e02e808ed150296a109b586c34115a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:42:58 +0000 3Date: Wed, 18 Mar 2015 00:42:58 +0000
4Subject: [PATCH 18/24] eglibc: Cross building and testing instructions 4Subject: [PATCH 18/25] eglibc: Cross building and testing instructions
5 5
6Ported from eglibc 6Ported from eglibc
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -615,5 +615,5 @@ index 0000000..b67b468
615+ simply place copies of these libraries in the top GLIBC build 615+ simply place copies of these libraries in the top GLIBC build
616+ directory. 616+ directory.
617-- 617--
6182.6.4 6182.8.2
619 619
diff --git a/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch b/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
index c04e0a11d4..f983d86a90 100644
--- a/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
+++ b/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
@@ -1,7 +1,7 @@
1From c2d49eab20db4ab02b6de62092fedc623d757146 Mon Sep 17 00:00:00 2001 1From e881face7a10354612bf634b44e09e3bc6462c67 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:49:28 +0000 3Date: Wed, 18 Mar 2015 00:49:28 +0000
4Subject: [PATCH 19/24] eglibc: Help bootstrap cross toolchain 4Subject: [PATCH 19/25] eglibc: Help bootstrap cross toolchain
5 5
6Taken from EGLIBC, r1484 + r1525 6Taken from EGLIBC, r1484 + r1525
7 7
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 create mode 100644 include/stubs-bootstrap.h 29 create mode 100644 include/stubs-bootstrap.h
30 30
31diff --git a/Makefile b/Makefile 31diff --git a/Makefile b/Makefile
32index 9a01c93..a6ae003 100644 32index 32748b3..6d055ba 100644
33--- a/Makefile 33--- a/Makefile
34+++ b/Makefile 34+++ b/Makefile
35@@ -69,9 +69,18 @@ subdir-dirs = include 35@@ -69,9 +69,18 @@ subdir-dirs = include
@@ -96,5 +96,5 @@ index 0000000..1d2b669
96+ EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but 96+ EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but
97+ an empty stubs.h like this will do fine for GCC. */ 97+ an empty stubs.h like this will do fine for GCC. */
98-- 98--
992.6.4 992.8.2
100 100
diff --git a/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch b/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
index 4362efae77..30c4c69877 100644
--- a/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
+++ b/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
@@ -1,7 +1,7 @@
1From 588d936b9aa65e7cc8b1eb2cad1d209087db43a9 Mon Sep 17 00:00:00 2001 1From 723a31d3e2627211b39fbcc08f75b3c23c4096c5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 15:10:33 -0800 3Date: Thu, 31 Dec 2015 15:10:33 -0800
4Subject: [PATCH 20/24] eglibc: cherry-picked from 4Subject: [PATCH 20/25] eglibc: cherry-picked from
5 5
6http://www.eglibc.org/archives/patches/msg00772.html 6http://www.eglibc.org/archives/patches/msg00772.html
7 7
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 1 file changed, 13 insertions(+), 1 deletion(-) 15 1 file changed, 13 insertions(+), 1 deletion(-)
16 16
17diff --git a/resolv/res_libc.c b/resolv/res_libc.c 17diff --git a/resolv/res_libc.c b/resolv/res_libc.c
18index a8394e0..981ac7c 100644 18index a4b376f..3256e12 100644
19--- a/resolv/res_libc.c 19--- a/resolv/res_libc.c
20+++ b/resolv/res_libc.c 20+++ b/resolv/res_libc.c
21@@ -18,6 +18,7 @@ 21@@ -21,11 +21,13 @@
22 #include <atomic.h> 22 #include <atomic.h>
23 #include <limits.h> 23 #include <limits.h>
24 #include <sys/types.h> 24 #include <sys/types.h>
@@ -26,15 +26,13 @@ index a8394e0..981ac7c 100644
26 #include <netinet/in.h> 26 #include <netinet/in.h>
27 #include <arpa/nameser.h> 27 #include <arpa/nameser.h>
28 #include <resolv.h> 28 #include <resolv.h>
29@@ -28,6 +29,7 @@ 29 #include <libc-lock.h>
30 out) since res_init() should go into libc.so but the rest of that
31 file should not. */
32 30
33+__libc_lock_define_initialized (static, lock); 31+__libc_lock_define_initialized (static, lock);
34 extern unsigned long long int __res_initstamp attribute_hidden; 32 extern unsigned long long int __res_initstamp attribute_hidden;
35 /* We have atomic increment operations on 64-bit platforms. */ 33 /* We have atomic increment operations on 64-bit platforms. */
36 #if __WORDSIZE == 64 34 #if __WORDSIZE == 64
37@@ -35,7 +37,6 @@ extern unsigned long long int __res_initstamp attribute_hidden; 35@@ -33,7 +35,6 @@ extern unsigned long long int __res_initstamp attribute_hidden;
38 # define atomicincunlock(lock) (void) 0 36 # define atomicincunlock(lock) (void) 0
39 # define atomicinc(var) catomic_increment (&(var)) 37 # define atomicinc(var) catomic_increment (&(var))
40 #else 38 #else
@@ -42,7 +40,7 @@ index a8394e0..981ac7c 100644
42 # define atomicinclock(lock) __libc_lock_lock (lock) 40 # define atomicinclock(lock) __libc_lock_lock (lock)
43 # define atomicincunlock(lock) __libc_lock_unlock (lock) 41 # define atomicincunlock(lock) __libc_lock_unlock (lock)
44 # define atomicinc(var) ++var 42 # define atomicinc(var) ++var
45@@ -94,7 +95,18 @@ res_init(void) { 43@@ -92,7 +93,18 @@ res_init(void) {
46 int 44 int
47 __res_maybe_init (res_state resp, int preinit) 45 __res_maybe_init (res_state resp, int preinit)
48 { 46 {
@@ -62,5 +60,5 @@ index a8394e0..981ac7c 100644
62 if (resp->nscount > 0) 60 if (resp->nscount > 0)
63 __res_iclose (resp, true); 61 __res_iclose (resp, true);
64-- 62--
652.6.4 632.8.2
66 64
diff --git a/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch b/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch
index 225f22f013..8931c9e250 100644
--- a/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch
+++ b/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch
@@ -1,7 +1,7 @@
1From b74e34e6f53816ad57b13ba6fd70a97db1bc1eae Mon Sep 17 00:00:00 2001 1From 9699873820d0347c2f377f0d86bce615d87a5e47 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 15:15:09 -0800 3Date: Thu, 31 Dec 2015 15:15:09 -0800
4Subject: [PATCH 21/24] eglibc: Clear cache lines on ppc8xx 4Subject: [PATCH 21/25] eglibc: Clear cache lines on ppc8xx
5 5
62007-06-13 Nathan Sidwell <nathan@codesourcery.com> 62007-06-13 Nathan Sidwell <nathan@codesourcery.com>
7 Mark Shinwell <shinwell@codesourcery.com> 7 Mark Shinwell <shinwell@codesourcery.com>
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 2 files changed, 28 insertions(+), 2 deletions(-) 21 2 files changed, 28 insertions(+), 2 deletions(-)
22 22
23diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c 23diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24index c2504ff..d50f1cb 100644 24index 98ec2b3..b384ae0 100644
25--- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c 25--- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26+++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c 26+++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27@@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden; 27@@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden;
@@ -48,7 +48,7 @@ index c2504ff..d50f1cb 100644
48 break; 48 break;
49 49
50diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c 50diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
51index 209a16d..5d8572d 100644 51index 0efd297..8cc0ef8 100644
52--- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c 52--- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c
53+++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c 53+++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
54@@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv, 54@@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv,
@@ -79,5 +79,5 @@ index 209a16d..5d8572d 100644
79 break; 79 break;
80 #ifndef SHARED 80 #ifndef SHARED
81-- 81--
822.6.4 822.8.2
83 83
diff --git a/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch
index 88b20f67ad..f53f5ff87c 100644
--- a/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch
+++ b/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch
@@ -1,7 +1,7 @@
1From 8f483cb1f21ab6431ff99e8d30d56b91607ae918 Mon Sep 17 00:00:00 2001 1From 8904f4249c930d187e19c7e9d3e73c835d11e18f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:55:53 +0000 3Date: Wed, 18 Mar 2015 00:55:53 +0000
4Subject: [PATCH 22/24] eglibc: Resolve __fpscr_values on SH4 4Subject: [PATCH 22/25] eglibc: Resolve __fpscr_values on SH4
5 5
62010-09-29 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 62010-09-29 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7 Andrew Stubbs <ams@codesourcery.com> 7 Andrew Stubbs <ams@codesourcery.com>
@@ -33,7 +33,7 @@ index e0938c4..ca1d7da 100644
33 # a* 33 # a*
34 alphasort64; 34 alphasort64;
35diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S 35diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S
36index a02b7e2..b9be326 100644 36index 0024d79..d1db7e4 100644
37--- a/sysdeps/unix/sysv/linux/sh/sysdep.S 37--- a/sysdeps/unix/sysv/linux/sh/sysdep.S
38+++ b/sysdeps/unix/sysv/linux/sh/sysdep.S 38+++ b/sysdeps/unix/sysv/linux/sh/sysdep.S
39@@ -30,3 +30,14 @@ ENTRY (__syscall_error) 39@@ -30,3 +30,14 @@ ENTRY (__syscall_error)
@@ -52,5 +52,5 @@ index a02b7e2..b9be326 100644
52+weak_alias (___fpscr_values, __fpscr_values) 52+weak_alias (___fpscr_values, __fpscr_values)
53+ 53+
54-- 54--
552.6.4 552.8.2
56 56
diff --git a/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch b/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch
index d95ea3ba3d..f985f3ca14 100644
--- a/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch
+++ b/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch
@@ -1,7 +1,7 @@
1From 58d424884eed7efde6c90af0cd7c6c37cf9b444a Mon Sep 17 00:00:00 2001 1From 1947f211fab4001e84bb52868cddbd401e597889 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:57:01 +0000 3Date: Wed, 18 Mar 2015 01:57:01 +0000
4Subject: [PATCH 23/24] eglibc: Install PIC archives 4Subject: [PATCH 23/25] eglibc: Install PIC archives
5 5
6Forward port from eglibc 6Forward port from eglibc
7 7
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 1 file changed, 40 insertions(+), 2 deletions(-) 29 1 file changed, 40 insertions(+), 2 deletions(-)
30 30
31diff --git a/Makerules b/Makerules 31diff --git a/Makerules b/Makerules
32index fa24030..1ff4634 100644 32index 53eabfa..1cd2a53 100644
33--- a/Makerules 33--- a/Makerules
34+++ b/Makerules 34+++ b/Makerules
35@@ -694,6 +694,9 @@ ifeq ($(build-shared),yes) 35@@ -694,6 +694,9 @@ ifeq ($(build-shared),yes)
@@ -119,5 +119,5 @@ index fa24030..1ff4634 100644
119 install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \ 119 install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \
120 install-rootsbin-nosubdir install-sbin-nosubdir \ 120 install-rootsbin-nosubdir install-sbin-nosubdir \
121-- 121--
1222.6.4 1222.8.2
123 123
diff --git a/meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch b/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
index 68d11192ac..c45b557ab7 100644
--- a/meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch
+++ b/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
@@ -1,7 +1,7 @@
1From a5695930aec68b3f501e475d8705cddbb63f695e Mon Sep 17 00:00:00 2001 1From 11d7633178301add26a24657e2f1596a2f7dddce Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:33:49 +0000 3Date: Wed, 18 Mar 2015 01:33:49 +0000
4Subject: [PATCH 25/25] eglibc: Forward port cross locale generation support 4Subject: [PATCH 24/25] eglibc: Forward port cross locale generation support
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 create mode 100644 locale/catnames.c 23 create mode 100644 locale/catnames.c
24 24
25diff --git a/locale/Makefile b/locale/Makefile 25diff --git a/locale/Makefile b/locale/Makefile
26index 75afbe1..d32523b 100644 26index c5379e6..c98c675 100644
27--- a/locale/Makefile 27--- a/locale/Makefile
28+++ b/locale/Makefile 28+++ b/locale/Makefile
29@@ -25,7 +25,8 @@ include ../Makeconfig 29@@ -25,7 +25,8 @@ include ../Makeconfig
@@ -91,7 +91,7 @@ index 0000000..9fad357
91+ [LC_ALL] = sizeof ("LC_ALL") - 1 91+ [LC_ALL] = sizeof ("LC_ALL") - 1
92+ }; 92+ };
93diff --git a/locale/localeinfo.h b/locale/localeinfo.h 93diff --git a/locale/localeinfo.h b/locale/localeinfo.h
94index 789da44..4ac9249 100644 94index 94627f3..d0db77b 100644
95--- a/locale/localeinfo.h 95--- a/locale/localeinfo.h
96+++ b/locale/localeinfo.h 96+++ b/locale/localeinfo.h
97@@ -224,7 +224,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE) 97@@ -224,7 +224,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE)
@@ -104,7 +104,7 @@ index 789da44..4ac9249 100644
104 # define NL_CURRENT_INDIRECT 1 104 # define NL_CURRENT_INDIRECT 1
105 #endif 105 #endif
106diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c 106diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
107index cf7adea..ef3b811 100644 107index 99fcd35..5e528dc 100644
108--- a/locale/programs/charmap-dir.c 108--- a/locale/programs/charmap-dir.c
109+++ b/locale/programs/charmap-dir.c 109+++ b/locale/programs/charmap-dir.c
110@@ -19,7 +19,9 @@ 110@@ -19,7 +19,9 @@
@@ -150,7 +150,7 @@ index cf7adea..ef3b811 100644
150 return NULL; 150 return NULL;
151 } 151 }
152diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c 152diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
153index dc0fe30..3c88c6d 100644 153index 1e125f6..3b2867f 100644
154--- a/locale/programs/ld-collate.c 154--- a/locale/programs/ld-collate.c
155+++ b/locale/programs/ld-collate.c 155+++ b/locale/programs/ld-collate.c
156@@ -350,7 +350,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen, 156@@ -350,7 +350,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -199,7 +199,7 @@ index dc0fe30..3c88c6d 100644
199 == runp->wcnext->wcs[runp->nwcs - 1] + 1)); 199 == runp->wcnext->wcs[runp->nwcs - 1] + 1));
200 200
201diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c 201diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
202index 3f464ef..b7b6b51 100644 202index 0fd141c..68136e6 100644
203--- a/locale/programs/ld-ctype.c 203--- a/locale/programs/ld-ctype.c
204+++ b/locale/programs/ld-ctype.c 204+++ b/locale/programs/ld-ctype.c
205@@ -926,7 +926,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap, 205@@ -926,7 +926,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -281,7 +281,7 @@ index 3f464ef..b7b6b51 100644
281 srunp = srunp->next; 281 srunp = srunp->next;
282 } 282 }
283diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c 283diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
284index db490c6..75dc505 100644 284index 87531bc..5f2c266 100644
285--- a/locale/programs/ld-time.c 285--- a/locale/programs/ld-time.c
286+++ b/locale/programs/ld-time.c 286+++ b/locale/programs/ld-time.c
287@@ -215,8 +215,10 @@ No definition for %s category found"), "LC_TIME")); 287@@ -215,8 +215,10 @@ No definition for %s category found"), "LC_TIME"));
@@ -331,7 +331,7 @@ index db490c6..75dc505 100644
331 } 331 }
332 else 332 else
333 time->era_entries[idx].wname = 333 time->era_entries[idx].wname =
334@@ -530,7 +532,16 @@ No definition for %s category found"), "LC_TIME")); 334@@ -534,7 +536,16 @@ No definition for %s category found"), "LC_TIME"));
335 if (time->date_fmt == NULL) 335 if (time->date_fmt == NULL)
336 time->date_fmt = "%a %b %e %H:%M:%S %Z %Y"; 336 time->date_fmt = "%a %b %e %H:%M:%S %Z %Y";
337 if (time->wdate_fmt == NULL) 337 if (time->wdate_fmt == NULL)
@@ -350,7 +350,7 @@ index db490c6..75dc505 100644
350 350
351 351
352diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c 352diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
353index 2e05130..653b68c 100644 353index b885f65..0afb631 100644
354--- a/locale/programs/linereader.c 354--- a/locale/programs/linereader.c
355+++ b/locale/programs/linereader.c 355+++ b/locale/programs/linereader.c
356@@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap, 356@@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
@@ -363,7 +363,7 @@ index 2e05130..653b68c 100644
363 size_t bufmax = 56; 363 size_t bufmax = 56;
364 364
365diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c 365diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
366index fd6ca51..328d36c 100644 366index 6becd9a..8ddd080 100644
367--- a/locale/programs/localedef.c 367--- a/locale/programs/localedef.c
368+++ b/locale/programs/localedef.c 368+++ b/locale/programs/localedef.c
369@@ -114,6 +114,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 369@@ -114,6 +114,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -409,7 +409,7 @@ index fd6ca51..328d36c 100644
409 force_output = 1; 409 force_output = 1;
410 break; 410 break;
411diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c 411diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
412index 33da52e..f790c4c 100644 412index 32f5cd2..02967b0 100644
413--- a/locale/programs/locfile.c 413--- a/locale/programs/locfile.c
414+++ b/locale/programs/locfile.c 414+++ b/locale/programs/locfile.c
415@@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size, 415@@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -432,7 +432,7 @@ index 33da52e..f790c4c 100644
432 432
433 /* Record that FILE's next element is the 32-bit integer VALUE. */ 433 /* Record that FILE's next element is the 32-bit integer VALUE. */
434diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h 434diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
435index 6fc441b..118b171 100644 435index a3dd904..2c7763a 100644
436--- a/locale/programs/locfile.h 436--- a/locale/programs/locfile.h
437+++ b/locale/programs/locfile.h 437+++ b/locale/programs/locfile.h
438@@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions, 438@@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -521,7 +521,7 @@ index 6fc441b..118b171 100644
521+ 521+
522 #endif /* locfile.h */ 522 #endif /* locfile.h */
523diff --git a/locale/setlocale.c b/locale/setlocale.c 523diff --git a/locale/setlocale.c b/locale/setlocale.c
524index ead030d..b551332 100644 524index 69b3141..1cef0be 100644
525--- a/locale/setlocale.c 525--- a/locale/setlocale.c
526+++ b/locale/setlocale.c 526+++ b/locale/setlocale.c
527@@ -64,36 +64,6 @@ static char *const _nl_current_used[] = 527@@ -64,36 +64,6 @@ static char *const _nl_current_used[] =
@@ -562,5 +562,5 @@ index ead030d..b551332 100644
562 # define WEAK_POSTLOAD(postload) weak_extern (postload) 562 # define WEAK_POSTLOAD(postload) weak_extern (postload)
563 #else 563 #else
564-- 564--
5652.6.4 5652.8.2
566 566
diff --git a/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch b/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
new file mode 100644
index 0000000000..9d60d02828
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
@@ -0,0 +1,32 @@
1From 89ec25290d34413ce5c8ba6c378e31dbae3a37c0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 20 Apr 2016 21:11:00 -0700
4Subject: [PATCH 25/25] Define DUMMY_LOCALE_T if not defined
5
6This is a hack to fix building the locale bits on an older
7CentOs 5.X machine
8
9Upstream-Status: Inappropriate [other]
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 locale/programs/config.h | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/locale/programs/config.h b/locale/programs/config.h
17index f606365..0e5f8c3 100644
18--- a/locale/programs/config.h
19+++ b/locale/programs/config.h
20@@ -19,6 +19,9 @@
21 #ifndef _LD_CONFIG_H
22 #define _LD_CONFIG_H 1
23
24+#ifndef DUMMY_LOCALE_T
25+#define DUMMY_LOCALE_T
26+#endif
27 /* Use the internal textdomain used for libc messages. */
28 #define PACKAGE _libc_intl_domainname
29 #ifndef VERSION
30--
312.8.2
32
diff --git a/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch b/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
deleted file mode 100644
index 2b889a94cf..0000000000
--- a/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1From 97fe7f1b23ea1f17533884b8fa7f7eb40087d558 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 5 Jan 2016 17:50:00 -0800
4Subject: [PATCH] When disabling SSE, make sure -fpmath is not set to use SSE
5 either
6
7This fixes errors when we inject sse options through CFLAGS and now
8that we have -Werror turned on by default this warning turns to become
9error on x86
10
11gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S
12-mno-sse -mno-mmx
13
14generates warning
15/dev/null:1:0: warning: SSE instruction set disabled, using 387
16arithmetics
17
18where as
19
20gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S
21-mno-sse -mno-mmx -mfpmath=387
22
23Generates no warnings
24
25Signed-off-by: Khem Raj <raj.khem@gmail.com>
26---
27Upstream-Status: Submitted
28
29 ChangeLog | 5 +++++
30 sysdeps/i386/Makefile | 2 +-
31 2 files changed, 6 insertions(+), 1 deletion(-)
32
33diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
34index 168512f..70153b3 100644
35--- a/sysdeps/i386/Makefile
36+++ b/sysdeps/i386/Makefile
37@@ -89,7 +89,7 @@ ifeq ($(subdir),elf)
38 # the first 3 mm/xmm/ymm/zmm registers are used to pass vector parameters
39 # which must be preserved.
40 CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
41- -mno-sse -mno-mmx)
42+ -mno-sse -mno-mmx -mfpmath=387)
43
44 tests-special += $(objpfx)tst-ld-sse-use.out
45 $(objpfx)tst-ld-sse-use.out: ../sysdeps/i386/tst-ld-sse-use.sh $(objpfx)ld.so
46--
472.6.4
48
diff --git a/meta/recipes-core/glibc/glibc_2.23.bb b/meta/recipes-core/glibc/glibc_2.24.bb
index 18f40660ec..77630e3c70 100644
--- a/meta/recipes-core/glibc/glibc_2.23.bb
+++ b/meta/recipes-core/glibc/glibc_2.24.bb
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
7 7
8DEPENDS += "gperf-native" 8DEPENDS += "gperf-native"
9 9
10SRCREV ?= "e742928c1592b43db6809db4f39e67be151cdd27" 10SRCREV ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e"
11 11
12SRCBRANCH ?= "release/${PV}/master" 12#SRCBRANCH ?= "release/${PV}/master"
13SRCBRANCH ?= "master"
13 14
14GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" 15GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
15UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" 16UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
@@ -34,8 +35,8 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
34 file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ 35 file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \
35 file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ 36 file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \
36 file://0023-eglibc-Install-PIC-archives.patch \ 37 file://0023-eglibc-Install-PIC-archives.patch \
37 file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \ 38 file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \
38 file://0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch \ 39 file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \
39" 40"
40 41
41SRC_URI += "\ 42SRC_URI += "\
@@ -59,8 +60,7 @@ PACKAGES_DYNAMIC = ""
59BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" 60BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
60TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}" 61TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}"
61 62
62GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1" 63GLIBC_BROKEN_LOCALES = ""
63
64# 64#
65# We will skip parsing glibc when target system C library selection is not glibc 65# We will skip parsing glibc when target system C library selection is not glibc
66# this helps in easing out parsing for non-glibc system libraries 66# this helps in easing out parsing for non-glibc system libraries