diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-09-15 18:33:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-28 14:58:51 +0100 |
commit | 3ae6040295723a79a4dc1202992aaad6c388b797 (patch) | |
tree | 3d7587468790389e9f43b082528d800d63871a3e /meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch | |
parent | 46ad3b0e2c603ebbd510f59796bf44fcabe70aaa (diff) | |
download | poky-3ae6040295723a79a4dc1202992aaad6c388b797.tar.gz |
eglibc: Add recipes for 2.14
Backport Fedora patch to enable sunrpc as it was in 2.13
Fix cross-localedef-native to be able to build from eglibc 2.14 branch
Tested builds/boot of angstrom/console-image on qemu for arm,mips,ppc,i386,x86_64
(From OE-Core rev: bee3699510a31158f9e2095fe8b6e4cb75ed3651)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch b/meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch new file mode 100644 index 0000000000..dbf70a974f --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.14/stack-protector-test.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Test for -fstack-protector is compile only test. One might have the option but | ||
2 | might have build the compiler with --disable-ssp which means ssp should not be | ||
3 | enabled. Therefore we change the test to a link time test. It will fail if | ||
4 | libssp is not available. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | |||
10 | Index: libc/configure | ||
11 | =================================================================== | ||
12 | --- libc.orig/configure | ||
13 | +++ libc/configure | ||
14 | @@ -6937,7 +6937,7 @@ if test "${libc_cv_ssp+set}" = set; then | ||
15 | $as_echo_n "(cached) " >&6 | ||
16 | else | ||
17 | if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector | ||
18 | - -o /dev/null -c -x c /dev/null 1>&5' | ||
19 | + -o /dev/null -x c /dev/null 1>&5' | ||
20 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
21 | (eval $ac_try) 2>&5 | ||
22 | ac_status=$? | ||
23 | Index: libc/configure.in | ||
24 | =================================================================== | ||
25 | --- libc.orig/configure.in | ||
26 | +++ libc/configure.in | ||
27 | @@ -1787,7 +1787,7 @@ AC_SUBST(fno_unit_at_a_time) | ||
28 | |||
29 | AC_CACHE_CHECK(for -fstack-protector, libc_cv_ssp, [dnl | ||
30 | if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector | ||
31 | - -o /dev/null -c -x c /dev/null 1>&AS_MESSAGE_LOG_FD]) | ||
32 | + -o /dev/null -x c /dev/null 1>&AS_MESSAGE_LOG_FD]) | ||
33 | then | ||
34 | libc_cv_ssp=yes | ||
35 | else | ||