diff options
33 files changed, 141 insertions, 156 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index c77ce9aa52..23a4ace4a6 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
@@ -20,7 +20,7 @@ GCCVERSION ?= "14.%" | |||
20 | SDKGCCVERSION ?= "${GCCVERSION}" | 20 | SDKGCCVERSION ?= "${GCCVERSION}" |
21 | BINUVERSION ?= "2.42%" | 21 | BINUVERSION ?= "2.42%" |
22 | GDBVERSION ?= "15.%" | 22 | GDBVERSION ?= "15.%" |
23 | GLIBCVERSION ?= "2.39%" | 23 | GLIBCVERSION ?= "2.40%" |
24 | LINUXLIBCVERSION ?= "6.9%" | 24 | LINUXLIBCVERSION ?= "6.9%" |
25 | QEMUVERSION ?= "9.0%" | 25 | QEMUVERSION ?= "9.0%" |
26 | GOVERSION ?= "1.22%" | 26 | GOVERSION ?= "1.22%" |
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.39.bb b/meta/recipes-core/glibc/cross-localedef-native_2.40.bb index fed6e4ea97..fed6e4ea97 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.39.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.40.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index 91a3f5bcd5..72d5dcd74b 100644 --- a/meta/recipes-core/glibc/glibc-common.inc +++ b/meta/recipes-core/glibc/glibc-common.inc | |||
@@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET:armv6 = "arm" | |||
22 | # | 22 | # |
23 | COMPATIBLE_HOST:libc-musl:class-target = "null" | 23 | COMPATIBLE_HOST:libc-musl:class-target = "null" |
24 | 24 | ||
25 | PV = "2.39+git" | 25 | PV = "2.40+git" |
diff --git a/meta/recipes-core/glibc/glibc-locale_2.39.bb b/meta/recipes-core/glibc/glibc-locale_2.40.bb index f7702e0358..f7702e0358 100644 --- a/meta/recipes-core/glibc/glibc-locale_2.39.bb +++ b/meta/recipes-core/glibc/glibc-locale_2.40.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.39.bb b/meta/recipes-core/glibc/glibc-mtrace_2.40.bb index 0b69bad46a..0b69bad46a 100644 --- a/meta/recipes-core/glibc/glibc-mtrace_2.39.bb +++ b/meta/recipes-core/glibc/glibc-mtrace_2.40.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.39.bb b/meta/recipes-core/glibc/glibc-scripts_2.40.bb index 5a89bd8022..5a89bd8022 100644 --- a/meta/recipes-core/glibc/glibc-scripts_2.39.bb +++ b/meta/recipes-core/glibc/glibc-scripts_2.40.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.39.bb b/meta/recipes-core/glibc/glibc-testsuite_2.40.bb index 3a2764e40b..3a2764e40b 100644 --- a/meta/recipes-core/glibc/glibc-testsuite_2.39.bb +++ b/meta/recipes-core/glibc/glibc-testsuite_2.40.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index ad58bebcf1..6e167b6ca4 100644 --- a/meta/recipes-core/glibc/glibc-version.inc +++ b/meta/recipes-core/glibc/glibc-version.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | SRCBRANCH ?= "release/2.39/master" | 1 | SRCBRANCH ?= "release/2.40/master" |
2 | PV = "2.39+git" | 2 | PV = "2.40+git" |
3 | SRCREV_glibc ?= "e8f521709731ce3ae8d6f1eca30135d5c0606f02" | 3 | SRCREV_glibc ?= "6daa77104520ca992a9369bd01cccd4d98c82984" |
4 | SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" | 4 | SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" |
5 | 5 | ||
6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" | 6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" |
diff --git a/meta/recipes-core/glibc/glibc-y2038-tests_2.39.bb b/meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb index b760230aec..b760230aec 100644 --- a/meta/recipes-core/glibc/glibc-y2038-tests_2.39.bb +++ b/meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb | |||
diff --git a/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch b/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch index 4f919078dd..e4fb2a7a28 100644 --- a/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch +++ b/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 544d23dea91b2be793c805b9e4bce8cd1d28121f Mon Sep 17 00:00:00 2001 | 1 | From c22fc168dd00cdabcf24a54b4d9383a3f1a7b313 Mon Sep 17 00:00:00 2001 |
2 | From: Jason Wessel <jason.wessel@windriver.com> | 2 | From: Jason Wessel <jason.wessel@windriver.com> |
3 | Date: Sat, 7 Dec 2019 09:59:22 -0800 | 3 | Date: Sat, 7 Dec 2019 09:59:22 -0800 |
4 | Subject: [PATCH] localedef: Add hardlink resolver from util-linux | 4 | Subject: [PATCH] localedef: Add hardlink resolver from util-linux |
diff --git a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch index 7c8fa973ec..1bbd07d331 100644 --- a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch +++ b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ebb1e37285ab541135005cfe945b7a58e4b95040 Mon Sep 17 00:00:00 2001 | 1 | From fe564c5944621f240dd28a1b4157504384635518 Mon Sep 17 00:00:00 2001 |
2 | From: Jason Wessel <jason.wessel@windriver.com> | 2 | From: Jason Wessel <jason.wessel@windriver.com> |
3 | Date: Sat, 7 Dec 2019 10:01:37 -0800 | 3 | Date: Sat, 7 Dec 2019 10:01:37 -0800 |
4 | Subject: [PATCH] localedef: fix-ups hardlink to make it compile | 4 | Subject: [PATCH] localedef: fix-ups hardlink to make it compile |
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch index bd4b5aa98b..650e608750 100644 --- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch +++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | From 9770abfda8e85fe027f95871bc03450d05b1e2c8 Mon Sep 17 00:00:00 2001 | 1 | From 213a4e5b43369f24d6f07a7c971f3909ec5d26a3 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:48:24 +0000 | 3 | Date: Sat, 3 Feb 2024 13:54:16 -0800 |
4 | Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well | 4 | Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [embedded specific] | 6 | Upstream-Status: Inappropriate [embedded specific] |
@@ -30,25 +30,25 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
30 | 1 file changed, 8 insertions(+), 8 deletions(-) | 30 | 1 file changed, 8 insertions(+), 8 deletions(-) |
31 | 31 | ||
32 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 32 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
33 | index ce8fdea302..1f502eb026 100644 | 33 | index 8a89b71016..1ea5415b76 100644 |
34 | --- a/elf/dl-load.c | 34 | --- a/elf/dl-load.c |
35 | +++ b/elf/dl-load.c | 35 | +++ b/elf/dl-load.c |
36 | @@ -2105,6 +2105,14 @@ _dl_map_object (struct link_map *loader, const char *name, | 36 | @@ -2046,6 +2046,14 @@ _dl_map_object (struct link_map *loader, const char *name, |
37 | } | 37 | &loader->l_runpath_dirs, &realname, &fb, loader, |
38 | } | 38 | LA_SER_RUNPATH, &found_other_class); |
39 | 39 | ||
40 | + /* try the default path. */ | 40 | + /* Try the default path. */ |
41 | + if (fd == -1 | 41 | + if (fd == -1 |
42 | + && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL | 42 | + && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL |
43 | + || __builtin_expect (!(l->l_flags_1 & DF_1_NODEFLIB), 1)) | 43 | + || __glibc_likely (!(l->l_flags_1 & DF_1_NODEFLIB))) |
44 | + && __rtld_search_dirs.dirs != (void *) -1) | 44 | + && __rtld_search_dirs.dirs != (void *) -1) |
45 | + fd = open_path (name, namelen, mode & __RTLD_SECURE, &__rtld_search_dirs, | 45 | + fd = open_path (name, namelen, mode, &__rtld_search_dirs, |
46 | + &realname, &fb, l, LA_SER_DEFAULT, &found_other_class); | 46 | + &realname, &fb, l, LA_SER_DEFAULT, &found_other_class); |
47 | + /* Finally try ld.so.cache */ | 47 | + /* Finally try ld.so.cache */ |
48 | #ifdef USE_LDCONFIG | 48 | #ifdef USE_LDCONFIG |
49 | if (fd == -1 | 49 | if (fd == -1 |
50 | && (__glibc_likely ((mode & __RTLD_SECURE) == 0) | 50 | && (__glibc_likely ((mode & __RTLD_SECURE) == 0) |
51 | @@ -2163,14 +2171,6 @@ _dl_map_object (struct link_map *loader, const char *name, | 51 | @@ -2104,14 +2112,6 @@ _dl_map_object (struct link_map *loader, const char *name, |
52 | } | 52 | } |
53 | #endif | 53 | #endif |
54 | 54 | ||
diff --git a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch index 19fc561a06..b98b6ec5fb 100644 --- a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch +++ b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 587b92ff99e6d8f59c461ee8beecae39d8818f7e Mon Sep 17 00:00:00 2001 | 1 | From c17e485fc4ff3f7f16a824b43372bc9e3fe57dd6 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:50:00 +0000 | 3 | Date: Wed, 18 Mar 2015 01:50:00 +0000 |
4 | Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK | 4 | Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK |
@@ -21,10 +21,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
21 | 1 file changed, 12 insertions(+) | 21 | 1 file changed, 12 insertions(+) |
22 | 22 | ||
23 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 23 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
24 | index 1f502eb026..c4a543fb00 100644 | 24 | index 1ea5415b76..e149dd7e76 100644 |
25 | --- a/elf/dl-load.c | 25 | --- a/elf/dl-load.c |
26 | +++ b/elf/dl-load.c | 26 | +++ b/elf/dl-load.c |
27 | @@ -1802,7 +1802,19 @@ open_path (const char *name, size_t namelen, int mode, | 27 | @@ -1757,7 +1757,19 @@ open_path (const char *name, size_t namelen, int mode, |
28 | given on the command line when rtld is run directly. */ | 28 | given on the command line when rtld is run directly. */ |
29 | return -1; | 29 | return -1; |
30 | 30 | ||
diff --git a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch index 55892417f4..21c39dce59 100644 --- a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch +++ b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 49caf586b80ba030a0ee4af9f6128ff2979ea636 Mon Sep 17 00:00:00 2001 | 1 | From 97229d19eca7d93d38ed7893640efe36a57e7bcb Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:51:38 +0000 | 3 | Date: Wed, 18 Mar 2015 01:51:38 +0000 |
4 | Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths | 4 | Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths |
@@ -26,10 +26,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
26 | 8 files changed, 15 insertions(+), 10 deletions(-) | 26 | 8 files changed, 15 insertions(+), 10 deletions(-) |
27 | 27 | ||
28 | diff --git a/elf/dl-cache.c b/elf/dl-cache.c | 28 | diff --git a/elf/dl-cache.c b/elf/dl-cache.c |
29 | index 85f3f179ed..cc55887c56 100644 | 29 | index 7c7dc58745..0147a281ad 100644 |
30 | --- a/elf/dl-cache.c | 30 | --- a/elf/dl-cache.c |
31 | +++ b/elf/dl-cache.c | 31 | +++ b/elf/dl-cache.c |
32 | @@ -352,6 +352,10 @@ search_cache (const char *string_table, uint32_t string_table_size, | 32 | @@ -336,6 +336,10 @@ search_cache (const char *string_table, uint32_t string_table_size, |
33 | return best; | 33 | return best; |
34 | } | 34 | } |
35 | 35 | ||
@@ -41,10 +41,10 @@ index 85f3f179ed..cc55887c56 100644 | |||
41 | _dl_cache_libcmp (const char *p1, const char *p2) | 41 | _dl_cache_libcmp (const char *p1, const char *p2) |
42 | { | 42 | { |
43 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 43 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
44 | index c4a543fb00..27fb70f09b 100644 | 44 | index e149dd7e76..c99ce0ee45 100644 |
45 | --- a/elf/dl-load.c | 45 | --- a/elf/dl-load.c |
46 | +++ b/elf/dl-load.c | 46 | +++ b/elf/dl-load.c |
47 | @@ -117,8 +117,8 @@ enum { ncapstr = 1, max_capstrlen = 0 }; | 47 | @@ -106,8 +106,8 @@ enum { ncapstr = 1, max_capstrlen = 0 }; |
48 | gen-trusted-dirs.awk. */ | 48 | gen-trusted-dirs.awk. */ |
49 | #include "trusted-dirs.h" | 49 | #include "trusted-dirs.h" |
50 | 50 | ||
@@ -111,7 +111,7 @@ index b64c54b53e..caf7001745 100644 | |||
111 | static error_t | 111 | static error_t |
112 | parse_opt (int key, char *arg, struct argp_state *state) | 112 | parse_opt (int key, char *arg, struct argp_state *state) |
113 | diff --git a/elf/rtld.c b/elf/rtld.c | 113 | diff --git a/elf/rtld.c b/elf/rtld.c |
114 | index 4f494b792e..d1c1252188 100644 | 114 | index 6352ba76c5..02316b8b16 100644 |
115 | --- a/elf/rtld.c | 115 | --- a/elf/rtld.c |
116 | +++ b/elf/rtld.c | 116 | +++ b/elf/rtld.c |
117 | @@ -190,6 +190,7 @@ dso_name_valid_for_suid (const char *p) | 117 | @@ -190,6 +190,7 @@ dso_name_valid_for_suid (const char *p) |
diff --git a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch index 56eaaed4b7..b867ffde48 100644 --- a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch +++ b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3a94365c730d174a3c30c6d9282e6ca12d9ad091 Mon Sep 17 00:00:00 2001 | 1 | From 680ceb8bf43f07884674a08423b8a1c15d1a48b5 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 31 Dec 2015 14:35:35 -0800 | 3 | Date: Thu, 31 Dec 2015 14:35:35 -0800 |
4 | Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86 | 4 | Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86 |
diff --git a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch index 54c085a714..a1d4f07724 100644 --- a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch +++ b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 296bdde0683aa55cdea0fd0cab05ff8fbc462b17 Mon Sep 17 00:00:00 2001 | 1 | From 88c37776dca4603d6618fd7a12a055a15e2a519e Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 3 Aug 2018 09:55:12 -0700 | 3 | Date: Fri, 3 Aug 2018 09:55:12 -0700 |
4 | Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales | 4 | Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales |
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
19 | 4 files changed, 8 insertions(+), 7 deletions(-) | 19 | 4 files changed, 8 insertions(+), 7 deletions(-) |
20 | 20 | ||
21 | diff --git a/locale/findlocale.c b/locale/findlocale.c | 21 | diff --git a/locale/findlocale.c b/locale/findlocale.c |
22 | index 8d6e4e33e3..bfe74f241d 100644 | 22 | index 43ff7201c1..9684a4249b 100644 |
23 | --- a/locale/findlocale.c | 23 | --- a/locale/findlocale.c |
24 | +++ b/locale/findlocale.c | 24 | +++ b/locale/findlocale.c |
25 | @@ -55,7 +55,7 @@ struct __locale_data *const _nl_C[] attribute_hidden = | 25 | @@ -55,7 +55,7 @@ struct __locale_data *const _nl_C[] attribute_hidden = |
diff --git a/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch b/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch index 096764009a..09f64421ae 100644 --- a/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch +++ b/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 70da806febac8b2eead6ddc32451bbc1787a1d7d Mon Sep 17 00:00:00 2001 | 1 | From ab38fdad1d435b68ae2d178f2e5d24c77f4e8d98 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Mar 2021 14:48:56 -0800 | 3 | Date: Sat, 6 Mar 2021 14:48:56 -0800 |
4 | Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns | 4 | Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns |
diff --git a/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch b/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch index 364e5cfde8..b862b12d66 100644 --- a/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch +++ b/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 2192588942c5bc3b5fa10fc6d7433923f42e9ba0 Mon Sep 17 00:00:00 2001 | 1 | From cac7bbbc82423697f8d3223222db8b787b63f500 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:31:06 +0000 | 3 | Date: Wed, 18 Mar 2015 00:31:06 +0000 |
4 | Subject: [PATCH] 'yes' within the path sets wrong config variables | 4 | Subject: [PATCH] 'yes' within the path sets wrong config variables |
@@ -27,13 +27,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
27 | sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 8 ++++---- | 27 | sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 8 ++++---- |
28 | sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 8 ++++---- | 28 | sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 8 ++++---- |
29 | 12 files changed, 28 insertions(+), 28 deletions(-) | 29 | 12 files changed, 28 insertions(+), 28 deletions(-) |
30 | mode change 100644 => 100755 sysdeps/arm/configure | ||
31 | mode change 100644 => 100755 sysdeps/mips/configure | ||
32 | mode change 100644 => 100755 sysdeps/nios2/configure | ||
33 | mode change 100644 => 100755 sysdeps/unix/sysv/linux/mips/configure | ||
34 | mode change 100644 => 100755 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | ||
30 | 35 | ||
31 | diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure | 36 | diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure |
32 | index ca57edce47..5e91fab023 100644 | 37 | index 4bd5496a4a..6c051369fb 100755 |
33 | --- a/sysdeps/aarch64/configure | 38 | --- a/sysdeps/aarch64/configure |
34 | +++ b/sysdeps/aarch64/configure | 39 | +++ b/sysdeps/aarch64/configure |
35 | @@ -165,12 +165,12 @@ else $as_nop | 40 | @@ -157,12 +157,12 @@ else case e in #( |
36 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 41 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
37 | /* end confdefs.h. */ | 42 | /* end confdefs.h. */ |
38 | #ifdef __AARCH64EB__ | 43 | #ifdef __AARCH64EB__ |
39 | - yes | 44 | - yes |
@@ -42,13 +47,13 @@ index ca57edce47..5e91fab023 100644 | |||
42 | 47 | ||
43 | _ACEOF | 48 | _ACEOF |
44 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 49 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
45 | - $EGREP "yes" >/dev/null 2>&1 | 50 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 |
46 | + $EGREP "is_aarch64_be" >/dev/null 2>&1 | 51 | + $EGREP_TRADITIONAL "is_aarch64_be" >/dev/null 2>&1 |
47 | then : | 52 | then : |
48 | libc_cv_aarch64_be=yes | 53 | libc_cv_aarch64_be=yes |
49 | else $as_nop | 54 | else case e in #( |
50 | diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac | 55 | diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac |
51 | index 27874eceb4..8a708f2ef4 100644 | 56 | index 56d12d661d..80fca20873 100644 |
52 | --- a/sysdeps/aarch64/configure.ac | 57 | --- a/sysdeps/aarch64/configure.ac |
53 | +++ b/sysdeps/aarch64/configure.ac | 58 | +++ b/sysdeps/aarch64/configure.ac |
54 | @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) | 59 | @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) |
@@ -63,11 +68,13 @@ index 27874eceb4..8a708f2ef4 100644 | |||
63 | ], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)]) | 68 | ], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)]) |
64 | if test $libc_cv_aarch64_be = yes; then | 69 | if test $libc_cv_aarch64_be = yes; then |
65 | diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure | 70 | diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure |
66 | index 35e2918922..94d7fbe8bb 100644 | 71 | old mode 100644 |
72 | new mode 100755 | ||
73 | index 935e022c74..9f7c98bcd3 | ||
67 | --- a/sysdeps/arm/configure | 74 | --- a/sysdeps/arm/configure |
68 | +++ b/sysdeps/arm/configure | 75 | +++ b/sysdeps/arm/configure |
69 | @@ -161,12 +161,12 @@ else $as_nop | 76 | @@ -153,12 +153,12 @@ else case e in #( |
70 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 77 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
71 | /* end confdefs.h. */ | 78 | /* end confdefs.h. */ |
72 | #ifdef __ARM_PCS_VFP | 79 | #ifdef __ARM_PCS_VFP |
73 | - yes | 80 | - yes |
@@ -76,13 +83,13 @@ index 35e2918922..94d7fbe8bb 100644 | |||
76 | 83 | ||
77 | _ACEOF | 84 | _ACEOF |
78 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 85 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
79 | - $EGREP "yes" >/dev/null 2>&1 | 86 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 |
80 | + $EGREP "use_arm_pcs_vfp" >/dev/null 2>&1 | 87 | + $EGREP_TRADITIONAL "use_arm_pcs_vfp" >/dev/null 2>&1 |
81 | then : | 88 | then : |
82 | libc_cv_arm_pcs_vfp=yes | 89 | libc_cv_arm_pcs_vfp=yes |
83 | else $as_nop | 90 | else case e in #( |
84 | diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac | 91 | diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac |
85 | index 5172e30bbe..f06dedd7c5 100644 | 92 | index cd00ddc9d9..d3831867ac 100644 |
86 | --- a/sysdeps/arm/configure.ac | 93 | --- a/sysdeps/arm/configure.ac |
87 | +++ b/sysdeps/arm/configure.ac | 94 | +++ b/sysdeps/arm/configure.ac |
88 | @@ -10,8 +10,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. | 95 | @@ -10,8 +10,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. |
@@ -97,10 +104,12 @@ index 5172e30bbe..f06dedd7c5 100644 | |||
97 | ], libc_cv_arm_pcs_vfp=yes, libc_cv_arm_pcs_vfp=no)]) | 104 | ], libc_cv_arm_pcs_vfp=yes, libc_cv_arm_pcs_vfp=no)]) |
98 | if test $libc_cv_arm_pcs_vfp = yes; then | 105 | if test $libc_cv_arm_pcs_vfp = yes; then |
99 | diff --git a/sysdeps/mips/configure b/sysdeps/mips/configure | 106 | diff --git a/sysdeps/mips/configure b/sysdeps/mips/configure |
100 | index 1e8c6711e6..ae52ccd929 100644 | 107 | old mode 100644 |
108 | new mode 100755 | ||
109 | index 60dbd947e2..e3d10d7b96 | ||
101 | --- a/sysdeps/mips/configure | 110 | --- a/sysdeps/mips/configure |
102 | +++ b/sysdeps/mips/configure | 111 | +++ b/sysdeps/mips/configure |
103 | @@ -158,11 +158,11 @@ else $as_nop | 112 | @@ -150,11 +150,11 @@ else case e in #( |
104 | /* end confdefs.h. */ | 113 | /* end confdefs.h. */ |
105 | dnl | 114 | dnl |
106 | #ifdef __mips_nan2008 | 115 | #ifdef __mips_nan2008 |
@@ -109,11 +118,11 @@ index 1e8c6711e6..ae52ccd929 100644 | |||
109 | #endif | 118 | #endif |
110 | _ACEOF | 119 | _ACEOF |
111 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 120 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
112 | - $EGREP "yes" >/dev/null 2>&1 | 121 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 |
113 | + $EGREP "use_mips_nan2008" >/dev/null 2>&1 | 122 | + $EGREP_TRADITIONAL "use_mips_nan2008" >/dev/null 2>&1 |
114 | then : | 123 | then : |
115 | libc_cv_mips_nan2008=yes | 124 | libc_cv_mips_nan2008=yes |
116 | else $as_nop | 125 | else case e in #( |
117 | diff --git a/sysdeps/mips/configure.ac b/sysdeps/mips/configure.ac | 126 | diff --git a/sysdeps/mips/configure.ac b/sysdeps/mips/configure.ac |
118 | index d3cd780d78..250223d206 100644 | 127 | index d3cd780d78..250223d206 100644 |
119 | --- a/sysdeps/mips/configure.ac | 128 | --- a/sysdeps/mips/configure.ac |
@@ -131,11 +140,13 @@ index d3cd780d78..250223d206 100644 | |||
131 | if test x$libc_cv_mips_nan2008 = xyes; then | 140 | if test x$libc_cv_mips_nan2008 = xyes; then |
132 | AC_DEFINE(HAVE_MIPS_NAN2008) | 141 | AC_DEFINE(HAVE_MIPS_NAN2008) |
133 | diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure | 142 | diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure |
134 | index 2fb230cbaa..1959d0a444 100644 | 143 | old mode 100644 |
144 | new mode 100755 | ||
145 | index d25684d5ad..5801978aee | ||
135 | --- a/sysdeps/nios2/configure | 146 | --- a/sysdeps/nios2/configure |
136 | +++ b/sysdeps/nios2/configure | 147 | +++ b/sysdeps/nios2/configure |
137 | @@ -155,12 +155,12 @@ else $as_nop | 148 | @@ -147,12 +147,12 @@ else case e in #( |
138 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 149 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
139 | /* end confdefs.h. */ | 150 | /* end confdefs.h. */ |
140 | #ifdef __nios2_big_endian__ | 151 | #ifdef __nios2_big_endian__ |
141 | - yes | 152 | - yes |
@@ -144,11 +155,11 @@ index 2fb230cbaa..1959d0a444 100644 | |||
144 | 155 | ||
145 | _ACEOF | 156 | _ACEOF |
146 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 157 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
147 | - $EGREP "yes" >/dev/null 2>&1 | 158 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 |
148 | + $EGREP "is_nios2_be" >/dev/null 2>&1 | 159 | + $EGREP_TRADITIONAL "is_nios2_be" >/dev/null 2>&1 |
149 | then : | 160 | then : |
150 | libc_cv_nios2_be=yes | 161 | libc_cv_nios2_be=yes |
151 | else $as_nop | 162 | else case e in #( |
152 | diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac | 163 | diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac |
153 | index f738e9a7ed..4085851cbc 100644 | 164 | index f738e9a7ed..4085851cbc 100644 |
154 | --- a/sysdeps/nios2/configure.ac | 165 | --- a/sysdeps/nios2/configure.ac |
@@ -165,10 +176,12 @@ index f738e9a7ed..4085851cbc 100644 | |||
165 | ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) | 176 | ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) |
166 | if test $libc_cv_nios2_be = yes; then | 177 | if test $libc_cv_nios2_be = yes; then |
167 | diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure | 178 | diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure |
168 | index a060901de4..0ac7019438 100644 | 179 | old mode 100644 |
180 | new mode 100755 | ||
181 | index 6e3402c111..a23f24ef8e | ||
169 | --- a/sysdeps/unix/sysv/linux/mips/configure | 182 | --- a/sysdeps/unix/sysv/linux/mips/configure |
170 | +++ b/sysdeps/unix/sysv/linux/mips/configure | 183 | +++ b/sysdeps/unix/sysv/linux/mips/configure |
171 | @@ -441,11 +441,11 @@ else $as_nop | 184 | @@ -443,11 +443,11 @@ else case e in #( |
172 | /* end confdefs.h. */ | 185 | /* end confdefs.h. */ |
173 | dnl | 186 | dnl |
174 | #ifdef __mips_nan2008 | 187 | #ifdef __mips_nan2008 |
@@ -177,11 +190,11 @@ index a060901de4..0ac7019438 100644 | |||
177 | #endif | 190 | #endif |
178 | _ACEOF | 191 | _ACEOF |
179 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 192 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
180 | - $EGREP "yes" >/dev/null 2>&1 | 193 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 |
181 | + $EGREP "use_mips_nan2008" >/dev/null 2>&1 | 194 | + $EGREP_TRADITIONAL "use_mips_nan2008" >/dev/null 2>&1 |
182 | then : | 195 | then : |
183 | libc_cv_mips_nan2008=yes | 196 | libc_cv_mips_nan2008=yes |
184 | else $as_nop | 197 | else case e in #( |
185 | diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac | 198 | diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac |
186 | index 049a0f4bdf..005526d4e8 100644 | 199 | index 049a0f4bdf..005526d4e8 100644 |
187 | --- a/sysdeps/unix/sysv/linux/mips/configure.ac | 200 | --- a/sysdeps/unix/sysv/linux/mips/configure.ac |
@@ -199,11 +212,13 @@ index 049a0f4bdf..005526d4e8 100644 | |||
199 | 212 | ||
200 | libc_mips_nan= | 213 | libc_mips_nan= |
201 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 214 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure |
202 | index cf1b70c745..0dccf6cd76 100644 | 215 | old mode 100644 |
216 | new mode 100755 | ||
217 | index 5dd70689fc..7d6c2322d3 | ||
203 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 218 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure |
204 | +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 219 | +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure |
205 | @@ -168,12 +168,12 @@ else $as_nop | 220 | @@ -160,12 +160,12 @@ else case e in #( |
206 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 221 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
207 | /* end confdefs.h. */ | 222 | /* end confdefs.h. */ |
208 | #if _CALL_ELF == 2 | 223 | #if _CALL_ELF == 2 |
209 | - yes | 224 | - yes |
@@ -212,13 +227,13 @@ index cf1b70c745..0dccf6cd76 100644 | |||
212 | 227 | ||
213 | _ACEOF | 228 | _ACEOF |
214 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 229 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
215 | - $EGREP "yes" >/dev/null 2>&1 | 230 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 |
216 | + $EGREP "use_ppc_elfv2_abi" >/dev/null 2>&1 | 231 | + $EGREP_TRADITIONAL "use_ppc_elfv2_abi" >/dev/null 2>&1 |
217 | then : | 232 | then : |
218 | libc_cv_ppc64_elfv2_abi=yes | 233 | libc_cv_ppc64_elfv2_abi=yes |
219 | else $as_nop | 234 | else case e in #( |
220 | @@ -203,12 +203,12 @@ else $as_nop | 235 | @@ -197,12 +197,12 @@ else case e in #( |
221 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 236 | e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
222 | /* end confdefs.h. */ | 237 | /* end confdefs.h. */ |
223 | #ifdef _CALL_ELF | 238 | #ifdef _CALL_ELF |
224 | - yes | 239 | - yes |
@@ -227,11 +242,11 @@ index cf1b70c745..0dccf6cd76 100644 | |||
227 | 242 | ||
228 | _ACEOF | 243 | _ACEOF |
229 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 244 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
230 | - $EGREP "yes" >/dev/null 2>&1 | 245 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 |
231 | + $EGREP "is_def_call_elf" >/dev/null 2>&1 | 246 | + $EGREP_TRADITIONAL "is_def_call_elf" >/dev/null 2>&1 |
232 | then : | 247 | then : |
233 | libc_cv_ppc64_def_call_elf=yes | 248 | libc_cv_ppc64_def_call_elf=yes |
234 | else $as_nop | 249 | else case e in #( |
235 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 250 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac |
236 | index f9cba6e15d..b21f72f1e4 100644 | 251 | index f9cba6e15d..b21f72f1e4 100644 |
237 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 252 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac |
diff --git a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch index d7f15c1cfa..8b79916b81 100644 --- a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch +++ b/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ce8b13bdf488058754fce573754cea0b022c37e2 Mon Sep 17 00:00:00 2001 | 1 | From 8216e0927262392f3b60a5cc5592d39c9f18ef3c Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:42:58 +0000 | 3 | Date: Wed, 18 Mar 2015 00:42:58 +0000 |
4 | Subject: [PATCH] eglibc: Cross building and testing instructions | 4 | Subject: [PATCH] eglibc: Cross building and testing instructions |
diff --git a/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch b/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch index 82a3292655..0275133790 100644 --- a/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch +++ b/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 65b79161b9e2848a174d3519a03348884f182975 Mon Sep 17 00:00:00 2001 | 1 | From bd4b95bcc335599e736a3554112f1e912a79542b Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:49:28 +0000 | 3 | Date: Wed, 18 Mar 2015 00:49:28 +0000 |
4 | Subject: [PATCH] eglibc: Help bootstrap cross toolchain | 4 | Subject: [PATCH] eglibc: Help bootstrap cross toolchain |
@@ -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 | ||
31 | diff --git a/Makefile b/Makefile | 31 | diff --git a/Makefile b/Makefile |
32 | index 7052b46df8..46073abaa8 100644 | 32 | index c84f266ce7..790c717958 100644 |
33 | --- a/Makefile | 33 | --- a/Makefile |
34 | +++ b/Makefile | 34 | +++ b/Makefile |
35 | @@ -79,9 +79,18 @@ subdir-dirs = include | 35 | @@ -79,9 +79,18 @@ subdir-dirs = include |
diff --git a/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch index e726a9e76f..91e52a0db9 100644 --- a/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch +++ b/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 07a5fa22a9a8bbd43982c1b35132f8c2d5276bfe Mon Sep 17 00:00:00 2001 | 1 | From ab08ea10e9bc8a91f83fea12ccf40abf1a150326 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:55:53 +0000 | 3 | Date: Wed, 18 Mar 2015 00:55:53 +0000 |
4 | Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4 | 4 | Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4 |
diff --git a/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch b/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch index f36b7f6f4c..ae14ba82db 100644 --- a/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch +++ b/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 33e9867758e830e19d181d5a0aa7f2f3cc4a08b3 Mon Sep 17 00:00:00 2001 | 1 | From ae0b0897228da4c8815061fe57d9b31c2b742dbc Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:33:49 +0000 | 3 | Date: Wed, 18 Mar 2015 01:33:49 +0000 |
4 | Subject: [PATCH] eglibc: Forward port cross locale generation support | 4 | Subject: [PATCH] eglibc: Forward port cross locale generation support |
diff --git a/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch b/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch index daeff7b065..94d5abf72f 100644 --- a/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch +++ b/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f4b1d6429298c0f8a2aa29ff559eb2093ea0188f Mon Sep 17 00:00:00 2001 | 1 | From ccac9ff221fa08dbe330ae75a570da33edaaac4e Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 3 Aug 2018 09:42:06 -0700 | 3 | Date: Fri, 3 Aug 2018 09:42:06 -0700 |
4 | Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path | 4 | Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path |
diff --git a/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch b/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch index 8dd1f0a656..51d152f8c0 100644 --- a/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch +++ b/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 2d064c0c1243ea0bf405909285d7cddca92cf097 Mon Sep 17 00:00:00 2001 | 1 | From e79835037312f8d58c8c555e1ebf5746e09d10cd Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Aug 2020 14:31:16 -0700 | 3 | Date: Fri, 7 Aug 2020 14:31:16 -0700 |
4 | Subject: [PATCH] powerpc: Do not ask compiler for finding arch | 4 | Subject: [PATCH] powerpc: Do not ask compiler for finding arch |
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
15 | 2 files changed, 2 insertions(+), 8 deletions(-) | 15 | 2 files changed, 2 insertions(+), 8 deletions(-) |
16 | 16 | ||
17 | diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure | 17 | diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure |
18 | index 4de94089a3..428ad7b162 100644 | 18 | index 9e5a07ab6d..a308bdd863 100644 |
19 | --- a/sysdeps/powerpc/preconfigure | 19 | --- a/sysdeps/powerpc/preconfigure |
20 | +++ b/sysdeps/powerpc/preconfigure | 20 | +++ b/sysdeps/powerpc/preconfigure |
21 | @@ -29,10 +29,7 @@ esac | 21 | @@ -29,10 +29,7 @@ esac |
@@ -31,7 +31,7 @@ index 4de94089a3..428ad7b162 100644 | |||
31 | # directory exists in sysdeps/powerpc. Likewise, if we find a | 31 | # directory exists in sysdeps/powerpc. Likewise, if we find a |
32 | # cpu, don't let the generic configure append extra compiler options. | 32 | # cpu, don't let the generic configure append extra compiler options. |
33 | diff --git a/sysdeps/powerpc/preconfigure.ac b/sysdeps/powerpc/preconfigure.ac | 33 | diff --git a/sysdeps/powerpc/preconfigure.ac b/sysdeps/powerpc/preconfigure.ac |
34 | index 6c63bd8257..3e925f1d48 100644 | 34 | index 14b6dafd4a..1acc6a457c 100644 |
35 | --- a/sysdeps/powerpc/preconfigure.ac | 35 | --- a/sysdeps/powerpc/preconfigure.ac |
36 | +++ b/sysdeps/powerpc/preconfigure.ac | 36 | +++ b/sysdeps/powerpc/preconfigure.ac |
37 | @@ -29,10 +29,7 @@ esac | 37 | @@ -29,10 +29,7 @@ esac |
diff --git a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch b/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch index 9bdfa76318..d269b6f0af 100644 --- a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch +++ b/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b1c374f7ede81a98f2d02def2c7ca17f1001f7cb Mon Sep 17 00:00:00 2001 | 1 | From 3be9d4a66f83a64b26ffa0869385e4a0f623dd44 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 15 May 2020 17:05:45 -0700 | 3 | Date: Fri, 15 May 2020 17:05:45 -0700 |
4 | Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64 | 4 | Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64 |
@@ -11,15 +11,14 @@ Upstream-Status: Inappropriate [ OE-Specific ] | |||
11 | 11 | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
13 | --- | 13 | --- |
14 | sysdeps/aarch64/bits/wordsize.h | 11 +++++++++-- | 14 | sysdeps/aarch64/bits/wordsize.h | 8 ++++++-- |
15 | sysdeps/arm/bits/wordsize.h | 22 +--------------------- | 15 | 1 file changed, 6 insertions(+), 2 deletions(-) |
16 | 2 files changed, 10 insertions(+), 23 deletions(-) | ||
17 | 16 | ||
18 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h | 17 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h |
19 | index 118e59172d..ff86359fe8 100644 | 18 | index 118e59172d..b4b0692eb5 100644 |
20 | --- a/sysdeps/aarch64/bits/wordsize.h | 19 | --- a/sysdeps/aarch64/bits/wordsize.h |
21 | +++ b/sysdeps/aarch64/bits/wordsize.h | 20 | +++ b/sysdeps/aarch64/bits/wordsize.h |
22 | @@ -17,12 +17,19 @@ | 21 | @@ -17,12 +17,16 @@ |
23 | License along with the GNU C Library; if not, see | 22 | License along with the GNU C Library; if not, see |
24 | <https://www.gnu.org/licenses/>. */ | 23 | <https://www.gnu.org/licenses/>. */ |
25 | 24 | ||
@@ -32,47 +31,9 @@ index 118e59172d..ff86359fe8 100644 | |||
32 | # define __WORDSIZE32_SIZE_ULONG 1 | 31 | # define __WORDSIZE32_SIZE_ULONG 1 |
33 | # define __WORDSIZE32_PTRDIFF_LONG 1 | 32 | # define __WORDSIZE32_PTRDIFF_LONG 1 |
34 | +#else | 33 | +#else |
35 | +#define __WORDSIZE 32 | 34 | +# define __WORDSIZE 32 |
36 | +#define __WORDSIZE_TIME64_COMPAT32 1 | 35 | +# define __WORDSIZE32_SIZE_ULONG 0 |
37 | +#define __WORDSIZE32_SIZE_ULONG 0 | 36 | +# define __WORDSIZE32_PTRDIFF_LONG 0 |
38 | +#define __WORDSIZE32_PTRDIFF_LONG 0 | ||
39 | #endif | 37 | #endif |
40 | 38 | ||
41 | +#ifdef __aarch64__ | ||
42 | #define __WORDSIZE_TIME64_COMPAT32 0 | 39 | #define __WORDSIZE_TIME64_COMPAT32 0 |
43 | +#endif | ||
44 | diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h | ||
45 | deleted file mode 100644 | ||
46 | index 6ecbfe7c86..0000000000 | ||
47 | --- a/sysdeps/arm/bits/wordsize.h | ||
48 | +++ /dev/null | ||
49 | @@ -1,21 +0,0 @@ | ||
50 | -/* Copyright (C) 1999-2024 Free Software Foundation, Inc. | ||
51 | - This file is part of the GNU C Library. | ||
52 | - | ||
53 | - The GNU C Library is free software; you can redistribute it and/or | ||
54 | - modify it under the terms of the GNU Lesser General Public | ||
55 | - License as published by the Free Software Foundation; either | ||
56 | - version 2.1 of the License, or (at your option) any later version. | ||
57 | - | ||
58 | - The GNU C Library is distributed in the hope that it will be useful, | ||
59 | - but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
60 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
61 | - Lesser General Public License for more details. | ||
62 | - | ||
63 | - You should have received a copy of the GNU Lesser General Public | ||
64 | - License along with the GNU C Library; if not, see | ||
65 | - <https://www.gnu.org/licenses/>. */ | ||
66 | - | ||
67 | -#define __WORDSIZE 32 | ||
68 | -#define __WORDSIZE_TIME64_COMPAT32 1 | ||
69 | -#define __WORDSIZE32_SIZE_ULONG 0 | ||
70 | -#define __WORDSIZE32_PTRDIFF_LONG 0 | ||
71 | diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h | ||
72 | new file mode 120000 | ||
73 | index 0000000000..4c4a788ec2 | ||
74 | --- /dev/null | ||
75 | +++ b/sysdeps/arm/bits/wordsize.h | ||
76 | @@ -0,0 +1 @@ | ||
77 | +../../aarch64/bits/wordsize.h | ||
78 | \ No newline at end of file | ||
diff --git a/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch index d8c0b1b4ad..ff60c00102 100644 --- a/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch +++ b/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0aac3b8ee5b13e289b6969da51de384443286a5b Mon Sep 17 00:00:00 2001 | 1 | From 0a29c4828c2440bf4768f4342480958a67d58954 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 31 Dec 2015 14:33:02 -0800 | 3 | Date: Thu, 31 Dec 2015 14:33:02 -0800 |
4 | Subject: [PATCH] Replace echo with printf builtin in nscd init script | 4 | Subject: [PATCH] Replace echo with printf builtin in nscd init script |
diff --git a/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch b/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch index c81f82f433..e4bc40b123 100644 --- a/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch +++ b/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7a25d4796411f22f824742092a4c2a08df99752d Mon Sep 17 00:00:00 2001 | 1 | From 1b1e654726931c27c86cf9c68371c32410f8d766 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:27:10 +0000 | 3 | Date: Wed, 18 Mar 2015 00:27:10 +0000 |
4 | Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its | 4 | Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its |
diff --git a/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch b/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch index d724c3e968..24dd4dad56 100644 --- a/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch +++ b/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6aa1b835d95482287851e02abd3a406cbd0ef8c7 Mon Sep 17 00:00:00 2001 | 1 | From 99aac9db31f52c3b59b32c424b26d881069aa5df Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 9 Dec 2021 15:14:42 -0800 | 3 | Date: Thu, 9 Dec 2021 15:14:42 -0800 |
4 | Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh | 4 | Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh |
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
14 | 2 files changed, 10 insertions(+) | 14 | 2 files changed, 10 insertions(+) |
15 | 15 | ||
16 | diff --git a/Makeconfig b/Makeconfig | 16 | diff --git a/Makeconfig b/Makeconfig |
17 | index 85e00cef94..643724108a 100644 | 17 | index 2d4343b604..1992e19c4e 100644 |
18 | --- a/Makeconfig | 18 | --- a/Makeconfig |
19 | +++ b/Makeconfig | 19 | +++ b/Makeconfig |
20 | @@ -309,6 +309,15 @@ ifndef sysincludedir | 20 | @@ -309,6 +309,15 @@ ifndef sysincludedir |
@@ -34,10 +34,10 @@ index 85e00cef94..643724108a 100644 | |||
34 | # Commands to install files. | 34 | # Commands to install files. |
35 | ifndef INSTALL_DATA | 35 | ifndef INSTALL_DATA |
36 | diff --git a/timezone/Makefile b/timezone/Makefile | 36 | diff --git a/timezone/Makefile b/timezone/Makefile |
37 | index d7acb387ba..ec79326f66 100644 | 37 | index cf4ef3bf7e..559b9a7e3d 100644 |
38 | --- a/timezone/Makefile | 38 | --- a/timezone/Makefile |
39 | +++ b/timezone/Makefile | 39 | +++ b/timezone/Makefile |
40 | @@ -136,6 +136,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make | 40 | @@ -143,6 +143,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make |
41 | -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ | 41 | -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ |
42 | -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ | 42 | -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ |
43 | -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \ | 43 | -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \ |
diff --git a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch b/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch index 08c60a271b..c294dda29d 100644 --- a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch +++ b/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ef47e6199986c4951e681ed74f064042db1ae2e1 Mon Sep 17 00:00:00 2001 | 1 | From 4c68d7aa739ebd997db43d73cf2a43b776969c89 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 15 Dec 2021 21:47:53 -0800 | 3 | Date: Wed, 15 Dec 2021 21:47:53 -0800 |
4 | Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter | 4 | Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter |
@@ -16,7 +16,7 @@ Cc: Paul Eggert <eggert@cs.ucla.edu> | |||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
17 | 17 | ||
18 | diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh | 18 | diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh |
19 | index 18fce27e24..cc08efb0fb 100755 | 19 | index 38941bbc55..588bcb9f06 100755 |
20 | --- a/timezone/tzselect.ksh | 20 | --- a/timezone/tzselect.ksh |
21 | +++ b/timezone/tzselect.ksh | 21 | +++ b/timezone/tzselect.ksh |
22 | @@ -1,4 +1,4 @@ | 22 | @@ -1,4 +1,4 @@ |
diff --git a/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch b/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch index d57dce125c..6f7b765acc 100644 --- a/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch +++ b/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7254706544be5100843fc0a332e836fccffc9ef1 Mon Sep 17 00:00:00 2001 | 1 | From 5352c59f08d8e5e1f44fb5834d6bbbd3a20bdd36 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Sun, 29 Aug 2021 20:49:16 +0800 | 3 | Date: Sun, 29 Aug 2021 20:49:16 +0800 |
4 | Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287] | 4 | Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287] |
diff --git a/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch b/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch index b527ddffc8..f8e73662e7 100644 --- a/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch +++ b/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d39779afc72d34f87f052097592008cc38e20615 Mon Sep 17 00:00:00 2001 | 1 | From 51694f72b7326d36e51214eb2af0be1d6831c7a4 Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | Date: Sun, 24 Jul 2022 07:07:29 -0700 | 3 | Date: Sun, 24 Jul 2022 07:07:29 -0700 |
4 | Subject: [PATCH] Avoid hardcoded build time paths in the output binaries | 4 | Subject: [PATCH] Avoid hardcoded build time paths in the output binaries |
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
14 | 1 file changed, 3 insertions(+), 3 deletions(-) | 14 | 1 file changed, 3 insertions(+), 3 deletions(-) |
15 | 15 | ||
16 | diff --git a/support/Makefile b/support/Makefile | 16 | diff --git a/support/Makefile b/support/Makefile |
17 | index 362a51f882..56d2b37058 100644 | 17 | index aa57207bdc..3c66cec6c8 100644 |
18 | --- a/support/Makefile | 18 | --- a/support/Makefile |
19 | +++ b/support/Makefile | 19 | +++ b/support/Makefile |
20 | @@ -228,9 +228,9 @@ libsupport-inhibit-o += .o | 20 | @@ -229,9 +229,9 @@ libsupport-inhibit-o += .o |
21 | endif | 21 | endif |
22 | 22 | ||
23 | CFLAGS-support_paths.c = \ | 23 | CFLAGS-support_paths.c = \ |
diff --git a/meta/recipes-core/glibc/glibc/0023-qemu-stale-process.patch b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch index c0a467fcec..256dab45f9 100644 --- a/meta/recipes-core/glibc/glibc/0023-qemu-stale-process.patch +++ b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch | |||
@@ -1,4 +1,7 @@ | |||
1 | glibc: Skip 2 qemu tests that can hang in oe-selftest | 1 | From 19795af92830251dd03943bda4825def5bf774c4 Mon Sep 17 00:00:00 2001 |
2 | From: Yash Shinde <Yash.Shinde@windriver.com> | ||
3 | Date: Fri, 5 Apr 2024 08:24:36 -0700 | ||
4 | Subject: [PATCH] tests: Skip 2 qemu tests that can hang in oe-selftest | ||
2 | 5 | ||
3 | qemumips and qemuppc were leaving stale processes behind after | 6 | qemumips and qemuppc were leaving stale processes behind after |
4 | running glibc oe-selftest. During analysis, it was found that | 7 | running glibc oe-selftest. During analysis, it was found that |
@@ -9,12 +12,18 @@ Disable them so that there are no stale processes left behind. | |||
9 | https://bugzilla.yoctoproject.org/show_bug.cgi?id=15423 | 12 | https://bugzilla.yoctoproject.org/show_bug.cgi?id=15423 |
10 | 13 | ||
11 | Upstream-Status: Inappropriate [oe-core specific] | 14 | Upstream-Status: Inappropriate [oe-core specific] |
15 | |||
12 | Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> | 16 | Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> |
17 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | 18 | --- |
14 | diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile | 19 | sysdeps/unix/sysv/linux/Makefile | 6 ++++-- |
15 | --- a/sysdeps/unix/sysv/linux/Makefile 2024-03-18 01:15:49.019202881 -0700 | 20 | 1 file changed, 4 insertions(+), 2 deletions(-) |
16 | +++ b/sysdeps/unix/sysv/linux/Makefile 2024-03-14 06:26:18.581404107 -0700 | 21 | |
17 | @@ -222,7 +222,6 @@ | 22 | diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile |
23 | index ae66590e91..b2f0469273 100644 | ||
24 | --- a/sysdeps/unix/sysv/linux/Makefile | ||
25 | +++ b/sysdeps/unix/sysv/linux/Makefile | ||
26 | @@ -223,7 +223,6 @@ tests += \ | ||
18 | tst-process_mrelease \ | 27 | tst-process_mrelease \ |
19 | tst-quota \ | 28 | tst-quota \ |
20 | tst-rlimit-infinity \ | 29 | tst-rlimit-infinity \ |
@@ -22,16 +31,16 @@ diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefil | |||
22 | tst-sigtimedwait \ | 31 | tst-sigtimedwait \ |
23 | tst-sync_file_range \ | 32 | tst-sync_file_range \ |
24 | tst-sysconf-iov_max \ | 33 | tst-sysconf-iov_max \ |
25 | @@ -233,6 +232,8 @@ | 34 | @@ -234,6 +233,8 @@ tests += \ |
26 | tst-timerfd \ | 35 | tst-timerfd \ |
27 | tst-ttyname-direct \ | 36 | tst-ttyname-direct \ |
28 | tst-ttyname-namespace \ | 37 | tst-ttyname-namespace \ |
29 | + # Skip this test to avoid stale qemu process | 38 | + # Skip this test to avoid stale qemu process |
30 | + # tst-scm_rights \ | 39 | + # tst-scm_rights \ |
31 | # tests | 40 | # tests |
32 | 41 | ||
33 | # process_madvise requires CAP_SYS_ADMIN. | 42 | # process_madvise requires CAP_SYS_ADMIN. |
34 | @@ -270,9 +271,10 @@ | 43 | @@ -271,9 +272,10 @@ tests-time64 += \ |
35 | tst-ntp_gettimex-time64 \ | 44 | tst-ntp_gettimex-time64 \ |
36 | tst-ppoll-time64 \ | 45 | tst-ppoll-time64 \ |
37 | tst-prctl-time64 \ | 46 | tst-prctl-time64 \ |
@@ -41,5 +50,5 @@ diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefil | |||
41 | + # Skip this test to avoid stale qemu process | 50 | + # Skip this test to avoid stale qemu process |
42 | + # tst-scm_rights-time64 \ | 51 | + # tst-scm_rights-time64 \ |
43 | # tests-time64 | 52 | # tests-time64 |
44 | 53 | ||
45 | tests-clone-internal = \ | 54 | tests-clone-internal = \ |
diff --git a/meta/recipes-core/glibc/glibc_2.39.bb b/meta/recipes-core/glibc/glibc_2.40.bb index 411d226ef6..86f9fb927e 100644 --- a/meta/recipes-core/glibc/glibc_2.39.bb +++ b/meta/recipes-core/glibc/glibc_2.40.bb | |||
@@ -17,7 +17,7 @@ Allows for ASLR bypass so can bypass some hardening, not an exploit in itself, m | |||
17 | easier access for another. 'ASLR bypass itself is not a vulnerability.'" | 17 | easier access for another. 'ASLR bypass itself is not a vulnerability.'" |
18 | 18 | ||
19 | CVE_STATUS_GROUPS += "CVE_STATUS_STABLE_BACKPORTS" | 19 | CVE_STATUS_GROUPS += "CVE_STATUS_STABLE_BACKPORTS" |
20 | CVE_STATUS_STABLE_BACKPORTS = "CVE-2024-2961 CVE-2024-33599 CVE-2024-33600 CVE-2024-33601 CVE-2024-33602" | 20 | CVE_STATUS_STABLE_BACKPORTS = "" |
21 | CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" | 21 | CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" |
22 | 22 | ||
23 | DEPENDS += "gperf-native bison-native" | 23 | DEPENDS += "gperf-native bison-native" |
@@ -52,7 +52,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
52 | file://0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \ | 52 | file://0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \ |
53 | file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ | 53 | file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ |
54 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ | 54 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ |
55 | file://0023-qemu-stale-process.patch \ | 55 | file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \ |
56 | " | 56 | " |
57 | S = "${WORKDIR}/git" | 57 | S = "${WORKDIR}/git" |
58 | B = "${WORKDIR}/build-${TARGET_SYS}" | 58 | B = "${WORKDIR}/build-${TARGET_SYS}" |