diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-02-03 14:54:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-05 20:47:30 +0000 |
commit | df58350c798bc8d62fda6ead616071963b40e8f1 (patch) | |
tree | ab143239b8c9271680653e76f0d5bd6661f622d9 /meta/recipes-core/glibc | |
parent | edb60ef6fd49764174d140ccae04fca65db131e0 (diff) | |
download | poky-df58350c798bc8d62fda6ead616071963b40e8f1.tar.gz |
glibc: Upgrade to 2.37 release
Details are here [1] and summary of changes is here [2]
[1] https://sourceware.org/glibc/wiki/Release/2.37
[2] https://sourceware.org/pipermail/libc-announce/2023/000035.html
(From OE-Core rev: 1bba40755c8432bc654d1faa209727a6d68d9ba5)
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')
35 files changed, 100 insertions, 735 deletions
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.36.bb b/meta/recipes-core/glibc/cross-localedef-native_2.37.bb index f4ea76380e..e7261a644b 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.36.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.37.bb | |||
@@ -30,8 +30,8 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
30 | file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \ | 30 | file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \ |
31 | file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \ | 31 | file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \ |
32 | file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \ | 32 | file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \ |
33 | file://0019-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \ | 33 | file://0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \ |
34 | file://0021-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \ | 34 | file://0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \ |
35 | " | 35 | " |
36 | # Makes for a rather long rev (22 characters), but... | 36 | # Makes for a rather long rev (22 characters), but... |
37 | # | 37 | # |
diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index fba172d968..a1a0a5feb1 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.36" | 25 | PV = "2.37" |
diff --git a/meta/recipes-core/glibc/glibc-locale_2.36.bb b/meta/recipes-core/glibc/glibc-locale_2.37.bb index f7702e0358..f7702e0358 100644 --- a/meta/recipes-core/glibc/glibc-locale_2.36.bb +++ b/meta/recipes-core/glibc/glibc-locale_2.37.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.36.bb b/meta/recipes-core/glibc/glibc-mtrace_2.37.bb index 0b69bad46a..0b69bad46a 100644 --- a/meta/recipes-core/glibc/glibc-mtrace_2.36.bb +++ b/meta/recipes-core/glibc/glibc-mtrace_2.37.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.36.bb b/meta/recipes-core/glibc/glibc-scripts_2.37.bb index 5a89bd8022..5a89bd8022 100644 --- a/meta/recipes-core/glibc/glibc-scripts_2.36.bb +++ b/meta/recipes-core/glibc/glibc-scripts_2.37.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-tests_2.36.bb b/meta/recipes-core/glibc/glibc-tests_2.37.bb index bb6ef06162..bb6ef06162 100644 --- a/meta/recipes-core/glibc/glibc-tests_2.36.bb +++ b/meta/recipes-core/glibc/glibc-tests_2.37.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.36.bb b/meta/recipes-core/glibc/glibc-testsuite_2.37.bb index e8ad2a938b..e8ad2a938b 100644 --- a/meta/recipes-core/glibc/glibc-testsuite_2.36.bb +++ b/meta/recipes-core/glibc/glibc-testsuite_2.37.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index bd125ec401..bf6a8c9bd4 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.36/master" | 1 | SRCBRANCH ?= "release/2.37/master" |
2 | PV = "2.36" | 2 | PV = "2.37" |
3 | SRCREV_glibc ?= "c399271c10bd00714504e8d4dfbec8aebf996dd4" | 3 | SRCREV_glibc ?= "a704fd9a133bfb10510e18702f48a6a9c88dbbd5" |
4 | SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87" | 4 | SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87" |
5 | 5 | ||
6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" | 6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" |
diff --git a/meta/recipes-core/glibc/glibc/0001-Linux-Add-ppoll-fortify-symbol-for-64-bit-time_t-BZ-.patch b/meta/recipes-core/glibc/glibc/0001-Linux-Add-ppoll-fortify-symbol-for-64-bit-time_t-BZ-.patch deleted file mode 100644 index 678dc2af2c..0000000000 --- a/meta/recipes-core/glibc/glibc/0001-Linux-Add-ppoll-fortify-symbol-for-64-bit-time_t-BZ-.patch +++ /dev/null | |||
@@ -1,528 +0,0 @@ | |||
1 | From 69318192d16adc7d57adcd69fbbb1e3e107b2783 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adhemerval Zanella <adhemerval.zanella@linaro.org> | ||
3 | Date: Fri, 4 Nov 2022 16:02:52 -0300 | ||
4 | Subject: [PATCH] Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746) | ||
5 | |||
6 | Similar to ppoll, the poll.h header needs to redirect the poll call | ||
7 | to a proper fortified ppoll with 64 bit time_t support. | ||
8 | |||
9 | The implementation is straightforward, just need to add a similar | ||
10 | check as __poll_chk and call the 64 bit time_t ppoll version. The | ||
11 | debug fortify tests are also extended to cover 64 bit time_t for | ||
12 | affected ABIs. | ||
13 | |||
14 | Unfortunately it requires an aditional symbol, which makes backport | ||
15 | tricky. One possibility is to add a static inline version if compiler | ||
16 | supports is and call abort instead of __chk_fail, so fortified version | ||
17 | will call __poll64 in the end. | ||
18 | |||
19 | Another possibility is to just remove the fortify support for | ||
20 | _TIME_BITS=64. | ||
21 | |||
22 | Checked on i686-linux-gnu. | ||
23 | |||
24 | Upstream-Status: Backport | ||
25 | |||
26 | Signed-off-by: Ola Nilsson <olani@axis.com> | ||
27 | --- | ||
28 | debug/Makefile | 41 ++++++++++++------ | ||
29 | include/sys/poll.h | 5 ++- | ||
30 | io/bits/poll2.h | 25 +++++++++++ | ||
31 | sysdeps/unix/sysv/linux/Versions | 5 +++ | ||
32 | sysdeps/unix/sysv/linux/arm/be/libc.abilist | 1 + | ||
33 | sysdeps/unix/sysv/linux/arm/le/libc.abilist | 1 + | ||
34 | sysdeps/unix/sysv/linux/csky/libc.abilist | 1 + | ||
35 | sysdeps/unix/sysv/linux/hppa/libc.abilist | 1 + | ||
36 | sysdeps/unix/sysv/linux/i386/libc.abilist | 1 + | ||
37 | .../sysv/linux/m68k/coldfire/libc.abilist | 1 + | ||
38 | .../unix/sysv/linux/m68k/m680x0/libc.abilist | 1 + | ||
39 | .../sysv/linux/microblaze/be/libc.abilist | 1 + | ||
40 | .../sysv/linux/microblaze/le/libc.abilist | 1 + | ||
41 | .../sysv/linux/mips/mips32/fpu/libc.abilist | 1 + | ||
42 | .../sysv/linux/mips/mips32/nofpu/libc.abilist | 1 + | ||
43 | .../sysv/linux/mips/mips64/n32/libc.abilist | 1 + | ||
44 | sysdeps/unix/sysv/linux/nios2/libc.abilist | 1 + | ||
45 | .../linux/powerpc/powerpc32/fpu/libc.abilist | 1 + | ||
46 | .../powerpc/powerpc32/nofpu/libc.abilist | 1 + | ||
47 | sysdeps/unix/sysv/linux/ppoll.c | 3 +- | ||
48 | sysdeps/unix/sysv/linux/ppoll_chk.c | 42 +++++++++++++++++++ | ||
49 | .../unix/sysv/linux/s390/s390-32/libc.abilist | 1 + | ||
50 | sysdeps/unix/sysv/linux/sh/be/libc.abilist | 1 + | ||
51 | sysdeps/unix/sysv/linux/sh/le/libc.abilist | 1 + | ||
52 | .../sysv/linux/sparc/sparc32/libc.abilist | 1 + | ||
53 | 25 files changed, 125 insertions(+), 15 deletions(-) | ||
54 | create mode 100644 sysdeps/unix/sysv/linux/ppoll_chk.c | ||
55 | |||
56 | diff --git a/debug/Makefile b/debug/Makefile | ||
57 | index 456b349c4d..075a135a2b 100644 | ||
58 | --- a/debug/Makefile | ||
59 | +++ b/debug/Makefile | ||
60 | @@ -120,8 +120,10 @@ CPPFLAGS-tst-read-chk-cancel.c += -D_FORTIFY_SOURCE=2 | ||
61 | # CFLAGS for the file. | ||
62 | |||
63 | tests-all-chk = tst-fortify | ||
64 | -tests-c-chk = | ||
65 | -tests-cc-chk = | ||
66 | +tests-c-def-chk = | ||
67 | +tests-cc-def-chk = | ||
68 | +tests-c-time64-chk = | ||
69 | +tests-cc-time64-chk = | ||
70 | |||
71 | CFLAGS-tst-fortify.c += -Wno-format -Wno-deprecated-declarations -Wno-error | ||
72 | |||
73 | @@ -130,11 +132,11 @@ define cflags-default | ||
74 | endef | ||
75 | |||
76 | define cflags-lfs | ||
77 | -CFLAGS-tst-fortify-$(1)-lfs-$(2).$(1) += -D_FILE_OFFSET_BITS=64 | ||
78 | +CFLAGS-tst-fortify-$(1)-lfs-$(2)-$(3).$(1) += -D_FILE_OFFSET_BITS=64 | ||
79 | endef | ||
80 | |||
81 | define cflags-nongnu | ||
82 | -CFLAGS-tst-fortify-$(1)-nongnu-$(2).$(1) += -D_LARGEFILE64_SOURCE=1 | ||
83 | +CFLAGS-tst-fortify-$(1)-nongnu-$(2)-$(3).$(1) += -D_LARGEFILE64_SOURCE=1 | ||
84 | endef | ||
85 | |||
86 | src-chk-nongnu = \#undef _GNU_SOURCE | ||
87 | @@ -145,12 +147,12 @@ src-chk-nongnu = \#undef _GNU_SOURCE | ||
88 | # And they also generate warnings from warning attributes, which | ||
89 | # cannot be disabled via pragmas, so require -Wno-error to be used. | ||
90 | define gen-chk-test | ||
91 | -tests-$(1)-chk += tst-fortify-$(1)-$(2)-$(3) | ||
92 | -CFLAGS-tst-fortify-$(1)-$(2)-$(3).$(1) += -D_FORTIFY_SOURCE=$(3) -Wno-format \ | ||
93 | +tests-$(1)-$(4)-chk += tst-fortify-$(1)-$(2)-$(3)-$(4) | ||
94 | +CFLAGS-tst-fortify-$(1)-$(2)-$(3)-$(4).$(1) += -D_FORTIFY_SOURCE=$(3) -Wno-format \ | ||
95 | -Wno-deprecated-declarations \ | ||
96 | -Wno-error | ||
97 | -$(eval $(call cflags-$(2),$(1),$(3))) | ||
98 | -$(objpfx)tst-fortify-$(1)-$(2)-$(3).$(1): tst-fortify.c Makefile | ||
99 | +$(eval $(call cflags-$(2),$(1),$(3),$(4))) | ||
100 | +$(objpfx)tst-fortify-$(1)-$(2)-$(3)-$(4).$(1): tst-fortify.c Makefile | ||
101 | ( echo "/* Autogenerated from Makefile. */"; \ | ||
102 | echo "$(src-chk-$(2))"; \ | ||
103 | echo "#include \"tst-fortify.c\"" ) > $$@.tmp | ||
104 | @@ -159,19 +161,29 @@ endef | ||
105 | |||
106 | chk-extensions = c cc | ||
107 | chk-types = default lfs nongnu | ||
108 | +# 64 bit time_t implies LFS. | ||
109 | +chk-types-time64 = default nongnu | ||
110 | chk-levels = 1 2 3 | ||
111 | |||
112 | $(foreach e,$(chk-extensions), \ | ||
113 | $(foreach t,$(chk-types), \ | ||
114 | $(foreach l,$(chk-levels), \ | ||
115 | - $(eval $(call gen-chk-test,$(e),$(t),$(l)))))) | ||
116 | + $(eval $(call gen-chk-test,$(e),$(t),$(l),def))))) | ||
117 | |||
118 | -tests-all-chk += $(tests-c-chk) $(tests-cc-chk) | ||
119 | +tests-all-chk += $(tests-c-def-chk) $(tests-cc-def-chk) | ||
120 | + | ||
121 | +$(foreach e,$(chk-extensions), \ | ||
122 | + $(foreach t,$(chk-types-time64), \ | ||
123 | + $(foreach l,$(chk-levels), \ | ||
124 | + $(eval $(call gen-chk-test,$(e),$(t),$(l),time64))))) | ||
125 | + | ||
126 | +tests-all-time64-chk += $(tests-c-time64-chk) $(tests-cc-time64-chk) | ||
127 | |||
128 | define link-cc | ||
129 | LDLIBS-$(1) = -lstdc++ | ||
130 | endef | ||
131 | -$(foreach t,$(tests-cc-chk), $(eval $(call link-cc,$(t)))) | ||
132 | +$(foreach t,$(tests-cc-def-chk), $(eval $(call link-cc,$(t)))) | ||
133 | +$(foreach t,$(tests-cc-time64-chk), $(eval $(call link-cc,$(t)))) | ||
134 | |||
135 | # backtrace_symbols only works if we link with -rdynamic. backtrace | ||
136 | # requires unwind tables on most architectures. | ||
137 | @@ -201,6 +213,10 @@ tests = backtrace-tst \ | ||
138 | tst-realpath-chk \ | ||
139 | $(tests-all-chk) | ||
140 | |||
141 | +tests-time64 += \ | ||
142 | + $(tests-all-time64-chk) \ | ||
143 | + # tests-time64 | ||
144 | + | ||
145 | ifeq ($(have-ssp),yes) | ||
146 | tests += tst-ssp-1 | ||
147 | endif | ||
148 | @@ -210,7 +226,7 @@ tests += tst-read-chk-cancel | ||
149 | endif | ||
150 | |||
151 | ifeq (,$(CXX)) | ||
152 | -tests-unsupported = $(tests-cc-chk) | ||
153 | +tests-unsupported = $(tests-cc-def-chk) $(test-cc-time64-chk) | ||
154 | endif | ||
155 | |||
156 | extra-libs = libpcprofile | ||
157 | @@ -235,6 +251,7 @@ define chk-gen-locales | ||
158 | $(objpfx)$(1).out: $(gen-locales) | ||
159 | endef | ||
160 | $(foreach t, $(tests-all-chk), $(eval $(call chk-gen-locales,$(t)))) | ||
161 | +$(foreach t, $(tests-all-time64-chk), $(eval $(call chk-gen-locales,$(t)))) | ||
162 | endif | ||
163 | |||
164 | sLIBdir := $(shell echo $(slibdir) | sed 's,lib\(\|64\)$$,\\\\$$LIB,') | ||
165 | diff --git a/include/sys/poll.h b/include/sys/poll.h | ||
166 | index f904e21f89..228704fe79 100644 | ||
167 | --- a/include/sys/poll.h | ||
168 | +++ b/include/sys/poll.h | ||
169 | @@ -2,13 +2,16 @@ | ||
170 | # include <io/sys/poll.h> | ||
171 | |||
172 | #ifndef _ISOMAC | ||
173 | +#include <include/struct___timespec64.h> | ||
174 | + | ||
175 | extern int __poll (struct pollfd *__fds, unsigned long int __nfds, | ||
176 | int __timeout); | ||
177 | libc_hidden_proto (__poll) | ||
178 | libc_hidden_proto (ppoll) | ||
179 | |||
180 | # if __TIMESIZE == 64 | ||
181 | -# define __ppoll64 __ppoll | ||
182 | +# define __ppoll64 ppoll | ||
183 | +# define __ppoll64_chk __ppoll_chk | ||
184 | # else | ||
185 | # include <time.h> | ||
186 | # include <signal.h> | ||
187 | diff --git a/io/bits/poll2.h b/io/bits/poll2.h | ||
188 | index 3679d8451a..90f5574969 100644 | ||
189 | --- a/io/bits/poll2.h | ||
190 | +++ b/io/bits/poll2.h | ||
191 | @@ -43,6 +43,30 @@ poll (struct pollfd *__fds, nfds_t __nfds, int __timeout) | ||
192 | |||
193 | |||
194 | #ifdef __USE_GNU | ||
195 | +# ifdef __USE_TIME_BITS64 | ||
196 | +extern int __REDIRECT (__ppoll64_alias, (struct pollfd *__fds, nfds_t __nfds, | ||
197 | + const struct timespec *__timeout, | ||
198 | + const __sigset_t *__ss), __ppoll64); | ||
199 | +extern int __ppoll64_chk (struct pollfd *__fds, nfds_t __nfds, | ||
200 | + const struct timespec *__timeout, | ||
201 | + const __sigset_t *__ss, __SIZE_TYPE__ __fdslen) | ||
202 | + __attr_access ((__write_only__, 1, 2)); | ||
203 | +extern int __REDIRECT (__ppoll64_chk_warn, (struct pollfd *__fds, nfds_t __n, | ||
204 | + const struct timespec *__timeout, | ||
205 | + const __sigset_t *__ss, | ||
206 | + __SIZE_TYPE__ __fdslen), | ||
207 | + __ppoll64_chk) | ||
208 | + __warnattr ("ppoll called with fds buffer too small file nfds entries"); | ||
209 | + | ||
210 | +__fortify_function __fortified_attr_access (__write_only__, 1, 2) int | ||
211 | +ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, | ||
212 | + const __sigset_t *__ss) | ||
213 | +{ | ||
214 | + return __glibc_fortify (ppoll64, __nfds, sizeof (*__fds), | ||
215 | + __glibc_objsize (__fds), | ||
216 | + __fds, __nfds, __timeout, __ss); | ||
217 | +} | ||
218 | +# else | ||
219 | extern int __REDIRECT (__ppoll_alias, (struct pollfd *__fds, nfds_t __nfds, | ||
220 | const struct timespec *__timeout, | ||
221 | const __sigset_t *__ss), ppoll); | ||
222 | @@ -65,6 +89,7 @@ ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, | ||
223 | __glibc_objsize (__fds), | ||
224 | __fds, __nfds, __timeout, __ss); | ||
225 | } | ||
226 | +# endif | ||
227 | #endif | ||
228 | |||
229 | __END_DECLS | ||
230 | diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions | ||
231 | index 65d2ceda2c..ca6eb1a49e 100644 | ||
232 | --- a/sysdeps/unix/sysv/linux/Versions | ||
233 | +++ b/sysdeps/unix/sysv/linux/Versions | ||
234 | @@ -313,6 +313,11 @@ libc { | ||
235 | process_madvise; | ||
236 | process_mrelease; | ||
237 | } | ||
238 | + GLIBC_2.37 { | ||
239 | +%ifdef TIME64_NON_DEFAULT | ||
240 | + __ppoll64_chk; | ||
241 | +%endif | ||
242 | + } | ||
243 | GLIBC_PRIVATE { | ||
244 | # functions used in other libraries | ||
245 | __syscall_rt_sigqueueinfo; | ||
246 | diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist | ||
247 | index e0668a80cf..f28402fe03 100644 | ||
248 | --- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist | ||
249 | +++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist | ||
250 | @@ -513,6 +513,7 @@ GLIBC_2.36 pidfd_open F | ||
251 | GLIBC_2.36 pidfd_send_signal F | ||
252 | GLIBC_2.36 process_madvise F | ||
253 | GLIBC_2.36 process_mrelease F | ||
254 | +GLIBC_2.37 __ppoll64_chk F | ||
255 | GLIBC_2.4 _Exit F | ||
256 | GLIBC_2.4 _IO_2_1_stderr_ D 0xa0 | ||
257 | GLIBC_2.4 _IO_2_1_stdin_ D 0xa0 | ||
258 | diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist | ||
259 | index d28e7c60b7..e2f56880ed 100644 | ||
260 | --- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist | ||
261 | +++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist | ||
262 | @@ -510,6 +510,7 @@ GLIBC_2.36 pidfd_open F | ||
263 | GLIBC_2.36 pidfd_send_signal F | ||
264 | GLIBC_2.36 process_madvise F | ||
265 | GLIBC_2.36 process_mrelease F | ||
266 | +GLIBC_2.37 __ppoll64_chk F | ||
267 | GLIBC_2.4 _Exit F | ||
268 | GLIBC_2.4 _IO_2_1_stderr_ D 0xa0 | ||
269 | GLIBC_2.4 _IO_2_1_stdin_ D 0xa0 | ||
270 | diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist | ||
271 | index 922b05062f..319d92356e 100644 | ||
272 | --- a/sysdeps/unix/sysv/linux/csky/libc.abilist | ||
273 | +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist | ||
274 | @@ -2669,3 +2669,4 @@ GLIBC_2.36 pidfd_open F | ||
275 | GLIBC_2.36 pidfd_send_signal F | ||
276 | GLIBC_2.36 process_madvise F | ||
277 | GLIBC_2.36 process_mrelease F | ||
278 | +GLIBC_2.37 __ppoll64_chk F | ||
279 | diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist | ||
280 | index 412144f94c..6450e17ebe 100644 | ||
281 | --- a/sysdeps/unix/sysv/linux/hppa/libc.abilist | ||
282 | +++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist | ||
283 | @@ -2618,6 +2618,7 @@ GLIBC_2.36 pidfd_open F | ||
284 | GLIBC_2.36 pidfd_send_signal F | ||
285 | GLIBC_2.36 process_madvise F | ||
286 | GLIBC_2.36 process_mrelease F | ||
287 | +GLIBC_2.37 __ppoll64_chk F | ||
288 | GLIBC_2.4 __confstr_chk F | ||
289 | GLIBC_2.4 __fgets_chk F | ||
290 | GLIBC_2.4 __fgets_unlocked_chk F | ||
291 | diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist | ||
292 | index 134393900a..0a24ec9afd 100644 | ||
293 | --- a/sysdeps/unix/sysv/linux/i386/libc.abilist | ||
294 | +++ b/sysdeps/unix/sysv/linux/i386/libc.abilist | ||
295 | @@ -2802,6 +2802,7 @@ GLIBC_2.36 pidfd_open F | ||
296 | GLIBC_2.36 pidfd_send_signal F | ||
297 | GLIBC_2.36 process_madvise F | ||
298 | GLIBC_2.36 process_mrelease F | ||
299 | +GLIBC_2.37 __ppoll64_chk F | ||
300 | GLIBC_2.4 __confstr_chk F | ||
301 | GLIBC_2.4 __fgets_chk F | ||
302 | GLIBC_2.4 __fgets_unlocked_chk F | ||
303 | diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist | ||
304 | index 0604029c68..16243a7a92 100644 | ||
305 | --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist | ||
306 | +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist | ||
307 | @@ -514,6 +514,7 @@ GLIBC_2.36 pidfd_open F | ||
308 | GLIBC_2.36 pidfd_send_signal F | ||
309 | GLIBC_2.36 process_madvise F | ||
310 | GLIBC_2.36 process_mrelease F | ||
311 | +GLIBC_2.37 __ppoll64_chk F | ||
312 | GLIBC_2.4 _Exit F | ||
313 | GLIBC_2.4 _IO_2_1_stderr_ D 0x98 | ||
314 | GLIBC_2.4 _IO_2_1_stdin_ D 0x98 | ||
315 | diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist | ||
316 | index af2be5c80d..564a553b27 100644 | ||
317 | --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist | ||
318 | +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist | ||
319 | @@ -2745,6 +2745,7 @@ GLIBC_2.36 pidfd_open F | ||
320 | GLIBC_2.36 pidfd_send_signal F | ||
321 | GLIBC_2.36 process_madvise F | ||
322 | GLIBC_2.36 process_mrelease F | ||
323 | +GLIBC_2.37 __ppoll64_chk F | ||
324 | GLIBC_2.4 __confstr_chk F | ||
325 | GLIBC_2.4 __fgets_chk F | ||
326 | GLIBC_2.4 __fgets_unlocked_chk F | ||
327 | diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist | ||
328 | index e090b8d48f..e850f47b21 100644 | ||
329 | --- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist | ||
330 | +++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist | ||
331 | @@ -2718,3 +2718,4 @@ GLIBC_2.36 pidfd_open F | ||
332 | GLIBC_2.36 pidfd_send_signal F | ||
333 | GLIBC_2.36 process_madvise F | ||
334 | GLIBC_2.36 process_mrelease F | ||
335 | +GLIBC_2.37 __ppoll64_chk F | ||
336 | diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist | ||
337 | index 8c5b2db243..37178c503f 100644 | ||
338 | --- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist | ||
339 | +++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist | ||
340 | @@ -2715,3 +2715,4 @@ GLIBC_2.36 pidfd_open F | ||
341 | GLIBC_2.36 pidfd_send_signal F | ||
342 | GLIBC_2.36 process_madvise F | ||
343 | GLIBC_2.36 process_mrelease F | ||
344 | +GLIBC_2.37 __ppoll64_chk F | ||
345 | diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist | ||
346 | index 68847134a2..3b30b31466 100644 | ||
347 | --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist | ||
348 | +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist | ||
349 | @@ -2710,6 +2710,7 @@ GLIBC_2.36 pidfd_open F | ||
350 | GLIBC_2.36 pidfd_send_signal F | ||
351 | GLIBC_2.36 process_madvise F | ||
352 | GLIBC_2.36 process_mrelease F | ||
353 | +GLIBC_2.37 __ppoll64_chk F | ||
354 | GLIBC_2.4 __confstr_chk F | ||
355 | GLIBC_2.4 __fgets_chk F | ||
356 | GLIBC_2.4 __fgets_unlocked_chk F | ||
357 | diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist | ||
358 | index daa44e64fa..0e358570a2 100644 | ||
359 | --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist | ||
360 | +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist | ||
361 | @@ -2708,6 +2708,7 @@ GLIBC_2.36 pidfd_open F | ||
362 | GLIBC_2.36 pidfd_send_signal F | ||
363 | GLIBC_2.36 process_madvise F | ||
364 | GLIBC_2.36 process_mrelease F | ||
365 | +GLIBC_2.37 __ppoll64_chk F | ||
366 | GLIBC_2.4 __confstr_chk F | ||
367 | GLIBC_2.4 __fgets_chk F | ||
368 | GLIBC_2.4 __fgets_unlocked_chk F | ||
369 | diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist | ||
370 | index 6169188c96..59c598b98f 100644 | ||
371 | --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist | ||
372 | +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist | ||
373 | @@ -2716,6 +2716,7 @@ GLIBC_2.36 pidfd_open F | ||
374 | GLIBC_2.36 pidfd_send_signal F | ||
375 | GLIBC_2.36 process_madvise F | ||
376 | GLIBC_2.36 process_mrelease F | ||
377 | +GLIBC_2.37 __ppoll64_chk F | ||
378 | GLIBC_2.4 __confstr_chk F | ||
379 | GLIBC_2.4 __fgets_chk F | ||
380 | GLIBC_2.4 __fgets_unlocked_chk F | ||
381 | diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist | ||
382 | index 58e9b486b0..463e01ab84 100644 | ||
383 | --- a/sysdeps/unix/sysv/linux/nios2/libc.abilist | ||
384 | +++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist | ||
385 | @@ -2757,3 +2757,4 @@ GLIBC_2.36 pidfd_open F | ||
386 | GLIBC_2.36 pidfd_send_signal F | ||
387 | GLIBC_2.36 process_madvise F | ||
388 | GLIBC_2.36 process_mrelease F | ||
389 | +GLIBC_2.37 __ppoll64_chk F | ||
390 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist | ||
391 | index 8c9ca32cbe..405d40d11c 100644 | ||
392 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist | ||
393 | +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist | ||
394 | @@ -2772,6 +2772,7 @@ GLIBC_2.36 pidfd_open F | ||
395 | GLIBC_2.36 pidfd_send_signal F | ||
396 | GLIBC_2.36 process_madvise F | ||
397 | GLIBC_2.36 process_mrelease F | ||
398 | +GLIBC_2.37 __ppoll64_chk F | ||
399 | GLIBC_2.4 _IO_fprintf F | ||
400 | GLIBC_2.4 _IO_printf F | ||
401 | GLIBC_2.4 _IO_sprintf F | ||
402 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist | ||
403 | index 08a6604aab..ce89602b93 100644 | ||
404 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist | ||
405 | +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist | ||
406 | @@ -2805,6 +2805,7 @@ GLIBC_2.36 pidfd_open F | ||
407 | GLIBC_2.36 pidfd_send_signal F | ||
408 | GLIBC_2.36 process_madvise F | ||
409 | GLIBC_2.36 process_mrelease F | ||
410 | +GLIBC_2.37 __ppoll64_chk F | ||
411 | GLIBC_2.4 _IO_fprintf F | ||
412 | GLIBC_2.4 _IO_printf F | ||
413 | GLIBC_2.4 _IO_sprintf F | ||
414 | diff --git a/sysdeps/unix/sysv/linux/ppoll.c b/sysdeps/unix/sysv/linux/ppoll.c | ||
415 | index 1105e29b00..2e173b931d 100644 | ||
416 | --- a/sysdeps/unix/sysv/linux/ppoll.c | ||
417 | +++ b/sysdeps/unix/sysv/linux/ppoll.c | ||
418 | @@ -67,7 +67,7 @@ __ppoll64 (struct pollfd *fds, nfds_t nfds, const struct __timespec64 *timeout, | ||
419 | libc_hidden_def (__ppoll64) | ||
420 | |||
421 | int | ||
422 | -__ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, | ||
423 | +ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, | ||
424 | const sigset_t *sigmask) | ||
425 | { | ||
426 | struct __timespec64 ts64; | ||
427 | @@ -77,5 +77,4 @@ __ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, | ||
428 | return __ppoll64 (fds, nfds, timeout ? &ts64 : NULL, sigmask); | ||
429 | } | ||
430 | #endif | ||
431 | -strong_alias (__ppoll, ppoll) | ||
432 | libc_hidden_def (ppoll) | ||
433 | diff --git a/sysdeps/unix/sysv/linux/ppoll_chk.c b/sysdeps/unix/sysv/linux/ppoll_chk.c | ||
434 | new file mode 100644 | ||
435 | index 0000000000..65c4b56671 | ||
436 | --- /dev/null | ||
437 | +++ b/sysdeps/unix/sysv/linux/ppoll_chk.c | ||
438 | @@ -0,0 +1,42 @@ | ||
439 | +/* Fortify ppoll implementation. Linux version. | ||
440 | + Copyright (C) 2022 Free Software Foundation, Inc. | ||
441 | + This file is part of the GNU C Library. | ||
442 | + | ||
443 | + The GNU C Library is free software; you can redistribute it and/or | ||
444 | + modify it under the terms of the GNU Lesser General Public | ||
445 | + License as published by the Free Software Foundation; either | ||
446 | + version 2.1 of the License, or (at your option) any later version. | ||
447 | + | ||
448 | + The GNU C Library is distributed in the hope that it will be useful, | ||
449 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
450 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
451 | + Lesser General Public License for more details. | ||
452 | + | ||
453 | + You should have received a copy of the GNU Lesser General Public | ||
454 | + License along with the GNU C Library; if not, see | ||
455 | + <https://www.gnu.org/licenses/>. */ | ||
456 | + | ||
457 | +#include <poll.h> | ||
458 | + | ||
459 | +int | ||
460 | +__ppoll64_chk (struct pollfd *fds, nfds_t nfds, | ||
461 | + const struct __timespec64 *tmo, const __sigset_t *ss, | ||
462 | + __SIZE_TYPE__ fdslen) | ||
463 | +{ | ||
464 | + if (fdslen / sizeof (*fds) < nfds) | ||
465 | + __chk_fail (); | ||
466 | + | ||
467 | + return __ppoll64 (fds, nfds, tmo, ss); | ||
468 | +} | ||
469 | + | ||
470 | +#if __TIMESIZE != 64 | ||
471 | +int | ||
472 | +__ppoll_chk (struct pollfd *fds, nfds_t nfds, const struct timespec *tmo, | ||
473 | + const __sigset_t *ss, __SIZE_TYPE__ fdslen) | ||
474 | +{ | ||
475 | + if (fdslen / sizeof (*fds) < nfds) | ||
476 | + __chk_fail (); | ||
477 | + | ||
478 | + return ppoll (fds, nfds, tmo, ss); | ||
479 | +} | ||
480 | +#endif | ||
481 | diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist | ||
482 | index 009f22931e..5ca051a9eb 100644 | ||
483 | --- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist | ||
484 | +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist | ||
485 | @@ -2770,6 +2770,7 @@ GLIBC_2.36 pidfd_open F | ||
486 | GLIBC_2.36 pidfd_send_signal F | ||
487 | GLIBC_2.36 process_madvise F | ||
488 | GLIBC_2.36 process_mrelease F | ||
489 | +GLIBC_2.37 __ppoll64_chk F | ||
490 | GLIBC_2.4 _IO_fprintf F | ||
491 | GLIBC_2.4 _IO_printf F | ||
492 | GLIBC_2.4 _IO_sprintf F | ||
493 | diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist | ||
494 | index afb5bc37b1..5b48168ec6 100644 | ||
495 | --- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist | ||
496 | +++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist | ||
497 | @@ -2625,6 +2625,7 @@ GLIBC_2.36 pidfd_open F | ||
498 | GLIBC_2.36 pidfd_send_signal F | ||
499 | GLIBC_2.36 process_madvise F | ||
500 | GLIBC_2.36 process_mrelease F | ||
501 | +GLIBC_2.37 __ppoll64_chk F | ||
502 | GLIBC_2.4 __confstr_chk F | ||
503 | GLIBC_2.4 __fgets_chk F | ||
504 | GLIBC_2.4 __fgets_unlocked_chk F | ||
505 | diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist | ||
506 | index 2b53a3cf92..c42b39cea8 100644 | ||
507 | --- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist | ||
508 | +++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist | ||
509 | @@ -2622,6 +2622,7 @@ GLIBC_2.36 pidfd_open F | ||
510 | GLIBC_2.36 pidfd_send_signal F | ||
511 | GLIBC_2.36 process_madvise F | ||
512 | GLIBC_2.36 process_mrelease F | ||
513 | +GLIBC_2.37 __ppoll64_chk F | ||
514 | GLIBC_2.4 __confstr_chk F | ||
515 | GLIBC_2.4 __fgets_chk F | ||
516 | GLIBC_2.4 __fgets_unlocked_chk F | ||
517 | diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist | ||
518 | index 43b9844a99..5a0a662dee 100644 | ||
519 | --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist | ||
520 | +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist | ||
521 | @@ -2765,6 +2765,7 @@ GLIBC_2.36 pidfd_open F | ||
522 | GLIBC_2.36 pidfd_send_signal F | ||
523 | GLIBC_2.36 process_madvise F | ||
524 | GLIBC_2.36 process_mrelease F | ||
525 | +GLIBC_2.37 __ppoll64_chk F | ||
526 | GLIBC_2.4 _IO_fprintf F | ||
527 | GLIBC_2.4 _IO_printf F | ||
528 | GLIBC_2.4 _IO_sprintf F | ||
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 dfbd700c5f..0e2bbbc6a2 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 c6dca721df6dd8c39ffe16e61623516bd8742d39 Mon Sep 17 00:00:00 2001 | 1 | From 604a78e86ca374278fc5f3ce11b0abe1ff096b7e 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 57f1a36455..0fd8a0d57d 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 3e391efa9b179ae886dd0942202bd2a6698e2679 Mon Sep 17 00:00:00 2001 | 1 | From 85d14ae38fb9e7b46bb4b8f5f041e39a605ed81e 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 4eb23bd0e5..c6f1455ee1 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,4 +1,4 @@ | |||
1 | From a74ac72e6a25121c99f3875cf0245a435729e897 Mon Sep 17 00:00:00 2001 | 1 | From d1b745b6e4c6a755cceb92329227efce1547d5fc 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: Wed, 18 Mar 2015 01:48:24 +0000 |
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 |
@@ -30,7 +30,7 @@ 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 1ad0868dad..c5e235d918 100644 | 33 | index fcb39a78d4..cde9fc2358 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 | @@ -2109,6 +2109,14 @@ _dl_map_object (struct link_map *loader, const char *name, | 36 | @@ -2109,6 +2109,14 @@ _dl_map_object (struct link_map *loader, const char *name, |
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 7eaf70b780..8256a56245 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 d2f16ab250dbb93ae21e9e9286ddf696141db735 Mon Sep 17 00:00:00 2001 | 1 | From 3789e9ae4c208b2d97169a95cf3b1767e73b3856 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,7 +21,7 @@ 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 c5e235d918..ce3cbfa3c4 100644 | 24 | index cde9fc2358..e514bdcc21 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 | @@ -1809,7 +1809,19 @@ open_path (const char *name, size_t namelen, int mode, | 27 | @@ -1809,7 +1809,19 @@ open_path (const char *name, size_t namelen, int mode, |
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 1fb76202c5..2899c0b845 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 2d41508ed1059df2df9994d35d870be2005f575f Mon Sep 17 00:00:00 2001 | 1 | From 66e971a785aae80ba838a2604c679db70cbb8b3b 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 |
@@ -19,14 +19,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
19 | elf/dl-load.c | 4 ++-- | 19 | elf/dl-load.c | 4 ++-- |
20 | elf/dl-usage.c | 6 ++++-- | 20 | elf/dl-usage.c | 6 ++++-- |
21 | elf/interp.c | 2 +- | 21 | elf/interp.c | 2 +- |
22 | elf/ldconfig.c | 3 +++ | 22 | elf/ldconfig.c | 2 ++ |
23 | elf/rtld.c | 1 + | 23 | elf/rtld.c | 1 + |
24 | iconv/gconv_conf.c | 2 +- | 24 | iconv/gconv_conf.c | 2 +- |
25 | sysdeps/generic/dl-cache.h | 4 ---- | 25 | sysdeps/generic/dl-cache.h | 4 ---- |
26 | 8 files changed, 16 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 8bbf110d02..c02a95d9b5 100644 | 29 | index 07c054b11a..0fa36548b0 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 | @@ -352,6 +352,10 @@ search_cache (const char *string_table, uint32_t string_table_size, |
@@ -41,7 +41,7 @@ index 8bbf110d02..c02a95d9b5 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 ce3cbfa3c4..e116db24a1 100644 | 44 | index e514bdcc21..c43747a3a8 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 | @@ -117,8 +117,8 @@ enum { ncapstr = 1, max_capstrlen = 0 }; |
@@ -56,7 +56,7 @@ index ce3cbfa3c4..e116db24a1 100644 | |||
56 | SYSTEM_DIRS_LEN | 56 | SYSTEM_DIRS_LEN |
57 | }; | 57 | }; |
58 | diff --git a/elf/dl-usage.c b/elf/dl-usage.c | 58 | diff --git a/elf/dl-usage.c b/elf/dl-usage.c |
59 | index 98d8c98948..77ca98cbf9 100644 | 59 | index 53535c1583..3ba7d9d200 100644 |
60 | --- a/elf/dl-usage.c | 60 | --- a/elf/dl-usage.c |
61 | +++ b/elf/dl-usage.c | 61 | +++ b/elf/dl-usage.c |
62 | @@ -25,6 +25,8 @@ | 62 | @@ -25,6 +25,8 @@ |
@@ -68,7 +68,7 @@ index 98d8c98948..77ca98cbf9 100644 | |||
68 | void | 68 | void |
69 | _dl_usage (const char *argv0, const char *wrong_option) | 69 | _dl_usage (const char *argv0, const char *wrong_option) |
70 | { | 70 | { |
71 | @@ -244,7 +246,7 @@ setting environment variables (which would be inherited by subprocesses).\n\ | 71 | @@ -184,7 +186,7 @@ setting environment variables (which would be inherited by subprocesses).\n\ |
72 | --list list all dependencies and how they are resolved\n\ | 72 | --list list all dependencies and how they are resolved\n\ |
73 | --verify verify that given object really is a dynamically linked\n\ | 73 | --verify verify that given object really is a dynamically linked\n\ |
74 | object we can handle\n\ | 74 | object we can handle\n\ |
@@ -77,7 +77,7 @@ index 98d8c98948..77ca98cbf9 100644 | |||
77 | --library-path PATH use given PATH instead of content of the environment\n\ | 77 | --library-path PATH use given PATH instead of content of the environment\n\ |
78 | variable LD_LIBRARY_PATH\n\ | 78 | variable LD_LIBRARY_PATH\n\ |
79 | --glibc-hwcaps-prepend LIST\n\ | 79 | --glibc-hwcaps-prepend LIST\n\ |
80 | @@ -267,7 +269,7 @@ setting environment variables (which would be inherited by subprocesses).\n\ | 80 | @@ -207,7 +209,7 @@ setting environment variables (which would be inherited by subprocesses).\n\ |
81 | \n\ | 81 | \n\ |
82 | This program interpreter self-identifies as: " RTLD "\n\ | 82 | This program interpreter self-identifies as: " RTLD "\n\ |
83 | ", | 83 | ", |
@@ -85,9 +85,9 @@ index 98d8c98948..77ca98cbf9 100644 | |||
85 | + argv0, LD_SO_CACHE); | 85 | + argv0, LD_SO_CACHE); |
86 | print_search_path_for_help (state); | 86 | print_search_path_for_help (state); |
87 | print_hwcaps_subdirectories (state); | 87 | print_hwcaps_subdirectories (state); |
88 | print_legacy_hwcap_directories (); | 88 | _exit (EXIT_SUCCESS); |
89 | diff --git a/elf/interp.c b/elf/interp.c | 89 | diff --git a/elf/interp.c b/elf/interp.c |
90 | index d82af036d1..9d282b2769 100644 | 90 | index ae21ae0cb3..b168e6da66 100644 |
91 | --- a/elf/interp.c | 91 | --- a/elf/interp.c |
92 | +++ b/elf/interp.c | 92 | +++ b/elf/interp.c |
93 | @@ -18,5 +18,5 @@ | 93 | @@ -18,5 +18,5 @@ |
@@ -98,24 +98,23 @@ index d82af036d1..9d282b2769 100644 | |||
98 | +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) | 98 | +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) |
99 | = RUNTIME_LINKER; | 99 | = RUNTIME_LINKER; |
100 | diff --git a/elf/ldconfig.c b/elf/ldconfig.c | 100 | diff --git a/elf/ldconfig.c b/elf/ldconfig.c |
101 | index 9394ac6438..7f66b1a460 100644 | 101 | index 166dccb528..8dda23c92c 100644 |
102 | --- a/elf/ldconfig.c | 102 | --- a/elf/ldconfig.c |
103 | +++ b/elf/ldconfig.c | 103 | +++ b/elf/ldconfig.c |
104 | @@ -176,6 +176,9 @@ static struct argp argp = | 104 | @@ -150,6 +150,8 @@ static struct argp argp = |
105 | options, parse_opt, NULL, doc, NULL, more_help, NULL | 105 | options, parse_opt, NULL, doc, NULL, more_help, NULL |
106 | }; | 106 | }; |
107 | 107 | ||
108 | + | ||
109 | +extern const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache"))); | 108 | +extern const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache"))); |
110 | + | 109 | + |
111 | /* Check if string corresponds to an important hardware capability or | 110 | /* Handle program arguments. */ |
112 | a platform. */ | 111 | static error_t |
113 | static int | 112 | parse_opt (int key, char *arg, struct argp_state *state) |
114 | diff --git a/elf/rtld.c b/elf/rtld.c | 113 | diff --git a/elf/rtld.c b/elf/rtld.c |
115 | index cbbaf4a331..d2d27a0127 100644 | 114 | index b8467f37cf..be7bd08bc3 100644 |
116 | --- a/elf/rtld.c | 115 | --- a/elf/rtld.c |
117 | +++ b/elf/rtld.c | 116 | +++ b/elf/rtld.c |
118 | @@ -189,6 +189,7 @@ dso_name_valid_for_suid (const char *p) | 117 | @@ -190,6 +190,7 @@ dso_name_valid_for_suid (const char *p) |
119 | } | 118 | } |
120 | return *p != '\0'; | 119 | return *p != '\0'; |
121 | } | 120 | } |
@@ -124,7 +123,7 @@ index cbbaf4a331..d2d27a0127 100644 | |||
124 | static void | 123 | static void |
125 | audit_list_init (struct audit_list *list) | 124 | audit_list_init (struct audit_list *list) |
126 | diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c | 125 | diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c |
127 | index f069e28323..6288f715ba 100644 | 126 | index 21165a558a..3dd67b0ea2 100644 |
128 | --- a/iconv/gconv_conf.c | 127 | --- a/iconv/gconv_conf.c |
129 | +++ b/iconv/gconv_conf.c | 128 | +++ b/iconv/gconv_conf.c |
130 | @@ -35,7 +35,7 @@ | 129 | @@ -35,7 +35,7 @@ |
@@ -137,7 +136,7 @@ index f069e28323..6288f715ba 100644 | |||
137 | /* Type to represent search path. */ | 136 | /* Type to represent search path. */ |
138 | struct path_elem | 137 | struct path_elem |
139 | diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h | 138 | diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h |
140 | index 93d4bea930..5249176441 100644 | 139 | index bd39ff7fb7..38f9e2ad57 100644 |
141 | --- a/sysdeps/generic/dl-cache.h | 140 | --- a/sysdeps/generic/dl-cache.h |
142 | +++ b/sysdeps/generic/dl-cache.h | 141 | +++ b/sysdeps/generic/dl-cache.h |
143 | @@ -34,10 +34,6 @@ | 142 | @@ -34,10 +34,6 @@ |
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 c66bcf80c0..b0e3dbfa8a 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 946d1cadf0bb54216409e8e0eb09be3e96044dbf Mon Sep 17 00:00:00 2001 | 1 | From a9795b9aadcbc04ad0404badf722acb83ef0ab7b 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 |
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
17 | 1 file changed, 1 insertion(+), 6 deletions(-) | 17 | 1 file changed, 1 insertion(+), 6 deletions(-) |
18 | 18 | ||
19 | diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h | 19 | diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h |
20 | index f24f1c71ed..574487ca54 100644 | 20 | index 95663099e4..4d81efc51a 100644 |
21 | --- a/sysdeps/x86/atomic-machine.h | 21 | --- a/sysdeps/x86/atomic-machine.h |
22 | +++ b/sysdeps/x86/atomic-machine.h | 22 | +++ b/sysdeps/x86/atomic-machine.h |
23 | @@ -26,19 +26,14 @@ | 23 | @@ -26,19 +26,14 @@ |
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 dc24c0240e..2dac1f1061 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 ce4e796fa8bd2df962cf7a0e4bc69ab6181e4ebf Mon Sep 17 00:00:00 2001 | 1 | From 68e5df9a7750d7db2323824b1342483e9ecdddd4 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 fc433b61d8..d6f030f13c 100644 | 22 | index 1b7034348b..939d4fd613 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 = |
@@ -41,7 +41,7 @@ index fc433b61d8..d6f030f13c 100644 | |||
41 | else | 41 | else |
42 | /* We really have to load some data. First see whether the name is | 42 | /* We really have to load some data. First see whether the name is |
43 | diff --git a/locale/loadarchive.c b/locale/loadarchive.c | 43 | diff --git a/locale/loadarchive.c b/locale/loadarchive.c |
44 | index fcc4913319..62cae8c6c0 100644 | 44 | index 454bbc7eda..f904158182 100644 |
45 | --- a/locale/loadarchive.c | 45 | --- a/locale/loadarchive.c |
46 | +++ b/locale/loadarchive.c | 46 | +++ b/locale/loadarchive.c |
47 | @@ -42,7 +42,7 @@ | 47 | @@ -42,7 +42,7 @@ |
@@ -54,7 +54,7 @@ index fcc4913319..62cae8c6c0 100644 | |||
54 | /* Size of initial mapping window, optimal if large enough to | 54 | /* Size of initial mapping window, optimal if large enough to |
55 | cover the header plus the initial locale. */ | 55 | cover the header plus the initial locale. */ |
56 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h | 56 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h |
57 | index fd43033a19..3dc26272a0 100644 | 57 | index 66cad7a83b..b7b856f77f 100644 |
58 | --- a/locale/localeinfo.h | 58 | --- a/locale/localeinfo.h |
59 | +++ b/locale/localeinfo.h | 59 | +++ b/locale/localeinfo.h |
60 | @@ -347,7 +347,7 @@ _nl_lookup_word (locale_t l, int category, int item) | 60 | @@ -347,7 +347,7 @@ _nl_lookup_word (locale_t l, int category, int item) |
@@ -67,7 +67,7 @@ index fd43033a19..3dc26272a0 100644 | |||
67 | /* Load the locale data for CATEGORY from the file specified by *NAME. | 67 | /* Load the locale data for CATEGORY from the file specified by *NAME. |
68 | If *NAME is "", use environment variables as specified by POSIX, and | 68 | If *NAME is "", use environment variables as specified by POSIX, and |
69 | diff --git a/locale/programs/locale.c b/locale/programs/locale.c | 69 | diff --git a/locale/programs/locale.c b/locale/programs/locale.c |
70 | index 1b51b50d68..87c9049444 100644 | 70 | index 1d1a9b2f00..d9ed395b39 100644 |
71 | --- a/locale/programs/locale.c | 71 | --- a/locale/programs/locale.c |
72 | +++ b/locale/programs/locale.c | 72 | +++ b/locale/programs/locale.c |
73 | @@ -631,6 +631,7 @@ nameentcmp (const void *a, const void *b) | 73 | @@ -631,6 +631,7 @@ nameentcmp (const void *a, const void *b) |
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 4d080726f8..7a8fe34815 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 95508f06f13604ed96f28d18eb1670ea1ed02063 Mon Sep 17 00:00:00 2001 | 1 | From 18fc01c620311d9744a38d9a4a75dbe07b5d9225 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 |
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
14 | 1 file changed, 5 insertions(+), 1 deletion(-) | 14 | 1 file changed, 5 insertions(+), 1 deletion(-) |
15 | 15 | ||
16 | diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c | 16 | diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c |
17 | index 1378bb2db8..19f2044172 100644 | 17 | index 0ccbd778b5..9df1a0fe12 100644 |
18 | --- a/sysdeps/unix/sysv/linux/faccessat.c | 18 | --- a/sysdeps/unix/sysv/linux/faccessat.c |
19 | +++ b/sysdeps/unix/sysv/linux/faccessat.c | 19 | +++ b/sysdeps/unix/sysv/linux/faccessat.c |
20 | @@ -30,7 +30,11 @@ __faccessat (int fd, const char *file, int mode, int flag) | 20 | @@ -30,7 +30,11 @@ __faccessat (int fd, const char *file, int mode, int flag) |
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 6b80ad3e64..cf3b35f8d0 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 07655aaa14f9d1f3a521caadde2936067ce84b07 Mon Sep 17 00:00:00 2001 | 1 | From c7419991ebca369d727cc2f4489fed91fd5bb83f 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 |
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
29 | 12 files changed, 28 insertions(+), 28 deletions(-) | 29 | 12 files changed, 28 insertions(+), 28 deletions(-) |
30 | 30 | ||
31 | diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure | 31 | diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure |
32 | index bf972122b1..f9397b8d6e 100644 | 32 | index 2130f6b8f8..7b7e3bbcf1 100644 |
33 | --- a/sysdeps/aarch64/configure | 33 | --- a/sysdeps/aarch64/configure |
34 | +++ b/sysdeps/aarch64/configure | 34 | +++ b/sysdeps/aarch64/configure |
35 | @@ -152,12 +152,12 @@ else | 35 | @@ -152,12 +152,12 @@ else |
@@ -48,7 +48,7 @@ index bf972122b1..f9397b8d6e 100644 | |||
48 | else | 48 | else |
49 | libc_cv_aarch64_be=no | 49 | libc_cv_aarch64_be=no |
50 | diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac | 50 | diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac |
51 | index 51253d9802..ba36a0e8b4 100644 | 51 | index 85c6f76508..8ecd15d273 100644 |
52 | --- a/sysdeps/aarch64/configure.ac | 52 | --- a/sysdeps/aarch64/configure.ac |
53 | +++ b/sysdeps/aarch64/configure.ac | 53 | +++ b/sysdeps/aarch64/configure.ac |
54 | @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) | 54 | @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) |
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 ba8696d654..df6a659e5e 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 9373891f13f3550f9b3f896c34ac152efd369ca9 Mon Sep 17 00:00:00 2001 | 1 | From b5535340fb24bdae121286a79d759ecb3a464afd 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 1f6ff1f1fa..57828dd488 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 7f2fd574646cb5ecbbc09372a2d8580ab72ec158 Mon Sep 17 00:00:00 2001 | 1 | From 1aa07d35422f4628437a515a256fdf230192891f 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 179dd478ff..55cfb740bf 100644 | 32 | index 224c792185..6da151f5db 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 399e14faf4..b2e30a60c8 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 9f1803a2f91d59a9478ca4d8d93e1de5c62671e5 Mon Sep 17 00:00:00 2001 | 1 | From 47db0543da748fa7c355599b90b5016032e9deed 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 |
@@ -33,7 +33,7 @@ index 9c734ff755..974e33b4b1 100644 | |||
33 | # a* | 33 | # a* |
34 | alphasort64; | 34 | alphasort64; |
35 | diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S | 35 | diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S |
36 | index c5e3a7a365..35120031c4 100644 | 36 | index 9d85ff99a0..6bda921ca3 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) |
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 7d891557bf..46df87430b 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 2c6449014151a4bcd4b253b2acc920f0b3d6b13f Mon Sep 17 00:00:00 2001 | 1 | From fc0f96b182cd32037326545625356c88feb5c27a 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 |
@@ -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 | ||
25 | diff --git a/locale/Makefile b/locale/Makefile | 25 | diff --git a/locale/Makefile b/locale/Makefile |
26 | index eb55750496..b0461ac4b9 100644 | 26 | index d7036b0855..ed795e2710 100644 |
27 | --- a/locale/Makefile | 27 | --- a/locale/Makefile |
28 | +++ b/locale/Makefile | 28 | +++ b/locale/Makefile |
29 | @@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \ | 29 | @@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \ |
@@ -89,7 +89,7 @@ index 0000000000..538f3f5edb | |||
89 | + [LC_ALL] = sizeof ("LC_ALL") - 1 | 89 | + [LC_ALL] = sizeof ("LC_ALL") - 1 |
90 | + }; | 90 | + }; |
91 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h | 91 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h |
92 | index 3dc26272a0..b667d32c23 100644 | 92 | index b7b856f77f..5e87ff336d 100644 |
93 | --- a/locale/localeinfo.h | 93 | --- a/locale/localeinfo.h |
94 | +++ b/locale/localeinfo.h | 94 | +++ b/locale/localeinfo.h |
95 | @@ -246,7 +246,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) | 95 | @@ -246,7 +246,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) |
@@ -102,7 +102,7 @@ index 3dc26272a0..b667d32c23 100644 | |||
102 | # define NL_CURRENT_INDIRECT 1 | 102 | # define NL_CURRENT_INDIRECT 1 |
103 | #endif | 103 | #endif |
104 | diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c | 104 | diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c |
105 | index 396a0d76c0..91f4a765ee 100644 | 105 | index 9582f2d167..8f9f3f582c 100644 |
106 | --- a/locale/programs/charmap-dir.c | 106 | --- a/locale/programs/charmap-dir.c |
107 | +++ b/locale/programs/charmap-dir.c | 107 | +++ b/locale/programs/charmap-dir.c |
108 | @@ -18,7 +18,9 @@ | 108 | @@ -18,7 +18,9 @@ |
@@ -148,7 +148,7 @@ index 396a0d76c0..91f4a765ee 100644 | |||
148 | return NULL; | 148 | return NULL; |
149 | } | 149 | } |
150 | diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c | 150 | diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c |
151 | index 992814491d..da4dde4663 100644 | 151 | index 2c9f540bf1..c937cfd2ab 100644 |
152 | --- a/locale/programs/ld-collate.c | 152 | --- a/locale/programs/ld-collate.c |
153 | +++ b/locale/programs/ld-collate.c | 153 | +++ b/locale/programs/ld-collate.c |
154 | @@ -352,7 +352,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen, | 154 | @@ -352,7 +352,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen, |
@@ -197,7 +197,7 @@ index 992814491d..da4dde4663 100644 | |||
197 | == runp->wcnext->wcs[runp->nwcs - 1] + 1)); | 197 | == runp->wcnext->wcs[runp->nwcs - 1] + 1)); |
198 | 198 | ||
199 | diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c | 199 | diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c |
200 | index c6749dbd82..ac99777925 100644 | 200 | index d285b72611..4bf01fa3db 100644 |
201 | --- a/locale/programs/ld-ctype.c | 201 | --- a/locale/programs/ld-ctype.c |
202 | +++ b/locale/programs/ld-ctype.c | 202 | +++ b/locale/programs/ld-ctype.c |
203 | @@ -914,7 +914,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap, | 203 | @@ -914,7 +914,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap, |
@@ -279,7 +279,7 @@ index c6749dbd82..ac99777925 100644 | |||
279 | srunp = srunp->next; | 279 | srunp = srunp->next; |
280 | } | 280 | } |
281 | diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c | 281 | diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c |
282 | index b58fecfcee..a4d70e0780 100644 | 282 | index a590b013b3..5ed4fa0f59 100644 |
283 | --- a/locale/programs/ld-time.c | 283 | --- a/locale/programs/ld-time.c |
284 | +++ b/locale/programs/ld-time.c | 284 | +++ b/locale/programs/ld-time.c |
285 | @@ -219,8 +219,10 @@ No definition for %s category found"), "LC_TIME"); | 285 | @@ -219,8 +219,10 @@ No definition for %s category found"), "LC_TIME"); |
@@ -348,7 +348,7 @@ index b58fecfcee..a4d70e0780 100644 | |||
348 | 348 | ||
349 | 349 | ||
350 | diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c | 350 | diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c |
351 | index 0460074a0c..31a7151f66 100644 | 351 | index f8c49ac06f..ddda006037 100644 |
352 | --- a/locale/programs/linereader.c | 352 | --- a/locale/programs/linereader.c |
353 | +++ b/locale/programs/linereader.c | 353 | +++ b/locale/programs/linereader.c |
354 | @@ -776,7 +776,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap, | 354 | @@ -776,7 +776,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap, |
@@ -361,7 +361,7 @@ index 0460074a0c..31a7151f66 100644 | |||
361 | lr_buffer_init (&lrb); | 361 | lr_buffer_init (&lrb); |
362 | 362 | ||
363 | diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c | 363 | diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c |
364 | index 35a092a111..94712bf114 100644 | 364 | index 1b751bb7be..c255e2b436 100644 |
365 | --- a/locale/programs/localedef.c | 365 | --- a/locale/programs/localedef.c |
366 | +++ b/locale/programs/localedef.c | 366 | +++ b/locale/programs/localedef.c |
367 | @@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; | 367 | @@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; |
@@ -407,7 +407,7 @@ index 35a092a111..94712bf114 100644 | |||
407 | force_output = 1; | 407 | force_output = 1; |
408 | break; | 408 | break; |
409 | diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c | 409 | diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c |
410 | index 8fa74dce60..8d5aca6d9e 100644 | 410 | index e3eef59295..711d6fbea0 100644 |
411 | --- a/locale/programs/locfile.c | 411 | --- a/locale/programs/locfile.c |
412 | +++ b/locale/programs/locfile.c | 412 | +++ b/locale/programs/locfile.c |
413 | @@ -543,6 +543,9 @@ compare_files (const char *filename1, const char *filename2, size_t size, | 413 | @@ -543,6 +543,9 @@ compare_files (const char *filename1, const char *filename2, size_t size, |
@@ -430,7 +430,7 @@ index 8fa74dce60..8d5aca6d9e 100644 | |||
430 | 430 | ||
431 | /* Record that FILE's next element is the 32-bit integer VALUE. */ | 431 | /* Record that FILE's next element is the 32-bit integer VALUE. */ |
432 | diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h | 432 | diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h |
433 | index 57b2211e2f..e9498c6c7e 100644 | 433 | index 5caf5c348f..76856a32c2 100644 |
434 | --- a/locale/programs/locfile.h | 434 | --- a/locale/programs/locfile.h |
435 | +++ b/locale/programs/locfile.h | 435 | +++ b/locale/programs/locfile.h |
436 | @@ -70,6 +70,8 @@ extern void write_all_categories (struct localedef_t *definitions, | 436 | @@ -70,6 +70,8 @@ extern void write_all_categories (struct localedef_t *definitions, |
@@ -519,7 +519,7 @@ index 57b2211e2f..e9498c6c7e 100644 | |||
519 | + | 519 | + |
520 | #endif /* locfile.h */ | 520 | #endif /* locfile.h */ |
521 | diff --git a/locale/setlocale.c b/locale/setlocale.c | 521 | diff --git a/locale/setlocale.c b/locale/setlocale.c |
522 | index 56c14d8533..6aac00503e 100644 | 522 | index dd73fa4248..da3e17774e 100644 |
523 | --- a/locale/setlocale.c | 523 | --- a/locale/setlocale.c |
524 | +++ b/locale/setlocale.c | 524 | +++ b/locale/setlocale.c |
525 | @@ -63,35 +63,6 @@ static char *const _nl_current_used[] = | 525 | @@ -63,35 +63,6 @@ static char *const _nl_current_used[] = |
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 c47025af3b..3bf4fa45a0 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 8ebf6708ba54147b44f5638b93f123fd55d4c37e Mon Sep 17 00:00:00 2001 | 1 | From 8e38bf52f1b71700a491cd1bd5ac5cf1ec7d097b 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 |
@@ -18,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
18 | 1 file changed, 25 insertions(+), 10 deletions(-) | 18 | 1 file changed, 25 insertions(+), 10 deletions(-) |
19 | 19 | ||
20 | diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c | 20 | diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c |
21 | index eeb2fa6ffe..15274b0191 100644 | 21 | index 87d2d9b1b2..36f5852949 100644 |
22 | --- a/locale/programs/locarchive.c | 22 | --- a/locale/programs/locarchive.c |
23 | +++ b/locale/programs/locarchive.c | 23 | +++ b/locale/programs/locarchive.c |
24 | @@ -339,12 +339,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head) | 24 | @@ -339,12 +339,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head) |
diff --git a/meta/recipes-core/glibc/glibc/0015-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch b/meta/recipes-core/glibc/glibc/0015-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch deleted file mode 100644 index 933fa0eb3f..0000000000 --- a/meta/recipes-core/glibc/glibc/0015-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | From bd2b87eaa2e99310f5439df95bea12a48dc978bf Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Mon, 17 Dec 2018 21:36:18 +0000 | ||
4 | Subject: [PATCH] locale: prevent maybe-uninitialized errors with -Os [BZ | ||
5 | #19444] | ||
6 | |||
7 | Fixes following error when building for aarch64 with -Os: | ||
8 | | In file included from strcoll_l.c:43: | ||
9 | | strcoll_l.c: In function '__strcoll_l': | ||
10 | | ../locale/weight.h:31:26: error: 'seq2.back_us' may be used uninitialized in this function [-Werror=maybe-uninitialized] | ||
11 | | int_fast32_t i = table[*(*cpp)++]; | ||
12 | | ^~~~~~~~~ | ||
13 | | strcoll_l.c:304:18: note: 'seq2.back_us' was declared here | ||
14 | | coll_seq seq1, seq2; | ||
15 | | ^~~~ | ||
16 | | In file included from strcoll_l.c:43: | ||
17 | | ../locale/weight.h:31:26: error: 'seq1.back_us' may be used uninitialized in this function [-Werror=maybe-uninitialized] | ||
18 | | int_fast32_t i = table[*(*cpp)++]; | ||
19 | | ^~~~~~~~~ | ||
20 | | strcoll_l.c:304:12: note: 'seq1.back_us' was declared here | ||
21 | | coll_seq seq1, seq2; | ||
22 | | ^~~~ | ||
23 | |||
24 | Partial fix for [BZ #19444] | ||
25 | * locale/weight.h: Fix build with -Os. | ||
26 | |||
27 | Upstream-Status: Submitted [https://patchwork.ozlabs.org/patch/1014766] | ||
28 | |||
29 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
30 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
31 | --- | ||
32 | locale/weight.h | 7 +++++++ | ||
33 | 1 file changed, 7 insertions(+) | ||
34 | |||
35 | diff --git a/locale/weight.h b/locale/weight.h | ||
36 | index 8be2d220f8..4a4d5aa6b2 100644 | ||
37 | --- a/locale/weight.h | ||
38 | +++ b/locale/weight.h | ||
39 | @@ -27,7 +27,14 @@ findidx (const int32_t *table, | ||
40 | const unsigned char *extra, | ||
41 | const unsigned char **cpp, size_t len) | ||
42 | { | ||
43 | + /* With GCC 8 when compiling with -Os the compiler warns that | ||
44 | + seq1.back_us and seq2.back_us might be used uninitialized. | ||
45 | + This uninitialized use is impossible for the same reason | ||
46 | + as described in comments in locale/weightwc.h. */ | ||
47 | + DIAG_PUSH_NEEDS_COMMENT; | ||
48 | + DIAG_IGNORE_Os_NEEDS_COMMENT (8, "-Wmaybe-uninitialized"); | ||
49 | int32_t i = table[*(*cpp)++]; | ||
50 | + DIAG_POP_NEEDS_COMMENT; | ||
51 | const unsigned char *cp; | ||
52 | const unsigned char *usrc; | ||
53 | |||
diff --git a/meta/recipes-core/glibc/glibc/0017-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 cb6f7dc3d0..af7140e4da 100644 --- a/meta/recipes-core/glibc/glibc/0017-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 93c5b86fae5e42e148e5182466eb0ac26298159c Mon Sep 17 00:00:00 2001 | 1 | From 666905d40b483b28ffa2a5fa7170a40475ff1003 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 |
diff --git a/meta/recipes-core/glibc/glibc/0016-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch b/meta/recipes-core/glibc/glibc/0016-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch deleted file mode 100644 index f45951ae2c..0000000000 --- a/meta/recipes-core/glibc/glibc/0016-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 58dd1336c1c32716f4f0938bf18f2ddfbe9305ca Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 18 Mar 2015 00:11:22 +0000 | ||
4 | Subject: [PATCH] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known names | ||
5 | |||
6 | This bolts in a hook for OE to pass its own version of interpreter | ||
7 | names into glibc especially for multilib case, where it differs from any | ||
8 | other distros | ||
9 | |||
10 | Upstream-Status: Inappropriate [OE specific] | ||
11 | |||
12 | Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | elf/readlib.c | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/elf/readlib.c b/elf/readlib.c | ||
19 | index ed42fbd48e..777f6c80be 100644 | ||
20 | --- a/elf/readlib.c | ||
21 | +++ b/elf/readlib.c | ||
22 | @@ -49,6 +49,7 @@ static struct known_names interpreters[] = | ||
23 | #ifdef SYSDEP_KNOWN_INTERPRETER_NAMES | ||
24 | SYSDEP_KNOWN_INTERPRETER_NAMES | ||
25 | #endif | ||
26 | + OECORE_KNOWN_INTERPRETER_NAMES | ||
27 | }; | ||
28 | |||
29 | static struct known_names known_libs[] = | ||
diff --git a/meta/recipes-core/glibc/glibc/0018-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 996471a520..9ed89c93da 100644 --- a/meta/recipes-core/glibc/glibc/0018-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 e2dba281429384cc22a73a58eaf79459e64be266 Mon Sep 17 00:00:00 2001 | 1 | From 80dbf6f21c12b1c60bfab9a64798d4f1ea242efb 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,13 +11,13 @@ 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 | 8 ++++++-- | 14 | sysdeps/aarch64/bits/wordsize.h | 8 ++++++-- |
15 | sysdeps/{aarch64 => arm}/bits/wordsize.h | 8 ++++++-- | 15 | sysdeps/{aarch64 => arm}/bits/wordsize.h | 10 +++++++--- |
16 | 2 files changed, 12 insertions(+), 4 deletions(-) | 16 | 2 files changed, 13 insertions(+), 5 deletions(-) |
17 | copy sysdeps/{aarch64 => arm}/bits/wordsize.h (85%) | 17 | copy sysdeps/{aarch64 => arm}/bits/wordsize.h (80%) |
18 | 18 | ||
19 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h | 19 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h |
20 | index 4635431f0e..5ef0ed21f3 100644 | 20 | index 04d4be9519..63876a7830 100644 |
21 | --- a/sysdeps/aarch64/bits/wordsize.h | 21 | --- a/sysdeps/aarch64/bits/wordsize.h |
22 | +++ b/sysdeps/aarch64/bits/wordsize.h | 22 | +++ b/sysdeps/aarch64/bits/wordsize.h |
23 | @@ -17,12 +17,16 @@ | 23 | @@ -17,12 +17,16 @@ |
@@ -40,12 +40,20 @@ index 4635431f0e..5ef0ed21f3 100644 | |||
40 | 40 | ||
41 | #define __WORDSIZE_TIME64_COMPAT32 0 | 41 | #define __WORDSIZE_TIME64_COMPAT32 0 |
42 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h | 42 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h |
43 | similarity index 85% | 43 | similarity index 80% |
44 | copy from sysdeps/aarch64/bits/wordsize.h | 44 | copy from sysdeps/aarch64/bits/wordsize.h |
45 | copy to sysdeps/arm/bits/wordsize.h | 45 | copy to sysdeps/arm/bits/wordsize.h |
46 | index 4635431f0e..5ef0ed21f3 100644 | 46 | index 04d4be9519..5ef0ed21f3 100644 |
47 | --- a/sysdeps/aarch64/bits/wordsize.h | 47 | --- a/sysdeps/aarch64/bits/wordsize.h |
48 | +++ b/sysdeps/arm/bits/wordsize.h | 48 | +++ b/sysdeps/arm/bits/wordsize.h |
49 | @@ -1,6 +1,6 @@ | ||
50 | /* Determine the wordsize from the preprocessor defines. | ||
51 | |||
52 | - Copyright (C) 2016-2023 Free Software Foundation, Inc. | ||
53 | + Copyright (C) 2016-2022 Free Software Foundation, Inc. | ||
54 | This file is part of the GNU C Library. | ||
55 | |||
56 | The GNU C Library is free software; you can redistribute it and/or | ||
49 | @@ -17,12 +17,16 @@ | 57 | @@ -17,12 +17,16 @@ |
50 | License along with the GNU C Library; if not, see | 58 | License along with the GNU C Library; if not, see |
51 | <https://www.gnu.org/licenses/>. */ | 59 | <https://www.gnu.org/licenses/>. */ |
diff --git a/meta/recipes-core/glibc/glibc/0019-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 5181cfec61..2e5c60a002 100644 --- a/meta/recipes-core/glibc/glibc/0019-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 97a71e1dd07ba6721464150b03fd67823b6271e2 Mon Sep 17 00:00:00 2001 | 1 | From 561f67dda72ba806120e3ffadd8b85dcf02a90a6 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/0020-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 396f33216d..33585ee337 100644 --- a/meta/recipes-core/glibc/glibc/0020-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 3b5b6079512af8af50d0a43d4c1c218f5ba1b302 Mon Sep 17 00:00:00 2001 | 1 | From 5b408839318b81cc2713956c87f19eddb009f677 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/0021-timezone-Make-shell-interpreter-overridable-in-tzsel.patch b/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch index 2f4e92dffa..f6e0cec983 100644 --- a/meta/recipes-core/glibc/glibc/0021-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 8d5ff7357354394b958321204b75e3855781aefe Mon Sep 17 00:00:00 2001 | 1 | From 27d3ec9df3157966819e4369e571769ed9e8604c 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,10 +14,10 @@ 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 ba70321af1..4b643768d9 100644 | 17 | index 2fda4af5f7..87777942f3 100644 |
18 | --- a/Makeconfig | 18 | --- a/Makeconfig |
19 | +++ b/Makeconfig | 19 | +++ b/Makeconfig |
20 | @@ -293,6 +293,15 @@ ifndef sysincludedir | 20 | @@ -309,6 +309,15 @@ ifndef sysincludedir |
21 | sysincludedir = /usr/include | 21 | sysincludedir = /usr/include |
22 | endif | 22 | endif |
23 | 23 | ||
@@ -34,10 +34,10 @@ index ba70321af1..4b643768d9 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 a789c22d26..3e69409a94 100644 | 37 | index 0306c0bca9..4dfdcebdb7 100644 |
38 | --- a/timezone/Makefile | 38 | --- a/timezone/Makefile |
39 | +++ b/timezone/Makefile | 39 | +++ b/timezone/Makefile |
40 | @@ -134,6 +134,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make | 40 | @@ -136,6 +136,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/0022-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 c409327f95..ee50a8148c 100644 --- a/meta/recipes-core/glibc/glibc/0022-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 ba1365f19ccc8378f2fcff892721187537479884 Mon Sep 17 00:00:00 2001 | 1 | From d8c8500b619231c23ef6a151821555786c0d2966 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 |
diff --git a/meta/recipes-core/glibc/glibc/0023-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 7b0965f6bd..4838643911 100644 --- a/meta/recipes-core/glibc/glibc/0023-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 ffbb37732807e180b14a21d1bf79ad5038252c02 Mon Sep 17 00:00:00 2001 | 1 | From 30d209d26918e48e34f34658923c42f269d27ee1 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] |
@@ -72,7 +72,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
72 | 1 file changed, 1 insertion(+), 1 deletion(-) | 72 | 1 file changed, 1 insertion(+), 1 deletion(-) |
73 | 73 | ||
74 | diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c | 74 | diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c |
75 | index a71effcbd3..a0569113aa 100644 | 75 | index a8611772a2..c75b063370 100644 |
76 | --- a/sysdeps/unix/sysv/linux/clone-internal.c | 76 | --- a/sysdeps/unix/sysv/linux/clone-internal.c |
77 | +++ b/sysdeps/unix/sysv/linux/clone-internal.c | 77 | +++ b/sysdeps/unix/sysv/linux/clone-internal.c |
78 | @@ -52,7 +52,7 @@ __clone_internal (struct clone_args *cl_args, | 78 | @@ -52,7 +52,7 @@ __clone_internal (struct clone_args *cl_args, |
diff --git a/meta/recipes-core/glibc/glibc/0024-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 7983d1f6a7..789d36cacb 100644 --- a/meta/recipes-core/glibc/glibc/0024-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 f873e25e29684cbbf7b141d9c6ee725268505c29 Mon Sep 17 00:00:00 2001 | 1 | From b672a35f7d9e25baa83f3fd854a51bc1ad49756a 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 9b50eac117..4c24d9f61a 100644 | 17 | index b29b7eb505..ae42e6e7e9 100644 |
18 | --- a/support/Makefile | 18 | --- a/support/Makefile |
19 | +++ b/support/Makefile | 19 | +++ b/support/Makefile |
20 | @@ -218,9 +218,9 @@ libsupport-inhibit-o += .o | 20 | @@ -219,9 +219,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/0025-startup-Force-O2.patch b/meta/recipes-core/glibc/glibc/0025-startup-Force-O2.patch deleted file mode 100644 index 1f3426295a..0000000000 --- a/meta/recipes-core/glibc/glibc/0025-startup-Force-O2.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 5e635e5dc7d1b21a78f38109d4f43a03bec865c8 Mon Sep 17 00:00:00 2001 | ||
2 | From: "H.J. Lu" <hjl.tools@gmail.com> | ||
3 | Date: Sun, 7 Aug 2022 12:51:48 +0200 | ||
4 | Subject: [PATCH] startup: Force -O2 | ||
5 | |||
6 | Upstream-Status: Submitted [https://sourceware.org/bugzilla/show_bug.cgi?id=29249] | ||
7 | |||
8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
9 | --- | ||
10 | sysdeps/unix/sysv/linux/startup.h | 5 +++++ | ||
11 | 1 file changed, 5 insertions(+) | ||
12 | |||
13 | diff --git a/sysdeps/unix/sysv/linux/startup.h b/sysdeps/unix/sysv/linux/startup.h | ||
14 | index 39859b404a..e1fc1b682d 100644 | ||
15 | --- a/sysdeps/unix/sysv/linux/startup.h | ||
16 | +++ b/sysdeps/unix/sysv/linux/startup.h | ||
17 | @@ -21,6 +21,11 @@ | ||
18 | #else | ||
19 | # include <sysdep.h> | ||
20 | |||
21 | +# if !defined __OPTIMIZE__ || __OPTIMIZE__ < 2 | ||
22 | +/* Force to fold strlen. */ | ||
23 | +# pragma GCC optimize(2) | ||
24 | +# endif | ||
25 | + | ||
26 | /* Avoid a run-time invocation of strlen. */ | ||
27 | #define _startup_fatal(message) \ | ||
28 | do \ | ||
diff --git a/meta/recipes-core/glibc/glibc_2.36.bb b/meta/recipes-core/glibc/glibc_2.37.bb index 3010f783ac..f299a3004a 100644 --- a/meta/recipes-core/glibc/glibc_2.36.bb +++ b/meta/recipes-core/glibc/glibc_2.37.bb | |||
@@ -43,18 +43,14 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
43 | file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \ | 43 | file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \ |
44 | file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \ | 44 | file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \ |
45 | file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \ | 45 | file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \ |
46 | file://0015-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch \ | 46 | file://0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch \ |
47 | file://0016-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch \ | 47 | file://0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \ |
48 | file://0017-powerpc-Do-not-ask-compiler-for-finding-arch.patch \ | 48 | file://0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \ |
49 | file://0018-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \ | 49 | file://0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch \ |
50 | file://0019-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \ | 50 | file://0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \ |
51 | file://0020-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch \ | 51 | file://0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \ |
52 | file://0021-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \ | 52 | file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ |
53 | file://0022-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \ | 53 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ |
54 | file://0023-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ | ||
55 | file://0024-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ | ||
56 | file://0025-startup-Force-O2.patch \ | ||
57 | file://0001-Linux-Add-ppoll-fortify-symbol-for-64-bit-time_t-BZ-.patch \ | ||
58 | " | 54 | " |
59 | S = "${WORKDIR}/git" | 55 | S = "${WORKDIR}/git" |
60 | B = "${WORKDIR}/build-${TARGET_SYS}" | 56 | B = "${WORKDIR}/build-${TARGET_SYS}" |