diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-05-11 17:05:13 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-11 17:05:13 +0000 |
commit | 32b588df085de86ab0497f5b9239d960a8060696 (patch) | |
tree | 771f5e3c2ccad2b35737ebb5042543fbe53c21fc /packages | |
parent | 01863d57ffb035ad0cc64aa273d6a13d28bae787 (diff) |
glibc-cvs-2.3.5: build a working glibs for sh4. closes #721
Diffstat (limited to 'packages')
-rw-r--r-- | packages/glibc/glibc-cvs-2.3.5/no-z-defs.patch | 9 | ||||
-rw-r--r-- | packages/glibc/glibc_2.3.5+cvs20050627.bb | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/glibc/glibc-cvs-2.3.5/no-z-defs.patch b/packages/glibc/glibc-cvs-2.3.5/no-z-defs.patch new file mode 100644 index 0000000000..48c6a41267 --- /dev/null +++ b/packages/glibc/glibc-cvs-2.3.5/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.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb index c8f1d56841..d4220c80a6 100644 --- a/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/packages/glibc/glibc_2.3.5+cvs20050627.bb @@ -7,7 +7,7 @@ MAINTAINER = "Phil Blundell <pb@handhelds.org>" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5" SRCDATE = "20050627" -PR = "r3" +PR = "r4" GLIBC_ADDONS ?= "ports,linuxthreads" GLIBC_EXTRA_OECONF ?= "" @@ -60,6 +60,9 @@ SRC_URI = "http://familiar.handhelds.org/source/v0.8.3/stash_libc_sources.redhat # seems to fail on tls platforms SRC_URI_append_arm = " file://dyn-ldconfig-20041128.patch;patch=1" +# Build fails on sh4 unless no-z-defs is defined +SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1" + S = "${WORKDIR}/libc" B = "${WORKDIR}/build-${TARGET_SYS}" |