From 32b588df085de86ab0497f5b9239d960a8060696 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 11 May 2006 17:05:13 +0000 Subject: glibc-cvs-2.3.5: build a working glibs for sh4. closes #721 --- packages/glibc/glibc-cvs-2.3.5/no-z-defs.patch | 9 +++++++++ packages/glibc/glibc_2.3.5+cvs20050627.bb | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 packages/glibc/glibc-cvs-2.3.5/no-z-defs.patch (limited to 'packages') 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 " 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}" -- cgit v1.2.3