summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-08-22 21:47:23 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-28 15:53:03 (GMT)
commite7376bb459d7280a7a593b11fd86f56aa9bc9ce0 (patch)
tree36a3f2088284c0153eda0397d1976fae3b467c34 /meta/recipes-core
parentc2bbe5f5d35b6d60ab1f75dc85dddd52cb8760ce (diff)
downloadpoky-e7376bb459d7280a7a593b11fd86f56aa9bc9ce0.tar.gz
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 <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/glibc.no_sqrt.patch15
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.15.bb3
2 files changed, 17 insertions, 1 deletions
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 0000000..7f5136e
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/glibc.no_sqrt.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Pending
2
3People are working to include this fixes upstream
4
5--- libc/sysdeps/powerpc/fpu/math_private.h-orig 2012-07-10 13:23:19.373254002 -0500
6+++ libc/sysdeps/powerpc/fpu/math_private.h 2012-07-10 13:23:46.058254001 -0500
7@@ -27,7 +27,7 @@
8
9 #include <math/math_private.h>
10
11-# if __WORDSIZE == 64 || defined _ARCH_PWR4
12+# if 0
13 # define __CPU_HAS_FSQRT 1
14
15 #ifndef __ieee754_sqrt
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index f5219d1..dc2a546 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
3SRCREV = "17386" 3SRCREV = "17386"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r7" 6PR = "r8"
7PR_append = "+svnr${SRCPV}" 7PR_append = "+svnr${SRCPV}"
8 8
9EGLIBC_BRANCH="eglibc-2_15" 9EGLIBC_BRANCH="eglibc-2_15"
@@ -23,6 +23,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
23 file://ppc-sqrt_finite.patch \ 23 file://ppc-sqrt_finite.patch \
24 file://GLRO_dl_debug_mask.patch \ 24 file://GLRO_dl_debug_mask.patch \
25 file://initgroups_keys.patch \ 25 file://initgroups_keys.patch \
26 file://glibc.no_sqrt.patch \
26 " 27 "
27LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \ 28LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
28 file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ 29 file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \