summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer_e1@hotmail.com>2006-07-07 10:20:51 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-07 10:20:51 +0000
commit5d5b724cc8dece3e75cd65f8ce8077564bdea331 (patch)
tree8ab4b4d722bf1c69f0f5524cc691059fee74df70
parent0825e944345291cac5d45daae904c50a87389642 (diff)
parent9e7357192f5b635576a412aba335a2677ea5964c (diff)
merge of 8a2023ca2f97d50fba9ee9d052e5353b46eda98f
and ca2a10421cd90e75a5f22530f259d62b15f51929
-rw-r--r--packages/glibc/glibc-2.4/no-z-defs.patch9
-rw-r--r--packages/glibc/glibc_2.4.bb4
2 files changed, 13 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.4/no-z-defs.patch b/packages/glibc/glibc-2.4/no-z-defs.patch
new file mode 100644
index 0000000000..48c6a41267
--- /dev/null
+++ b/packages/glibc/glibc-2.4/no-z-defs.patch
@@ -0,0 +1,9 @@
+Create a configparms file which disabled no-z-defs.
+This is required to build a working glibs for sh4,
+without there will be a lot linker errors during the build.
+
+diff -duNr libc.orig/configparms libc/configparms
+--- libc.orig/configparms 1970-01-01 10:00:00.000000000 +1000
++++ libc/configparms 2006-02-23 14:08:18.000000000 +1100
+@@ -0,0 +1 @@
++no-z-defs=yes
diff --git a/packages/glibc/glibc_2.4.bb b/packages/glibc/glibc_2.4.bb
index b8163012ec..c45bd1b5e5 100644
--- a/packages/glibc/glibc_2.4.bb
+++ b/packages/glibc/glibc_2.4.bb
@@ -65,6 +65,10 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.4.tar.bz2 \
file://etc/ld.so.conf \
file://generate-supported.mk"
+# Build fails on sh3 and sh4 without additional patches
+SRC_URI_append_sh3 = " file://no-z-defs.patch;patch=1"
+SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1"
+
S = "${WORKDIR}/glibc-2.4"
B = "${WORKDIR}/build-${TARGET_SYS}"