diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-02-01 23:49:10 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-20 10:26:12 +0000 |
commit | a488fd5b61c473065b35e0871d0a277207fff2db (patch) | |
tree | 2cc50b127c46b87ff207b6bef615799c1a805b7c /meta/recipes-core/glibc/glibc/0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch | |
parent | dda70ca5525594256904f5663cbbca58e2b33f3e (diff) | |
download | poky-a488fd5b61c473065b35e0871d0a277207fff2db.tar.gz |
glibc: Upgrade 2.20 -> 2.21
Drop CVE backports and ppc/fpu detection patch which is not needed anymore
Forward port eglibc option groups patch
Default to using glibc 2.21
Additional patches needed to appease -Werror option
Change-Id: I1873097cec8387ea9e8186a255122938fc28c976
(From OE-Core rev: 6617cc92076764d51f0190786f8d62b8c99ae984)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch b/meta/recipes-core/glibc/glibc/0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch new file mode 100644 index 0000000000..a6395b77bc --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 6f5639f6405ff9a42e4f71e7b0f18bddb68d992a Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 19 Feb 2015 03:23:45 +0000 | ||
4 | Subject: [PATCH] When disabling SSE also make sure that fpmath is not set to | ||
5 | use SSE as well | ||
6 | |||
7 | This fixes errors when we inject sse options through CFLAGS and now | ||
8 | that we have -Werror turned on by default this warning turns to become | ||
9 | error on x86 | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | --- | ||
15 | sysdeps/x86/Makefile | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile | ||
19 | index 19f5eca..827ea71 100644 | ||
20 | --- a/sysdeps/x86/Makefile | ||
21 | +++ b/sysdeps/x86/Makefile | ||
22 | @@ -1,6 +1,6 @@ | ||
23 | ifeq ($(subdir),elf) | ||
24 | CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\ | ||
25 | - -mno-sse -mno-mmx) | ||
26 | + -mno-sse -mno-mmx -mfpmath=387) | ||
27 | |||
28 | tests-special += $(objpfx)tst-ld-sse-use.out | ||
29 | $(objpfx)tst-ld-sse-use.out: ../sysdeps/x86/tst-ld-sse-use.sh $(objpfx)ld.so | ||
30 | -- | ||
31 | 2.1.4 | ||
32 | |||