From e7376bb459d7280a7a593b11fd86f56aa9bc9ce0 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Wed, 22 Aug 2012 16:47:23 -0500 Subject: eglibc/gcc: add patches to fix eglibc 2.15 build This drops one patch against eglibc for 2.15 and adds two new ones, also it adds a gcc patch. We use all of these internally and they are tested quite well. (From OE-Core rev: a7014c446b0d2f3b40c4b058c64bb61c8720d799) Signed-off-by: Matthew McClintock Signed-off-by: Richard Purdie --- meta/recipes-core/eglibc/eglibc-2.15/glibc.no_sqrt.patch | 15 +++++++++++++++ meta/recipes-core/eglibc/eglibc_2.15.bb | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/eglibc/eglibc-2.15/glibc.no_sqrt.patch (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/eglibc/eglibc-2.15/glibc.no_sqrt.patch b/meta/recipes-core/eglibc/eglibc-2.15/glibc.no_sqrt.patch new file mode 100644 index 0000000000..7f5136e3dd --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.15/glibc.no_sqrt.patch @@ -0,0 +1,15 @@ +Upstream-Status: Pending + +People are working to include this fixes upstream + +--- libc/sysdeps/powerpc/fpu/math_private.h-orig 2012-07-10 13:23:19.373254002 -0500 ++++ libc/sysdeps/powerpc/fpu/math_private.h 2012-07-10 13:23:46.058254001 -0500 +@@ -27,7 +27,7 @@ + + #include + +-# if __WORDSIZE == 64 || defined _ARCH_PWR4 ++# if 0 + # define __CPU_HAS_FSQRT 1 + + #ifndef __ieee754_sqrt diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb index f5219d1df3..dc2a54666b 100644 --- a/meta/recipes-core/eglibc/eglibc_2.15.bb +++ b/meta/recipes-core/eglibc/eglibc_2.15.bb @@ -3,7 +3,7 @@ require eglibc.inc SRCREV = "17386" DEPENDS += "gperf-native" -PR = "r7" +PR = "r8" PR_append = "+svnr${SRCPV}" EGLIBC_BRANCH="eglibc-2_15" @@ -23,6 +23,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http file://ppc-sqrt_finite.patch \ file://GLRO_dl_debug_mask.patch \ file://initgroups_keys.patch \ + file://glibc.no_sqrt.patch \ " LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \ file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ -- cgit v1.2.3-54-g00ecf