summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0029-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-09-30 16:27:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-04 14:21:41 +0100
commit50cc48b18066a3dc02d199fdd0ed8930419b13d6 (patch)
tree0091c48dfc50e0146676974393b75562f78fb737 /meta/recipes-core/glibc/glibc/0029-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
parentbdb49647874e18e7d60374b8973a307551b36a14 (diff)
downloadpoky-50cc48b18066a3dc02d199fdd0ed8930419b13d6.tar.gz
glibc: bump SRCREV to latest 2.28
* drop one patch already applied in upstream * this is still only partial fix for issues with -O0 and the bigger issue might be detected in runtime as described in: https://sourceware.org/glibc/wiki/FAQ#Why_do_I_get:.60.23error_.22glibc_cannot_be_compiled_without_optimization.22.27.2C_when_trying_to_compile_GNU_libc_with_GNU_CC.3F https://sourceware.org/bugzilla/show_bug.cgi?id=19444 and tested in glibc build: https://sourceware.org/git/?p=glibc.git;a=blob;f=include/libc-symbols.h;h=8b9273c13a19f2658105c7997267d9086adae716;hb=HEAD#l74 * restore the anonymous python to trigger fatal error when -O0 is used (but don't restore the notes for -O, -O1, -Os * git log --oneline 3c03baca37fdcb52c3881e653ca392bba7a99c2b..044c96f0d5595aeb0bb4e79355081c5a7f4faca5 | tee 044c96f0d5 Fix misreported errno on preadv2/pwritev2 (BZ#23579) 3a67c72c15 Fix stack overflow in tst-setcontext9 (bug 23717) 2339d6a55e i386: Use ENTRY and END in start.S [BZ #23606] 0ef2f4400c Fix strstr bug with huge needles (bug 23637) a55e109709 Fix tst-setcontext9 for optimized small stacks. 307d04334d misc: New test misc/tst-gethostid e7d22db29c Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679] 1fe2b9ca8a Fix segfault in maybe_script_execute. 0b79004569 regex: Add test tst-regcomp-truncated [BZ #23578] 58559f1443 regex: fix uninitialized memory access aa8a3e4cde pthread_cond_broadcast: Fix waiters-after-spinning case [BZ #23538] c87b5bab24 Improve ChangeLog message. 66fdfd57fe Regen RISC-V rvd ULPs b0aa03dfff RISC-V: Fix rounding save/restore bug. 2f498f3d14 nss_files: Fix file stream leak in aliases lookup [BZ #23521] bfcfa22589 nscd: Deallocate existing user names in file parser d05b05d157 error, error_at_line: Add missing va_end calls 4b25485f03 Linux: Rewrite __old_getdents64 [BZ #23497] 726e1554ce hurd: Avoid PLTs for __pthread_get/setspecific 7f11842e74 hurd: Add missing symbols for proper libc_get/setspecific * update 0031-sysdeps-ieee754-prevent-maybe-uninitialized-errors-w.patch based on review comments in upstream and extend it to cover PPC based on: http://lists.openembedded.org/pipermail/openembedded-core/2018-September/156258.html * update 0032-sysdeps-ieee754-soft-fp-ignore-maybe-uninitialized-w.patch based on review comments in upstream * add 0033-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch with a fix for aarch64 build with -Os * build tested with qemuarm, qemuarm64, qemux86, qemux86-64, qemuppc, qemumips, qemumips64 with -O, -O1, -Os. (From OE-Core rev: f1f38df91975f9b53933c2d2fbdca291d1872d5f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0029-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0029-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch25
1 files changed, 12 insertions, 13 deletions
diff --git a/meta/recipes-core/glibc/glibc/0029-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch b/meta/recipes-core/glibc/glibc/0029-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
index 8bdd466806..e17f6aa3b9 100644
--- a/meta/recipes-core/glibc/glibc/0029-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
+++ b/meta/recipes-core/glibc/glibc/0029-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
@@ -1,8 +1,7 @@
1From 5a6f019ded549faaf42478f6f96428dc7c20606e Mon Sep 17 00:00:00 2001 1From 865651d2496a90f7ae8e7cc19a2e54b6f17a8ad5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 3 Aug 2018 09:42:06 -0700 3Date: Fri, 3 Aug 2018 09:42:06 -0700
4Subject: [PATCH 29/30] localedef --add-to-archive uses a hard-coded locale 4Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path
5 path
6 5
7it doesn't exist in normal use, and there's no way to pass an 6it doesn't exist in normal use, and there's no way to pass an
8alternative filename. 7alternative filename.
@@ -15,14 +14,14 @@ Upstream-Status: Inappropriate (OE-specific)
15Signed-off-by: Ross Burton <ross.burton@intel.com> 14Signed-off-by: Ross Burton <ross.burton@intel.com>
16Signed-off-by: Khem Raj <raj.khem@gmail.com> 15Signed-off-by: Khem Raj <raj.khem@gmail.com>
17--- 16---
18 locale/programs/locarchive.c | 13 ++++++++----- 17 locale/programs/locarchive.c | 37 ++++++++++++++++++++++++++----------
19 1 file changed, 8 insertions(+), 5 deletions(-) 18 1 file changed, 27 insertions(+), 10 deletions(-)
20 19
21Index: git/locale/programs/locarchive.c 20diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
22=================================================================== 21index ca332a345f..91f62da662 100644
23--- git.orig/locale/programs/locarchive.c 22--- a/locale/programs/locarchive.c
24+++ git/locale/programs/locarchive.c 23+++ b/locale/programs/locarchive.c
25@@ -340,12 +340,24 @@ enlarge_archive (struct locarhandle *ah, 24@@ -340,12 +340,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head)
26 struct namehashent *oldnamehashtab; 25 struct namehashent *oldnamehashtab;
27 struct locarhandle new_ah; 26 struct locarhandle new_ah;
28 size_t prefix_len = output_prefix ? strlen (output_prefix) : 0; 27 size_t prefix_len = output_prefix ? strlen (output_prefix) : 0;
@@ -52,7 +51,7 @@ Index: git/locale/programs/locarchive.c
52 strcpy (stpcpy (fname, archivefname), ".XXXXXX"); 51 strcpy (stpcpy (fname, archivefname), ".XXXXXX");
53 52
54 /* Not all of the old file has to be mapped. Change this now this 53 /* Not all of the old file has to be mapped. Change this now this
55@@ -551,6 +563,8 @@ enlarge_archive (struct locarhandle *ah, 54@@ -551,6 +563,8 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head)
56 55
57 /* Add the information for the new one. */ 56 /* Add the information for the new one. */
58 *ah = new_ah; 57 *ah = new_ah;
@@ -61,7 +60,7 @@ Index: git/locale/programs/locarchive.c
61 } 60 }
62 61
63 62
64@@ -569,10 +583,13 @@ open_archive (struct locarhandle *ah, bo 63@@ -569,10 +583,13 @@ open_archive (struct locarhandle *ah, bool readonly)
65 /* If ah has a non-NULL fname open that otherwise open the default. */ 64 /* If ah has a non-NULL fname open that otherwise open the default. */
66 if (archivefname == NULL) 65 if (archivefname == NULL)
67 { 66 {
@@ -79,7 +78,7 @@ Index: git/locale/programs/locarchive.c
79 } 78 }
80 79
81 while (1) 80 while (1)
82@@ -585,7 +602,7 @@ open_archive (struct locarhandle *ah, bo 81@@ -585,7 +602,7 @@ open_archive (struct locarhandle *ah, bool readonly)
83 the default locale archive we ignore the failure and 82 the default locale archive we ignore the failure and
84 list an empty archive, otherwise we print an error 83 list an empty archive, otherwise we print an error
85 and exit. */ 84 and exit. */