summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-29 22:27:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-02 05:52:10 -0700
commit5b8e46dbd01c13d156485ffb079f5917fed0b989 (patch)
tree907d646bf86003a5ed9cb3902a7e83710e1c8f8c /meta/recipes-core
parent26fbe842641dec877c1c576f06035426c9003d5a (diff)
downloadpoky-5b8e46dbd01c13d156485ffb079f5917fed0b989.tar.gz
eglibc: Bring in the fix for glibc bug #14459, #14195
Fixes strtod integer/buffer overflow bug as detailed below http://sourceware.org/ml/libc-alpha/2012-08/msg00202.html Remove rpc-bootstrap patch since its already applied upstream 2.16 branch (From OE-Core rev: 45c4215639d2e15069c11ccb28f71580a4306dd9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.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.16/rpc-bootstrap.patch63
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.16.bb3
2 files changed, 1 insertions, 65 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch b/meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
deleted file mode 100644
index 130a816f62..0000000000
--- a/meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1Upstream-Status: Pending
2Signed-off-by: Khem Raj <raj.khem@gmail.com>
3
4
5From libc-alpha-return-31199-listarch-libc-alpha=sources dot redhat dot com at sourceware dot org Tue Jul 03 19:54:27 2012
6Return-Path: <libc-alpha-return-31199-listarch-libc-alpha=sources dot redhat dot com at sourceware dot org>
7Delivered-To: listarch-libc-alpha at sources dot redhat dot com
8Received: (qmail 20151 invoked by alias); 3 Jul 2012 19:54:25 -0000
9Received: (qmail 20139 invoked by uid 22791); 3 Jul 2012 19:54:23 -0000
10X-SWARE-Spam-Status: No, hits=-4.8 required=5.0
11 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD
12X-Spam-Check-By: sourceware.org
13From: Mike Frysinger <vapier at gentoo dot org>
14To: libc-alpha at sourceware dot org
15Subject: [PATCH] sunrpc: fix rpc bootstrap builds
16Date: Tue, 3 Jul 2012 15:54:11 -0400
17Message-Id: <1341345251-31730-1-git-send-email-vapier@gentoo.org>
18Mailing-List: contact libc-alpha-help at sourceware dot org; run by ezmlm
19Precedence: bulk
20List-Id: <libc-alpha.sourceware.org>
21List-Subscribe: <mailto:libc-alpha-subscribe at sourceware dot org>
22List-Archive: <http://sourceware.org/ml/libc-alpha/>
23List-Post: <mailto:libc-alpha at sourceware dot org>
24List-Help: <mailto:libc-alpha-help at sourceware dot org>, <http://sourceware dot org/ml/#faqs>
25Sender: libc-alpha-owner at sourceware dot org
26Delivered-To: mailing list libc-alpha at sourceware dot org
27
28If you build & install glibc w/rpc disabled, you no longer have headers in
29/usr/include/rpc/ (this is expected). But if you try to build glibc w/rpc
30enabled, this gets into a bad state due to the new rpc helpers that get
31cross-compiled:
32
33$ make
34...
35x86_64-pc-linux-gnu-gcc -m32 -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
36 -include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
37 -MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
38rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
39compilation terminated.
40make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1
41
42Signed-off-by: Mike Frysinger <vapier@gentoo.org>
43
442012-07-03 Mike Frysinger <vapier@gentoo.org>
45
46 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47---
48 sunrpc/rpc_clntout.c | 2 +-
49 1 file changed, 1 insertion(+), 1 deletion(-)
50
51Index: libc/sunrpc/rpc_clntout.c
52===================================================================
53--- libc.orig/sunrpc/rpc_clntout.c 2012-07-04 16:09:16.000000000 -0700
54+++ libc/sunrpc/rpc_clntout.c 2012-07-04 18:04:34.498085075 -0700
55@@ -31,7 +31,7 @@
56 */
57 #include <stdio.h>
58 #include <string.h>
59-#include <rpc/types.h>
60+#include "rpc/types.h"
61 #include "rpc_parse.h"
62 #include "rpc_util.h"
63 #include "proto.h"
diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb
index 69803f7fa6..3b11892e68 100644
--- a/meta/recipes-core/eglibc/eglibc_2.16.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.16.bb
@@ -1,6 +1,6 @@
1require eglibc.inc 1require eglibc.inc
2 2
3SRCREV = "19922" 3SRCREV = "20393"
4 4
5DEPENDS += "gperf-native" 5DEPENDS += "gperf-native"
6PR = "r6" 6PR = "r6"
@@ -21,7 +21,6 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h
21 file://initgroups_keys.patch \ 21 file://initgroups_keys.patch \
22 file://eglibc_fix_findidx_parameters.patch \ 22 file://eglibc_fix_findidx_parameters.patch \
23 file://ppc_slow_ieee754_sqrt.patch \ 23 file://ppc_slow_ieee754_sqrt.patch \
24 file://rpc-bootstrap.patch \
25 file://e500-math_private.patch \ 24 file://e500-math_private.patch \
26 file://fileops-without-wchar-io.patch \ 25 file://fileops-without-wchar-io.patch \
27 file://add_resource_h_to_wait_h.patch \ 26 file://add_resource_h_to_wait_h.patch \