From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] eglibc-2.12: Fix build on powerpc/603e
Date: Thu, 22 Sep 2011 08:57:26 -0700 [thread overview]
Message-ID: <1316707046-24981-1-git-send-email-raj.khem@gmail.com> (raw)
We pass --with-cpu to eglibc now. Which breaks
the configure for cpus that it does not support
We add support for ppc603e which gets 2.12
building for qemuppc.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch | 26 ++++++++++++++++++++
meta/recipes-core/eglibc/eglibc_2.12.bb | 3 +-
2 files changed, 28 insertions(+), 1 deletions(-)
create mode 100644 meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch b/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
new file mode 100644
index 0000000..5c90e5b
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
@@ -0,0 +1,26 @@
+We now pass --with-cpu option to eglibc this ends up with configure errors if we do
+not pass a cpu which eglibc has support for in sysdeps
+
+| checking sysdep dirs... configure: error: The 603e subspecies of powerpc is not supported.
+| + bbfatal 'oe_runconf failed'
+| + echo 'ERROR: oe_runconf failed'
+
+We fix this by adding the 603e sub directories with Implies to generic
+powerpc to overcome this error
+
+Upstream-Status: Inappropriate [OE config related]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: libc/ports/sysdeps/powerpc/powerpc32/603e/Implies
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ libc/ports/sysdeps/powerpc/powerpc32/603e/Implies 2011-09-17 19:18:57.593292084 -0700
+@@ -0,0 +1 @@
++powerpc/powerpc32
+Index: libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/Implies
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/Implies 2011-09-17 19:17:48.613292100 -0700
+@@ -0,0 +1 @@
++powerpc/powerpc32
diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb b/meta/recipes-core/eglibc/eglibc_2.12.bb
index 7a1a569..c443833 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -1,7 +1,7 @@
require eglibc.inc
DEPENDS += "gperf-native"
-PR = "r25"
+PR = "r26"
SRCREV = "14158"
@@ -12,6 +12,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
file://shorten-build-commands.patch \
file://mips-rld-map-check.patch \
file://armv4-eabi-compile-fix.patch \
+ file://ppc-enable-603e-cpu.patch \
file://etc/ld.so.conf \
file://generate-supported.mk \
"
--
1.7.5.4
next reply other threads:[~2011-09-22 16:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 15:57 Khem Raj [this message]
2011-09-22 20:02 ` [PATCH] eglibc-2.12: Fix build on powerpc/603e Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1316707046-24981-1-git-send-email-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox