diff options
| author | Harish Sadineni <Harish.Sadineni@windriver.com> | 2024-03-22 00:00:04 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-23 10:18:20 +0000 |
| commit | 62c184ed61431177dcb97de79b36261147c66a37 (patch) | |
| tree | 9a5d23ef1dd3af7590ba8ac121964a5faded082d /meta | |
| parent | f111c2a12028d2ecda198ee0182b6a3317b3d422 (diff) | |
| download | poky-62c184ed61431177dcb97de79b36261147c66a37.tar.gz | |
gcc: Oe-selftest failure analysis - fix for vect-simd test failures
In gcc vect module, the vect-simd-clone-10.c & vect-simd-clone-12.c tests are failed with below error, due to a bug in testcase:
xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files compilation terminated'
Detailed bug info & upstream fix is here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113899
Upstream Status: Backport [https://gcc.gnu.org/g:948dbc5ee45f9ffd5f41fd6782704081cc7c8c27]
(From OE-Core rev: 50b6b938ec91dee346642b95cdcb35043be1697c)
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-13.2.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-13.2.inc b/meta/recipes-devtools/gcc/gcc-13.2.inc index 32fddd11c2..603377a49a 100644 --- a/meta/recipes-devtools/gcc/gcc-13.2.inc +++ b/meta/recipes-devtools/gcc/gcc-13.2.inc | |||
| @@ -67,6 +67,7 @@ SRC_URI = "${BASEURI} \ | |||
| 67 | file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ | 67 | file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ |
| 68 | file://CVE-2023-4039.patch \ | 68 | file://CVE-2023-4039.patch \ |
| 69 | file://0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch \ | 69 | file://0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch \ |
| 70 | file://0027-Fix-gcc-vect-module-testcases.patch \ | ||
| 70 | " | 71 | " |
| 71 | SRC_URI[sha256sum] = "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da" | 72 | SRC_URI[sha256sum] = "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da" |
| 72 | 73 | ||
diff --git a/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch b/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch new file mode 100644 index 0000000000..4b89036814 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=948dbc5ee45f9ffd5f41fd6782704081cc7c8c27] | ||
| 2 | |||
| 3 | Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> | ||
| 4 | |||
| 5 | diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c | ||
| 6 | index ed63ff59cc0..009c849b7e7 100644 | ||
| 7 | --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c | ||
| 8 | +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c | ||
| 9 | @@ -1,3 +1,5 @@ | ||
| 10 | +/* Since this uses dg-additional-sources, need to specify `dg-do run` instead of the default. */ | ||
| 11 | +/* { dg-do run } */ | ||
| 12 | /* { dg-require-effective-target vect_simd_clones } */ | ||
| 13 | /* { dg-additional-options "-fopenmp-simd" } */ | ||
| 14 | /* { dg-additional-options "-mavx" { target avx_runtime } } */ | ||
| 15 | diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c | ||
| 16 | index c44471e35bc..4699a3f3c80 100644 | ||
| 17 | --- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c | ||
| 18 | +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c | ||
| 19 | @@ -1,3 +1,5 @@ | ||
| 20 | +/* Since this uses dg-additional-sources, need to specify `dg-do run` instead of the default. */ | ||
| 21 | +/* { dg-do run } */ | ||
| 22 | /* { dg-require-effective-target vect_simd_clones } */ | ||
| 23 | /* { dg-additional-options "-fopenmp-simd" } */ | ||
| 24 | /* { dg-additional-options "-mavx" { target avx_runtime } } */ | ||
| 25 | -- | ||
| 26 | 2.43.0 | ||
