mirror of
https://git.yoctoproject.org/poky
synced 2026-06-06 21:52:40 +02:00
gcc: Oe-selftest failure analysis - fix for pr90579.c test failures
When gcc build with PIE enabled the following tests were getting failed: FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+40 FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+32 FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+24 FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+16 Detailed bug info & upstream fix is here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118885 Upstream Status: Backport [https://gcc.gnu.org/cgit/gcc/commit/?id=679e24f5a751663998ff7202149a749e0f7251f9] (From OE-Core rev: 7641e08044203ac9dde9a53b91bd01f9432d11f2) Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
920334997f
commit
a6ce306fd3
@@ -71,6 +71,7 @@ SRC_URI = "${BASEURI} \
|
||||
file://0023-Fix-install-path-of-linux64.h.patch \
|
||||
file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \
|
||||
file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \
|
||||
file://0026-fix-pr90579-testcases.patch \
|
||||
"
|
||||
|
||||
UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources"
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
Upstream-Status: Backport [https://gcc.gnu.org/cgit/gcc/commit/?id=679e24f5a751663998ff7202149a749e0f7251f9]
|
||||
|
||||
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
||||
---
|
||||
gcc/testsuite/gcc.target/i386/pr90579.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gcc/testsuite/gcc.target/i386/pr90579.c b/gcc/testsuite/gcc.target/i386/pr90579.c
|
||||
index ab48a44063c..19081ec9fdf 100644
|
||||
--- a/gcc/testsuite/gcc.target/i386/pr90579.c
|
||||
+++ b/gcc/testsuite/gcc.target/i386/pr90579.c
|
||||
@@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
-/* { dg-options "-O3 -mavx2 -mfpmath=sse" } */
|
||||
+/* { dg-options "-O3 -mavx2 -mfpmath=sse -fno-pie" } */
|
||||
|
||||
extern double r[6];
|
||||
extern double a[];
|
||||
--
|
||||
2.49.0
|
||||
Reference in New Issue
Block a user