diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-04-16 11:08:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:12 +0100 |
commit | 6d27c16ec0c63da001a21f8e3157e7cbfa57e554 (patch) | |
tree | c902cc446b0a6b951ffd3ef69f900391edb733d7 /meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch | |
parent | 9b25b35456471d17f08681328cae899546fe419c (diff) | |
download | poky-6d27c16ec0c63da001a21f8e3157e7cbfa57e554.tar.gz |
glibc: Add recipes for 2.24 release
(From OE-Core rev: a0a10b4928c818c34fcd99e6a2bbb5db8cb60950)
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/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch b/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch deleted file mode 100644 index 2b889a94cf..0000000000 --- a/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | From 97fe7f1b23ea1f17533884b8fa7f7eb40087d558 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 5 Jan 2016 17:50:00 -0800 | ||
4 | Subject: [PATCH] When disabling SSE, make sure -fpmath is not set to use SSE | ||
5 | either | ||
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 | gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S | ||
12 | -mno-sse -mno-mmx | ||
13 | |||
14 | generates warning | ||
15 | /dev/null:1:0: warning: SSE instruction set disabled, using 387 | ||
16 | arithmetics | ||
17 | |||
18 | where as | ||
19 | |||
20 | gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S | ||
21 | -mno-sse -mno-mmx -mfpmath=387 | ||
22 | |||
23 | Generates no warnings | ||
24 | |||
25 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
26 | --- | ||
27 | Upstream-Status: Submitted | ||
28 | |||
29 | ChangeLog | 5 +++++ | ||
30 | sysdeps/i386/Makefile | 2 +- | ||
31 | 2 files changed, 6 insertions(+), 1 deletion(-) | ||
32 | |||
33 | diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile | ||
34 | index 168512f..70153b3 100644 | ||
35 | --- a/sysdeps/i386/Makefile | ||
36 | +++ b/sysdeps/i386/Makefile | ||
37 | @@ -89,7 +89,7 @@ ifeq ($(subdir),elf) | ||
38 | # the first 3 mm/xmm/ymm/zmm registers are used to pass vector parameters | ||
39 | # which must be preserved. | ||
40 | CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\ | ||
41 | - -mno-sse -mno-mmx) | ||
42 | + -mno-sse -mno-mmx -mfpmath=387) | ||
43 | |||
44 | tests-special += $(objpfx)tst-ld-sse-use.out | ||
45 | $(objpfx)tst-ld-sse-use.out: ../sysdeps/i386/tst-ld-sse-use.sh $(objpfx)ld.so | ||
46 | -- | ||
47 | 2.6.4 | ||
48 | |||