This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sim/10066] New: Intermittent failures in powerpc simulator


When running the gcc testsuite for target=powerpc-eabisim, a number of test
cases fail intermittently -- they pass or fail randomly.  It appears that the
simulator is not returning the correct exit code.

When run using gdb, all of the test cases pass consistently.

Randomly failing test cases:
   gcc.c-torture/execute/builtins/fprintf.c
   gcc.c-torture/execute/builtins/fputs.c
   gcc.c-torture/execute/builtins/printf.c
   gcc.c-torture/execute/20020406-1.c
   gcc.c-torture/execute/fprintf-1.c
   gcc.c-torture/execute/fprintf-chk-1.c
   gcc.c-torture/execute/printf-chk-1.c
   gcc.c-torture/execute/va-arg-21.c
   gcc.c-torture/execute/vfprintf-1.c
   gcc.c-torture/execute/vfprintf-chk-1.c
   gcc.dg/packed-array.c
   gcc.dg/matrix/matrix-2.c 

To reproduce:  build gcc and sim using combined method:
http://www.gnu.org/software/gcc/simtest-howto.html.  configure params: 
--target=powerpc-eabisim --prefix=/home/eager/Xilinx/ppc/combined-plain/install
--enable-languages=c --disable-nls --disable-build-warnings --disable-libssp

In build, run 'make check-gcc RUNTESTFLAGS="execute.exp -v
--target_board=powerpc-sim"' or to run one case: 'make check-gcc
RUNTESTFLAGS="execute.exp=va-arg-21.c -v --target_board=powerpc-sim"'

-- 
           Summary: Intermittent failures in powerpc simulator
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: sim
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: eager at eagercon dot com
                CC: gdb-prs at sourceware dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-eabisim


http://sourceware.org/bugzilla/show_bug.cgi?id=10066

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]