summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/eglibc/cross-localedef-native_2.15.bb (renamed from meta/recipes-core/eglibc/cross-localedef-native_2.14.bb)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/IO-acquire-lock-fix.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/IO-acquire-lock-fix.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/armv4-eabi-compile-fix.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/eglibc-rpc-export-again.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/eglibc-svn-arm-lowlevellock-include-tls.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/eglibc-svn-arm-lowlevellock-include-tls.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/etc/ld.so.conf (renamed from meta/recipes-core/eglibc/eglibc-2.14/etc/ld.so.conf)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/generate-supported.mk (renamed from meta/recipes-core/eglibc/eglibc-2.14/generate-supported.mk)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/glibc-2.14-libdl-crash.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/glibc-2.14-libdl-crash.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/ld-search-order.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/ld-search-order.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/mips-rld-map-check.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/mips-rld-map-check.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/multilib_readlib.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/multilib_readlib.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/ppc-sqrt.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/ppc-sqrt.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/ppc-sqrt_finite.patch112
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/stack-protector-test.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/use-sysroot-cxx-headers.patch (renamed from meta/recipes-core/eglibc/eglibc-2.14/use-sysroot-cxx-headers.patch)30
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.15/x86_fenv.patch29
-rw-r--r--meta/recipes-core/eglibc/eglibc-initial_2.15.bb (renamed from meta/recipes-core/eglibc/eglibc-initial_2.14.bb)0
-rw-r--r--meta/recipes-core/eglibc/eglibc-locale_2.15.bb (renamed from meta/recipes-core/eglibc/eglibc-locale_2.14.bb)0
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.15.bb (renamed from meta/recipes-core/eglibc/eglibc_2.14.bb)16
19 files changed, 172 insertions, 15 deletions
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.14.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.15.bb
index 6f311fc33c..6f311fc33c 100644
--- a/meta/recipes-core/eglibc/cross-localedef-native_2.14.bb
+++ b/meta/recipes-core/eglibc/cross-localedef-native_2.15.bb
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/IO-acquire-lock-fix.patch b/meta/recipes-core/eglibc/eglibc-2.15/IO-acquire-lock-fix.patch
index cf5803585c..cf5803585c 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/IO-acquire-lock-fix.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/IO-acquire-lock-fix.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/armv4-eabi-compile-fix.patch b/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
index c2407eea09..c2407eea09 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/armv4-eabi-compile-fix.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/armv4-eabi-compile-fix.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch b/meta/recipes-core/eglibc/eglibc-2.15/eglibc-rpc-export-again.patch
index 15bd2f8514..15bd2f8514 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/eglibc-rpc-export-again.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/eglibc-rpc-export-again.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/eglibc-svn-arm-lowlevellock-include-tls.patch b/meta/recipes-core/eglibc/eglibc-2.15/eglibc-svn-arm-lowlevellock-include-tls.patch
index 4313aa5197..4313aa5197 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/eglibc-svn-arm-lowlevellock-include-tls.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/eglibc-svn-arm-lowlevellock-include-tls.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/etc/ld.so.conf b/meta/recipes-core/eglibc/eglibc-2.15/etc/ld.so.conf
index e69de29bb2..e69de29bb2 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/etc/ld.so.conf
+++ b/meta/recipes-core/eglibc/eglibc-2.15/etc/ld.so.conf
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/generate-supported.mk b/meta/recipes-core/eglibc/eglibc-2.15/generate-supported.mk
index d2a28c2dc6..d2a28c2dc6 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/generate-supported.mk
+++ b/meta/recipes-core/eglibc/eglibc-2.15/generate-supported.mk
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/glibc-2.14-libdl-crash.patch b/meta/recipes-core/eglibc/eglibc-2.15/glibc-2.14-libdl-crash.patch
index 1c30c9d833..1c30c9d833 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/glibc-2.14-libdl-crash.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/glibc-2.14-libdl-crash.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/ld-search-order.patch b/meta/recipes-core/eglibc/eglibc-2.15/ld-search-order.patch
index 40ae6d37f4..40ae6d37f4 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/ld-search-order.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/ld-search-order.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/mips-rld-map-check.patch b/meta/recipes-core/eglibc/eglibc-2.15/mips-rld-map-check.patch
index 9b646fea95..9b646fea95 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/mips-rld-map-check.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/mips-rld-map-check.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/multilib_readlib.patch b/meta/recipes-core/eglibc/eglibc-2.15/multilib_readlib.patch
index 1542b1b519..1542b1b519 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/multilib_readlib.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/multilib_readlib.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/ppc-sqrt.patch b/meta/recipes-core/eglibc/eglibc-2.15/ppc-sqrt.patch
index 203040c15c..203040c15c 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/ppc-sqrt.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/ppc-sqrt.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.15/ppc-sqrt_finite.patch b/meta/recipes-core/eglibc/eglibc-2.15/ppc-sqrt_finite.patch
new file mode 100644
index 0000000000..52890510ce
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/ppc-sqrt_finite.patch
@@ -0,0 +1,112 @@
1on ppc fixes the errors like below
2| ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite'
3| collect2: ld returned 1 exit status
4
5Upstream-Status: Pending
6
7ChangeLog
8
92012-01-06 Khem Raj <raj.khem@gmail.com>
10
11 * sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c: Add __*_finite alias.
12 Remove cruft.
13 * sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c: Ditto.
14 * sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c: Ditto.
15 * sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c: Ditto.
16
17Index: libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c
18===================================================================
19--- libc.orig/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 2012-01-06 18:07:42.296909187 -0800
20+++ libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrt.c 2012-01-06 18:09:22.572914856 -0800
21@@ -39,14 +39,8 @@
22 We find the actual square root and half of its reciprocal
23 simultaneously. */
24
25-#ifdef __STDC__
26 double
27 __ieee754_sqrt (double b)
28-#else
29-double
30-__ieee754_sqrt (b)
31- double b;
32-#endif
33 {
34 if (__builtin_expect (b > 0, 1))
35 {
36@@ -132,3 +126,4 @@
37 }
38 return f_wash (b);
39 }
40+strong_alias (__ieee754_sqrt, __sqrt_finite)
41Index: libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c
42===================================================================
43--- libc.orig/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 2012-01-06 18:10:37.068917644 -0800
44+++ libc/sysdeps/powerpc/powerpc32/603e/fpu/e_sqrtf.c 2012-01-06 18:11:33.408920635 -0800
45@@ -37,14 +37,8 @@
46 We find the reciprocal square root and use that to compute the actual
47 square root. */
48
49-#ifdef __STDC__
50 float
51 __ieee754_sqrtf (float b)
52-#else
53-float
54-__ieee754_sqrtf (b)
55- float b;
56-#endif
57 {
58 if (__builtin_expect (b > 0, 1))
59 {
60@@ -99,3 +93,4 @@
61 }
62 return f_washf (b);
63 }
64+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
65Index: libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c
66===================================================================
67--- libc.orig/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 2012-01-06 18:11:51.460925644 -0800
68+++ libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrt.c 2012-01-06 18:12:39.344924405 -0800
69@@ -39,14 +39,8 @@
70 We find the actual square root and half of its reciprocal
71 simultaneously. */
72
73-#ifdef __STDC__
74 double
75 __ieee754_sqrt (double b)
76-#else
77-double
78-__ieee754_sqrt (b)
79- double b;
80-#endif
81 {
82 if (__builtin_expect (b > 0, 1))
83 {
84@@ -132,3 +126,4 @@
85 }
86 return f_wash (b);
87 }
88+strong_alias (__ieee754_sqrt, __sqrt_finite)
89Index: libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c
90===================================================================
91--- libc.orig/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 2012-01-06 18:13:00.892924586 -0800
92+++ libc/sysdeps/powerpc/powerpc64/e5500/fpu/e_sqrtf.c 2012-01-06 18:15:27.992931106 -0800
93@@ -37,14 +37,8 @@
94 We find the reciprocal square root and use that to compute the actual
95 square root. */
96
97-#ifdef __STDC__
98 float
99 __ieee754_sqrtf (float b)
100-#else
101-float
102-__ieee754_sqrtf (b)
103- float b;
104-#endif
105 {
106 if (__builtin_expect (b > 0, 1))
107 {
108@@ -99,3 +93,4 @@
109 }
110 return f_washf (b);
111 }
112+strong_alias (__ieee754_sqrtf, __sqrtf_finite)
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch b/meta/recipes-core/eglibc/eglibc-2.15/stack-protector-test.patch
index dbf70a974f..dbf70a974f 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/stack-protector-test.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/use-sysroot-cxx-headers.patch b/meta/recipes-core/eglibc/eglibc-2.15/use-sysroot-cxx-headers.patch
index c06eebfac4..7f8225371c 100644
--- a/meta/recipes-core/eglibc/eglibc-2.14/use-sysroot-cxx-headers.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.15/use-sysroot-cxx-headers.patch
@@ -10,27 +10,33 @@ Upstream-Status: Inappropriate [OE-specific]
10 10
11--- a/configure.in 11--- a/configure.in
12+++ b/configure.in 12+++ b/configure.in
13@@ -1118,9 +1118,8 @@ if test -n "$sysheaders"; then 13@@ -1094,11 +1094,10 @@ if test -n "$sysheaders"; then
14 SYSINCLUDES="$SYSINCLUDES \
15 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`" 14 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
16 if test -n "$CXX"; then 15 if test -n "$CXX"; then
16 CXX_SYSINCLUDES=
17- cxxversion=`$CXX -dumpversion 2>&AS_MESSAGE_LOG_FD` && 17- cxxversion=`$CXX -dumpversion 2>&AS_MESSAGE_LOG_FD` &&
18 cxxmachine=`$CXX -dumpmachine 2>&AS_MESSAGE_LOG_FD` && 18 cxxmachine=`$CXX -dumpmachine 2>&AS_MESSAGE_LOG_FD` &&
19- cxxheaders=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" && 19 for d in include "$cxxmachine/include"; do
20+ cxxheaders=`$CXX -print-sysroot`"$prefix/include/c++" && 20- i=../../../../$d/c++/$cxxversion
21 CXX_SYSINCLUDES="-isystem $cxxheaders \ 21- cxxheaders=`$CXX -print-file-name="$i"` &&
22+ i="$prefix/$d/c++"
23+ cxxheaders=`$CXX -print-sysroot`"$i" &&
24 test "x$cxxheaders" != x && test "x$i" != "x$cxxheaders" &&
25 CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders \
22 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward" 26 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
23 fi
24--- a/configure 27--- a/configure
25+++ b/configure 28+++ b/configure
26@@ -5544,9 +5544,8 @@ if test -n "$sysheaders"; then 29@@ -5618,11 +5618,10 @@ if test -n "$sysheaders"; then
27 SYSINCLUDES="$SYSINCLUDES \
28 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`" 30 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
29 if test -n "$CXX"; then 31 if test -n "$CXX"; then
32 CXX_SYSINCLUDES=
30- cxxversion=`$CXX -dumpversion 2>&5` && 33- cxxversion=`$CXX -dumpversion 2>&5` &&
31 cxxmachine=`$CXX -dumpmachine 2>&5` && 34 cxxmachine=`$CXX -dumpmachine 2>&5` &&
32- cxxheaders=`$CXX -print-file-name=../../../../include/c++/`"$cxxversion" && 35 for d in include "$cxxmachine/include"; do
33+ cxxheaders=`$CXX -print-sysroot`"$prefix/include/c++" && 36- i=../../../../$d/c++/$cxxversion
34 CXX_SYSINCLUDES="-isystem $cxxheaders \ 37- cxxheaders=`$CXX -print-file-name="$i"` &&
38+ i="$prefix/$d/c++"
39+ cxxheaders=`$CXX -print-sysroot`"$i" &&
40 test "x$cxxheaders" != x && test "x$i" != "x$cxxheaders" &&
41 CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders \
35 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward" 42 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
36 fi
diff --git a/meta/recipes-core/eglibc/eglibc-2.15/x86_fenv.patch b/meta/recipes-core/eglibc/eglibc-2.15/x86_fenv.patch
new file mode 100644
index 0000000000..40c1c4d67e
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.15/x86_fenv.patch
@@ -0,0 +1,29 @@
1--- a/sysdeps/x86_64/fpu/bits/fenv.h
2+++ b/sysdeps/x86_64/fpu/bits/fenv.h
3@@ -112,16 +112,24 @@ __NTH (feraiseexcept (int __excepts))
4 {
5 /* One example of a invalid operation is 0.0 / 0.0. */
6 float __f = 0.0;
7-
8+# if defined __SSE_MATH__ || __WORDSIZE == 64
9 __asm__ __volatile__ ("divss %0, %0 " : : "x" (__f));
10+# else
11+ __asm__ __volatile__ ("fdiv %%st, %%st(0); fwait"
12+ : "=t" (__f) : "0" (__f));
13+# endif
14 (void) &__f;
15 }
16 if ((FE_DIVBYZERO & __excepts) != 0)
17 {
18 float __f = 1.0;
19 float __g = 0.0;
20-
21+# if defined __SSE_MATH__ || __WORDSIZE == 64
22 __asm__ __volatile__ ("divss %1, %0" : : "x" (__f), "x" (__g));
23+# else
24+ __asm__ __volatile__ ("fdivp %%st(1), %%st; fwait"
25+ : "=t" (__f) : "0" (__f), "u" (__g) : "st(1)");
26+# endif
27 (void) &__f;
28 }
29
diff --git a/meta/recipes-core/eglibc/eglibc-initial_2.14.bb b/meta/recipes-core/eglibc/eglibc-initial_2.15.bb
index 787c762609..787c762609 100644
--- a/meta/recipes-core/eglibc/eglibc-initial_2.14.bb
+++ b/meta/recipes-core/eglibc/eglibc-initial_2.15.bb
diff --git a/meta/recipes-core/eglibc/eglibc-locale_2.14.bb b/meta/recipes-core/eglibc/eglibc-locale_2.15.bb
index ce6c1d2320..ce6c1d2320 100644
--- a/meta/recipes-core/eglibc/eglibc-locale_2.14.bb
+++ b/meta/recipes-core/eglibc/eglibc-locale_2.15.bb
diff --git a/meta/recipes-core/eglibc/eglibc_2.14.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index ad2161e1dd..6d66342d59 100644
--- a/meta/recipes-core/eglibc/eglibc_2.14.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -1,12 +1,11 @@
1require eglibc.inc 1require eglibc.inc
2 2
3SRCREV = "15870" 3SRCREV = "16540"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r3"
7PR_append = "+svnr${SRCPV}" 6PR_append = "+svnr${SRCPV}"
8 7
9EGLIBC_BRANCH="eglibc-2_14" 8EGLIBC_BRANCH="eglibc-2_15"
10SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http \ 9SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http \
11 file://eglibc-svn-arm-lowlevellock-include-tls.patch \ 10 file://eglibc-svn-arm-lowlevellock-include-tls.patch \
12 file://IO-acquire-lock-fix.patch \ 11 file://IO-acquire-lock-fix.patch \
@@ -20,6 +19,8 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
20 file://eglibc-rpc-export-again.patch \ 19 file://eglibc-rpc-export-again.patch \
21 file://glibc-2.14-libdl-crash.patch \ 20 file://glibc-2.14-libdl-crash.patch \
22 file://use-sysroot-cxx-headers.patch \ 21 file://use-sysroot-cxx-headers.patch \
22 file://x86_fenv.patch \
23 file://ppc-sqrt_finite.patch \
23 " 24 "
24LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \ 25LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
25 file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ 26 file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
@@ -88,6 +89,15 @@ do_patch_append() {
88 bb.build.exec_func('do_fix_readlib_c', d) 89 bb.build.exec_func('do_fix_readlib_c', d)
89} 90}
90 91
92# for mips eglibc now builds syscall tables for all abi's
93# so we make sure that we choose right march option which is
94# compatible with o32,n32 and n64 abi's
95# e.g. -march=mips32 is not compatible with n32 and n64 therefore
96# we filter it out in such case -march=from-abi which will be
97# mips1 when using o32 and mips3 when using n32/n64
98
99TUNE_CCARGS_mips := "${@oe_filter_out('-march=mips32', '${TUNE_CCARGS}', d)}"
100
91# We need to ensure that all of the i386 and x86_64 headers are identical 101# We need to ensure that all of the i386 and x86_64 headers are identical
92# to support the multilib case. We do this by copying headers from x86_64 102# to support the multilib case. We do this by copying headers from x86_64
93# to i386 directories. Normally when hand building eglibc or a combined 103# to i386 directories. Normally when hand building eglibc or a combined