[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2023-10-26 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969

--- Comment #6 from Patrick O'Neill  ---
Mixed up my hashes when copy/pasting.
r14-4875-g9cf2e7441ee passes locally/CI

[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2023-10-25 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969

--- Comment #5 from Patrick O'Neill  ---
More info:
QEMU v8.1.0
glibc 2.37

Only seen on rv32gcv

Fails locally/CI:
r14-4098-gbdb7d85dde5

Pass locally/CI:
r14-4098-gbdb7d85dde5

Fails on CI, passes locally (?):
r14-4876-g7b2984ad76c

[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2023-10-25 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969

--- Comment #4 from Patrick O'Neill  ---
Thinking about it more this doesn't really make sense since AFAIK QEMU is
compiled with the host compiler and shouldn't be affected by the GCC version
that compiles large_2.exe.

[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2023-10-25 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969

--- Comment #3 from Patrick O'Neill  ---
These may be real failures that manifest in QEMU depending on the GCC used to
compile it.

I built qemu with r14-4098-gbdb7d85dde5 which caused the failures.
> QEMU_CPU=rv32,vlen=128,v=true,vext_spec=v1.0,Zve32f=true,Zve64f=true 
> ../build-3/bin/qemu-riscv32 large_2.exe
>   0.3317 
> 2.24271998593667819112500193394291495E+1644
> STOP 1

Building again with r14-4875-g9cf2e7441ee, I can execute both the new 
> QEMU_CPU=rv32,vlen=128,v=true,vext_spec=v1.0,Zve32f=true,Zve64f=true 
> ./bin/qemu-riscv32 ./large_2.exe
_and_ the old exe:
> QEMU_CPU=rv32,vlen=128,v=true,vext_spec=v1.0,Zve32f=true,Zve64f=true 
> ./bin/qemu-riscv32 ../../tc-oct-24-baseline-flaky/build/large_2.exe
with no issues/failures.

When I run r14-4875-g9cf2e7441ee large_2.exe on r14-4098-gbdb7d85dde5 QEMU, I
get the same failure:
> QEMU_CPU=rv32,vlen=128,v=true,vext_spec=v1.0,Zve32f=true,Zve64f=true 
> ../build-3/bin/qemu-riscv32 ../../tc-oct-24-baseline-flaky/build/large_2.exe
>   0.3317 
> 2.24271998593667819112500193394291495E+1644
> STOP 1

So it seems to be a QEMU issue that is caused by GCC?

[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2023-10-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969

--- Comment #2 from Andreas Schwab  ---
They never fail on real hardware (hifive unleashed).

[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||testsuite-fail

--- Comment #1 from Andrew Pinski  ---
They all look fp related testcases which gives off simulator issue since you
said sometimes they work and sometimes they don't.