public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/113319] New: Random LTO test failures
@ 2024-01-11  0:50 hjl.tools at gmail dot com
  2024-01-11  0:59 ` [Bug testsuite/113319] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2024-01-11  0:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113319
           Summary: Random LTO test failures
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

For GCC configured for more than one ABIs, I got random LTO test failures, like

FAIL: gcc.dg/vect/vect-early-break-run_5.c -flto -ffat-lto-objects (test for
excess errors)
FAIL: gcc.dg/vect/vect-early-break-run_6.c -flto -ffat-lto-objects (test for
excess errors)
FAIL: gcc.dg/vect/vect-early-break-run_7.c -flto -ffat-lto-objects (test for
excess errors)

/usr/local/bin/ld: i386:x64-32 architecture of input file
`./vect-early-break-run_5.ltrans0.ltrans.o' is incompatible with i386:x86-64
output
collect2: error: ld returned 1 exit status
compiler exited with status 1
FAIL: gcc.dg/vect/vect-early-break-run_5.c -flto -ffat-lto-objects (test for
excess errors)
Excess errors: 
/usr/local/bin/ld: i386:x64-32 architecture of input file
`./vect-early-break-run_5.ltrans0.ltrans.o' is incompatible with i386:x86-64
output

The problem is that with

$ make check RUNTESTFLAGS="--target_board='unix{-m32,-mx32,}'"

the same LTO test may run at the same time for different ABIs.  In this case,
they are -m64 and -mx32.  Since the same IR filenames are used for both runs,
we can get conflicts at random.

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

end of thread, other threads:[~2024-01-11 14:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-11  0:50 [Bug lto/113319] New: Random LTO test failures hjl.tools at gmail dot com
2024-01-11  0:59 ` [Bug testsuite/113319] " pinskia at gcc dot gnu.org
2024-01-11  1:04 ` hjl.tools at gmail dot com
2024-01-11  9:04 ` rguenth at gcc dot gnu.org
2024-01-11 11:31 ` tnfchris at gcc dot gnu.org
2024-01-11 14:46 ` cvs-commit at gcc dot gnu.org
2024-01-11 14:47 ` tnfchris 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).