summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-7.3.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2018-02-23 12:41:23 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-03 17:08:28 +0000
commit978b804b92b069f8f5a75f3390697e94a1bf907f (patch)
tree246a2dd67ccc3f5d5297fa70278812c2d0f48566 /meta/recipes-devtools/gcc/gcc-7.3.inc
parent7620dafe7358f017a8cd558b480af73896768f04 (diff)
downloadopenembedded-core-978b804b92b069f8f5a75f3390697e94a1bf907f.tar.gz
openembedded-core-978b804b92b069f8f5a75f3390697e94a1bf907f.tar.bz2
openembedded-core-978b804b92b069f8f5a75f3390697e94a1bf907f.zip
gcc: Fix test case issue when SSE is not enabled
Whenever "-mno-sse" is used, "-mfpmath" should be set to 387. The test case should be modified accordingly as below: /* { dg-additional-options "-mno-sse -mfpmath=387 " { target { i?86-*-* x86_64-*-* } } } */ Original patch from: RAGHUNATH LOLUR <raghunath.lolur@kpit.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.3.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.3.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc
index 724f9c32a0..da236e50c0 100644
--- a/meta/recipes-devtools/gcc/gcc-7.3.inc
+++ b/meta/recipes-devtools/gcc/gcc-7.3.inc
@@ -74,6 +74,7 @@ SRC_URI = "\
file://0048-gcc-Enable-static-PIE.patch \
file://fix-segmentation-fault-precompiled-hdr.patch \
file://0050-RISC-V-Handle-non-legitimate-address-in-riscv_legiti.patch \
+ file://no-sse-fix-test-case-failures.patch \
${BACKPORTS} \
"
BACKPORTS = "\