Hi Alex,
it is already added, it patches an existing patch. Please see
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/python/python3_3.8.2.bb
line 24.
Or what am I missing here?!
Regards,
Matthias
On 3/30/20 11:43 AM, Alexander Kanavin wrote:
The patch is not added to the recipe (please test the build after you do
that).
Alex
On Mon, 30 Mar 2020 at 11:41, Matthias Schoepfer via
Lists.Openembedded.Org <http://Lists.Openembedded.Org>
<[email protected]
<mailto:[email protected]>> wrote:
From: Matthias Schoepfer <[email protected]
<mailto:[email protected]>>
The original patch "bpo-36852: proper detection of mips architecture
for soft float" uses AC_CANONICAL_TARGET to determine the platform
triplet. While AC_CANONICAL_TARGET exports i686 as target_cpu, gcc
is using i386 instead. We fall back here to i386, as it is conform
to the previous behavior.
Upstream Status: Submitted
[https://github.com/python/cpython/pull/13196]
Signed-off-by: Matthias Schoepfer <[email protected]
<mailto:[email protected]>>
---
...-detection-of-mips-architecture-for-.patch | 20 +++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git
a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
index fe0aa8aabe..c4fae09a5b 100644
---
a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
+++
b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
@@ -1,4 +1,4 @@
-From 2581ebe3cd9686089aed223651e1b8bf0b862b48 Mon Sep 17 00:00:00 2001
+From 1ad771d86728ee2ed30e202e9768d8d825f96467 Mon Sep 17 00:00:00 2001
From: Matthias Schoepfer <[email protected]
<mailto:[email protected]>>
Date: Fri, 31 May 2019 15:34:34 +0200
Subject: [PATCH] bpo-36852: proper detection of mips architecture
for soft
@@ -13,15 +13,16 @@ to do this in a more autoconf/autotools manner.
Upstream-Status: Submitted
[https://github.com/python/cpython/pull/13196]
Signed-off-by: Matthias Schoepfer <[email protected]
<mailto:[email protected]>>
+%% original patch:
0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
---
- configure.ac <http://configure.ac> | 171
+++++----------------------------------------------
- 1 file changed, 17 insertions(+), 154 deletions(-)
+ configure.ac <http://configure.ac> | 175
+++++++--------------------------------------------
+ 1 file changed, 21 insertions(+), 154 deletions(-)
diff --git a/configure.ac <http://configure.ac> b/configure.ac
<http://configure.ac>
-index 0f85486..0ca7e24 100644
+index ede710e..bc81b0b 100644
--- a/configure.ac <http://configure.ac>
+++ b/configure.ac <http://configure.ac>
-@@ -704,160 +704,23 @@ fi
+@@ -710,160 +710,27 @@ fi
MULTIARCH=$($CC --print-multiarch 2>/dev/null)
AC_SUBST(MULTIARCH)
@@ -193,9 +194,16 @@ index 0f85486..0ca7e24 100644
+ PLATFORM_TRIPLET=vxworks
+ ;;
+ *)
-+ PLATFORM_TRIPLET=${target_cpu}-${target_os}
++ if test "${target_cpu}" != "i686"; then
++ PLATFORM_TRIPLET=${target_cpu}-${target_os}
++ else
++ PLATFORM_TRIPLET=i386-${target_os}
++ fi
+ ;;
+esac
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
+--
+2.24.1
+
--
2.24.1
--
Dr.-Ing. Matthias Schoepfer
Mobile: +49 175 2062739
email: [email protected]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#136854):
https://lists.openembedded.org/g/openembedded-core/message/136854
Mute This Topic: https://lists.openembedded.org/mt/72648525/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-