public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/113899] New: Vect module test failures while running on remote host
@ 2024-02-13  8:37 sadineniharish8446 at gmail dot com
  2024-02-13 21:04 ` [Bug testsuite/113899] Vect module test failures while running on remote host due to default dg-do set to compile and additional-sources being used pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sadineniharish8446 at gmail dot com @ 2024-02-13  8:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113899

            Bug ID: 113899
           Summary: Vect module test failures while running on remote host
           Product: gcc
           Version: 13.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sadineniharish8446 at gmail dot com
  Target Milestone: ---

We've seen a few test failures on gcc vect module, while running gcc testsuite
on Yocto framework for the custom target with Remote host testing via ssh .
Below is the error message,
         xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with
multiple files
         compilation terminated.
         compiler exited with status 1
         FAIL: gcc.dg/vect/vect-simd-clone-12.c -flto -ffat-lto-objects (test
for excess errors)
         Excess errors:
         xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with
multiple files
         compilation terminated

Below is the cmd causing the error:
/poky/build2-st/tmp/work/core2-64-poky-linux/gcc-runtime/13.2.0/gcc-13.2.0/build.x86_64-poky-linux.x86_64-poky-linux/gcc/xgcc
-B/poky/build2-st/tmp/work/core2-64-poky-linux/gcc-runtime/13.2.0/gcc-13.2.0/build.x86_64-poky-linux.x86_64-poky-linux/gcc/

/poky/build2-st/tmp/work-shared/gcc-13.2.0-r0/gcc-13.2.0/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c
   
--sysroot=/poky/build2-st/tmp/work/core2-64-poky-linux/gcc-runtime/13.2.0/recipe-sysroot
-fdiagnostics-plain-output
--sysroot=/poky/build2-st/tmp/work/core2-64-poky-linux/gcc-runtime/13.2.0/recipe-sysroot
 -msse2 -ftree-vectorize -fno-tree-loop-distribute-patterns
-fno-vect-cost-model -fno-common -O2 -fdump-tree-vect-details -fopenmp-simd 
/poky/build2-st/tmp/work-shared/gcc-13.2.0-r0/gcc-13.2.0/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12a.c
-dumpbase "" -S -o vect-simd-clone-12.s 
There are two .c files (vect-simd-clone-12.c & vect-simd-clone-12a.c) are
passed to test case.

As per our analysis,
- When the test suite executed on host machine (w/o Remote host testing), the
'-o' option is passed with .exe file as output (eg: -dumpbase "" -o
vect-simd-clone-12.exe ). In this case, the two .c files are compiled and .exe
is generating and no issues with test execution.
- In remote tesing with ssh, there is an additional '-S' option is passed with
"-o vect-simd-clone-12.s" (See above given test command), here the compiler is
trying to compile both .c files and forced to create a single assembly file as
output and fails with below error.
xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple
files

This might be a bug in test suite when doing remote testing.
Please confirm the issue and let us know if any further inputs needed.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-15  9:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13  8:37 [Bug testsuite/113899] New: Vect module test failures while running on remote host sadineniharish8446 at gmail dot com
2024-02-13 21:04 ` [Bug testsuite/113899] Vect module test failures while running on remote host due to default dg-do set to compile and additional-sources being used pinskia at gcc dot gnu.org
2024-02-13 21:46 ` pinskia at gcc dot gnu.org
2024-02-13 21:52 ` pinskia at gcc dot gnu.org
2024-02-14 13:41 ` cvs-commit at gcc dot gnu.org
2024-02-14 13:42 ` pinskia at gcc dot gnu.org
2024-02-15  8:55 ` sadineniharish8446 at gmail dot com
2024-02-15  9:05 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).