summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-05 17:50:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-10 10:32:07 +0000
commita8b7d51ccec6208ec91be7c7b207b110e3269e78 (patch)
tree6456b3fd1ba799c5afb87300f4c7907e4c9aa52e /meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch
parent632565fb1c89f1c75223f1613d4ea648bbb88c44 (diff)
downloadpoky-a8b7d51ccec6208ec91be7c7b207b110e3269e78.tar.gz
glibc: Upgrade to 2.35
Package /usr/bin/ld.so in a separate package ld.so is a new tool which is added as a symlink to original dynamic linker so make it available with same name across architectures which is useful to leveral features like --preload, --audit, and --list-diagnostics more accessible to end users (From OE-Core rev: 2658dcbcfc3db814af1ee104303effc1b6cfa489) 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/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch b/meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch
deleted file mode 100644
index 22df820aed..0000000000
--- a/meta/recipes-core/glibc/glibc/0030-powerpc-Do-not-ask-compiler-for-finding-arch.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1From 60aa53f547911163b42a1c436d695a15c87f34ee Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Aug 2020 14:31:16 -0700
4Subject: [PATCH] powerpc: Do not ask compiler for finding arch
5
6This does not work well in cross compiling environments like OE
7and moreover it uses its own -mcpu/-march options via cflags
8
9Upstream-Status: Inappropriate [ OE-Specific]
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 sysdeps/powerpc/preconfigure | 5 +----
14 sysdeps/powerpc/preconfigure.ac | 5 +----
15 2 files changed, 2 insertions(+), 8 deletions(-)
16
17diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure
18index dfe8e20399..bbff040f0f 100644
19--- a/sysdeps/powerpc/preconfigure
20+++ b/sysdeps/powerpc/preconfigure
21@@ -29,10 +29,7 @@ esac
22 # directive which shows up, and try using it.
23 case "${machine}:${submachine}" in
24 *powerpc*:)
25- archcpu=`echo "int foo () { return 0; }" \
26- | $CC $CFLAGS $CPPFLAGS -S -frecord-gcc-switches -xc -o - - \
27- | grep -E "mcpu=|.machine" -m 1 \
28- | sed -e "s/.*machine //" -e "s/.*mcpu=\(.*\)\"/\1/"`
29+ archcpu=''
30 # Note if you add patterns here you must ensure that an appropriate
31 # directory exists in sysdeps/powerpc. Likewise, if we find a
32 # cpu, don't let the generic configure append extra compiler options.
33diff --git a/sysdeps/powerpc/preconfigure.ac b/sysdeps/powerpc/preconfigure.ac
34index 6c63bd8257..3e925f1d48 100644
35--- a/sysdeps/powerpc/preconfigure.ac
36+++ b/sysdeps/powerpc/preconfigure.ac
37@@ -29,10 +29,7 @@ esac
38 # directive which shows up, and try using it.
39 case "${machine}:${submachine}" in
40 *powerpc*:)
41- archcpu=`echo "int foo () { return 0; }" \
42- | $CC $CFLAGS $CPPFLAGS -S -frecord-gcc-switches -xc -o - - \
43- | grep -E "mcpu=|[.]machine" -m 1 \
44- | sed -e "s/.*machine //" -e "s/.*mcpu=\(.*\)\"/\1/"`
45+ archcpu=''
46 # Note if you add patterns here you must ensure that an appropriate
47 # directory exists in sysdeps/powerpc. Likewise, if we find a
48 # cpu, don't let the generic configure append extra compiler options.