diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-15.2.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc/0026-fix-pr90579-testcases.patch | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-15.2.inc b/meta/recipes-devtools/gcc/gcc-15.2.inc index 41e4c004dd..3583e40f55 100644 --- a/meta/recipes-devtools/gcc/gcc-15.2.inc +++ b/meta/recipes-devtools/gcc/gcc-15.2.inc | |||
@@ -71,6 +71,7 @@ SRC_URI = "${BASEURI} \ | |||
71 | file://0023-Fix-install-path-of-linux64.h.patch \ | 71 | file://0023-Fix-install-path-of-linux64.h.patch \ |
72 | file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \ | 72 | file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \ |
73 | file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ | 73 | file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ |
74 | file://0026-fix-pr90579-testcases.patch \ | ||
74 | " | 75 | " |
75 | 76 | ||
76 | UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources" | 77 | UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources" |
diff --git a/meta/recipes-devtools/gcc/gcc/0026-fix-pr90579-testcases.patch b/meta/recipes-devtools/gcc/gcc/0026-fix-pr90579-testcases.patch new file mode 100644 index 0000000000..bee147abc1 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc/0026-fix-pr90579-testcases.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Upstream-Status: Backport [https://gcc.gnu.org/cgit/gcc/commit/?id=679e24f5a751663998ff7202149a749e0f7251f9] | ||
2 | |||
3 | Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> | ||
4 | --- | ||
5 | gcc/testsuite/gcc.target/i386/pr90579.c | 2 +- | ||
6 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
7 | |||
8 | diff --git a/gcc/testsuite/gcc.target/i386/pr90579.c b/gcc/testsuite/gcc.target/i386/pr90579.c | ||
9 | index ab48a44063c..19081ec9fdf 100644 | ||
10 | --- a/gcc/testsuite/gcc.target/i386/pr90579.c | ||
11 | +++ b/gcc/testsuite/gcc.target/i386/pr90579.c | ||
12 | @@ -1,5 +1,5 @@ | ||
13 | /* { dg-do compile } */ | ||
14 | -/* { dg-options "-O3 -mavx2 -mfpmath=sse" } */ | ||
15 | +/* { dg-options "-O3 -mavx2 -mfpmath=sse -fno-pie" } */ | ||
16 | |||
17 | extern double r[6]; | ||
18 | extern double a[]; | ||
19 | -- | ||
20 | 2.49.0 | ||