Opened 6 years ago

Closed 5 years ago

#8819 closed bug (fixed)

64bit Testsuite failures in unregisterised 7.8 RCs

Reported by: trommler Owned by:
Priority: high Milestone: 7.8.4
Component: Compiler Version: 7.8.1-rc2
Keywords: Cc: juhp@…
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Incorrect result at runtime Test Case:
Blocked By: #8849, #8933 Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


With the recent patches applied to RC1 I managed to bootstrap an unregisterised ghc. Running the testsuite I get the following failures on Linux x86_64:

Unexpected failures:
   ../../libraries/base/tests          fixed [bad stdout] (normal)
   ../../libraries/base/tests/Numeric  num010 [bad stdout] (normal)
   ../../libraries/process/tests       process007 [bad exit code] (normal)
   codeGen/should_compile              T7574 [stderr mismatch] (normal)
   codeGen/should_gen_asm              memcpy [asm mismatch] (normal)
   codeGen/should_gen_asm              memcpy-unroll [asm mismatch] (normal)
   codeGen/should_gen_asm              memcpy-unroll-conprop [asm mismatch] (normal)
   codeGen/should_run                  T2838 [bad stdout] (normal)
   lib/integer                         integerBits [bad stdout] (normal)
   lib/integer                         integerConversions [bad stdout] (normal)
   numeric/should_run                  T8726 [bad exit code] (normal)
   numeric/should_run                  arith002 [bad stdout] (normal)
   numeric/should_run                  arith003 [bad stdout] (normal)
   numeric/should_run                  arith004 [bad stdout] (normal)
   numeric/should_run                  arith005 [bad stdout] (normal)
   numeric/should_run                  arith011 [bad stdout] (normal)
   numeric/should_run                  arith012 [bad stdout] (normal)
   numeric/should_run                  arith014 [bad stdout] (normal)
   parser/should_run                   readRun002 [bad stdout] (normal)
   perf/compiler                       T1969 [stat too good] (normal)
   perf/compiler                       T3064 [stat too good] (normal)
   perf/compiler                       T783 [stat too good] (normal)
   perf/should_run                     T3736 [bad stderr] (normal)
   rts                                 T5423 [bad stderr] (normal)
   rts                                 T7815 [bad exit code] (threaded1)
   safeHaskell/check/pkg01             safePkg01 [bad stderr] (normal)

Change History (10)

comment:1 Changed 6 years ago by trommler

Type of failure: None/UnknownIncorrect result at runtime

comment:2 Changed 5 years ago by juhpetersen

Cc: juhp@… added
Priority: normalhigh
Version: 7.8.1-rc17.8.1-rc2

comment:3 Changed 5 years ago by juhpetersen

Operating System: Unknown/MultipleLinux
Summary: Testsuite failures in 7.8 RC164bit Testsuite failures in unregisterised 7.8 RCs

comment:4 Changed 5 years ago by trommler

Blocked By: 8933 added

I created a separate ticket (#8933) for the segfault in process007 and added stack traces and debug output.

comment:5 Changed 5 years ago by trommler

Milestone: 7.8.3

Now that #8933 is fixed, here is an update of branch ghc-7.8 on powerpc64:

Unexpected results from:
TEST="T4891 joao-circular ghcilink003 ghcilink004 ghcilink006 linker_unload divbyzero T5423 T5435_v_gcc testwsdeque T5435_v_asm T7919 T3424 T7815 T7574 jmp_tbl massive_array rangeTest T8628 ghcApi T8639_api tcrun045 dph-quickhull-vseg-fast dph-quickhull-copy-fast readRun002 T5550 T7702 T3016 T5321FD T5030 T4801 T5631 T783 T5642 T3064 parsing001 T1969 T5321Fun T5837 T8958 safePkg01 T3245 T3586 T3736 annrun01 T6135 T7689 T367 callstack001 dynCompileExpr barton-mangler-bug T5313 haddock.Cabal haddock.compiler haddock.base T7837 hpc_fork integerConversions integerBits cholewo-eval print022 enum01 fixed enum02 showDouble dph-nbody-copy-fast dph-nbody-vseg-fast T7600 cgrun018 T2838 cgrun044 cgrun034 cgrun014 encoding004 num010 num009 andy_cherry qq007 qq008 numrun012 arith014 arith002 arith003 T8726 arith005 arith011 arith004 arith012"

There are lots of arithmetic failures and at least all arith* test failures are regressions from 7.6.3. Also note the regressions in rts tests since the 7.8 RCs. Setting milestone to 7.8.3 because of those regressions.

Here are the details:

Unexpected failures:
   ../../libraries/base/tests          enum01 [bad stdout] (profasm,dyn,profthreaded,optllvm)
   ../../libraries/base/tests          enum01 [exit code non-0] (normal,hpc,threaded1)
   ../../libraries/base/tests          enum01 [bad stdout or stderr] (ghci)
   ../../libraries/base/tests          enum02 [bad stdout] (hpc,profasm,dyn,profthreaded,optllvm)
   ../../libraries/base/tests          fixed [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   ../../libraries/base/tests          fixed [bad stdout or stderr] (ghci)
   ../../libraries/base/tests          showDouble [bad stdout] (hpc,profasm,dyn,profthreaded,optllvm)
   ../../libraries/base/tests/IO       encoding004 [bad exit code] (threaded1)
   ../../libraries/base/tests/Numeric  num009 [bad stdout] (normal,threaded1)
   ../../libraries/base/tests/Numeric  num009 [bad stdout or stderr] (ghci)
   ../../libraries/base/tests/Numeric  num010 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   ../../libraries/base/tests/Numeric  num010 [bad stdout or stderr] (ghci)
   ../../libraries/hpc/tests/fork      hpc_fork [bad heap profile] (profasm)
   ../../libraries/random/tests        rangeTest [bad exit code] (normal,ghci,threaded1,dyn,profthreaded,optllvm)
   ../../libraries/random/tests        rangeTest [exit code non-0] (hpc,profasm)
   annotations/should_run              annrun01 [exit code non-0] (optllvm)
   codeGen/should_compile              T7574 [stderr mismatch] (normal,hpc,profasm)
   codeGen/should_compile              jmp_tbl [exit code non-0] (optllvm)
   codeGen/should_compile              massive_array [exit code non-0] (optllvm)
   codeGen/should_run                  T2838 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm,g1)
   codeGen/should_run                  T7600 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm,g1)
   codeGen/should_run                  T7600 [bad stdout or stderr] (ghci)
   codeGen/should_run                  cgrun014 [bad stdout] (hpc,profasm,dyn,profthreaded,optllvm)
   codeGen/should_run                  cgrun018 [bad stdout] (hpc,dyn,optllvm)
   codeGen/should_run                  cgrun034 [bad exit code] (hpc,profasm,dyn,profthreaded,optllvm)
   codeGen/should_run                  cgrun044 [bad stdout] (hpc,profasm,dyn,profthreaded,optllvm)
   concurrent/should_run               T367 [bad exit code] (profasm,profthreaded)
   dph/nbody                           dph-nbody-copy-fast [exit code non-0] (normal,threaded1)
   dph/nbody                           dph-nbody-vseg-fast [exit code non-0] (normal,threaded1)
   dph/quickhull                       dph-quickhull-copy-fast [exit code non-0] (normal,threaded1)
   dph/quickhull                       dph-quickhull-vseg-fast [exit code non-0] (normal,threaded1)
   driver                              T5313 [bad exit code] (normal,hpc,profasm,threaded1,profthreaded,optllvm)
   ghc-api                             T8628 [bad exit code] (normal)
   ghc-api                             T8639_api [bad exit code] (normal)
   ghc-api                             ghcApi [exit code non-0] (normal)
   ghc-api/T4891                       T4891 [bad exit code] (normal)
   ghc-api/dynCompileExpr              dynCompileExpr [bad exit code] (normal,hpc,threaded1,optllvm)
   ghci.debugger/scripts               print022 [bad stdout] (ghci)
   ghci/linking                        ghcilink003 [bad exit code] (normal)
   ghci/linking                        ghcilink004 [bad exit code] (normal)
   ghci/linking                        ghcilink006 [bad exit code] (normal)
   indexed-types/should_compile        T7837 [stderr mismatch] (profasm)
   lib/integer                         integerBits [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   lib/integer                         integerBits [bad stdout or stderr] (ghci)
   lib/integer                         integerConversions [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   lib/integer                         integerConversions [bad stdout or stderr] (ghci)
   numeric/should_run                  T8726 [bad exit code] (normal,hpc,profasm,ghci,threaded1,dyn,profthreaded,optllvm)
   numeric/should_run                  arith002 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   numeric/should_run                  arith002 [bad stdout or stderr] (ghci)
   numeric/should_run                  arith003 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   numeric/should_run                  arith003 [bad stdout or stderr] (ghci)
   numeric/should_run                  arith004 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   numeric/should_run                  arith004 [bad stdout or stderr] (ghci)
   numeric/should_run                  arith005 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   numeric/should_run                  arith005 [bad stdout or stderr] (ghci)
   numeric/should_run                  arith011 [bad stdout] (normal,hpc,threaded1,dyn,optllvm)
   numeric/should_run                  arith011 [exit code non-0] (profasm,profthreaded)
   numeric/should_run                  arith011 [bad stdout or stderr] (ghci)
   numeric/should_run                  arith012 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   numeric/should_run                  arith012 [bad stdout or stderr] (ghci)
   numeric/should_run                  arith014 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   numeric/should_run                  arith014 [bad stdout or stderr] (ghci)
   numeric/should_run                  numrun012 [bad stdout] (hpc,profasm,dyn,profthreaded,optllvm)
   parser/should_run                   readRun002 [bad stdout] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   parser/should_run                   readRun002 [bad stdout or stderr] (ghci)
   perf/compiler                       T1969 [stat not good enough] (normal)
   perf/compiler                       T3064 [stat not good enough] (normal)
   perf/compiler                       T4801 [stat not good enough] (normal)
   perf/compiler                       T5030 [stat not good enough] (normal)
   perf/compiler                       T5321FD [stat not good enough] (normal)
   perf/compiler                       T5321Fun [stat not good enough] (normal)
   perf/compiler                       T5631 [stat not good enough] (normal)
   perf/compiler                       T5642 [stat not good enough] (normal)
   perf/compiler                       T5837 [stat not good enough] (normal)
   perf/compiler                       T783 [stat not good enough] (normal)
   perf/compiler                       parsing001 [stat not good enough] (normal)
   perf/haddock                        haddock.Cabal [stat not good enough] (normal)
   perf/haddock                        haddock.base [stat not good enough] (normal)
   perf/haddock                        haddock.compiler [stat not good enough] (normal)
   perf/should_run                     T3245 [bad stdout or stderr] (ghci)
   perf/should_run                     T3586 [exit code non-0] (normal)
   perf/should_run                     T3736 [bad stderr] (normal)
   primops/should_run                  T6135 [bad stdout] (hpc,profasm,dyn,profthreaded,optllvm)
   primops/should_run                  T7689 [bad stdout] (hpc,profasm,dyn,profthreaded,optllvm)
   profiling/should_run                callstack001 [bad stdout] (prof)
   programs/andy_cherry                andy_cherry [exit code non-0] (hpc,profasm,dyn,profthreaded,optllvm)
   programs/barton-mangler-bug         barton-mangler-bug [exit code non-0] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   programs/cholewo-eval               cholewo-eval [bad stdout] (hpc,profasm,dyn,profthreaded,optllvm)
   programs/joao-circular              joao-circular [exit code non-0] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   quasiquotation/qq007                qq007 [exit code non-0] (profasm)
   quasiquotation/qq008                qq008 [exit code non-0] (profasm)
   roles/should_compile                T8958 [stderr mismatch] (normal)
   rts                                 T3424 [exit code non-0] (normal,threaded1)
   rts                                 T5423 [bad stderr] (normal)
   rts                                 T5435_v_asm [bad exit code] (normal)
   rts                                 T5435_v_gcc [bad exit code] (normal)
   rts                                 T7815 [bad exit code] (threaded1)
   rts                                 T7919 [bad exit code] (threaded1)
   rts                                 T7919 [exit code non-0] (hpc,profasm,dyn,profthreaded,optllvm)
   rts                                 divbyzero [bad exit code] (normal,hpc,profasm,ghci,threaded1,dyn,profthreaded,optllvm)
   rts                                 linker_unload [bad exit code] (normal)
   rts                                 testwsdeque [bad exit code] (threaded1)
   safeHaskell/check/pkg01             safePkg01 [bad stderr] (normal)
   simplCore/should_compile            T3016 [exit code non-0] (hpc,profasm,optllvm)
   simplCore/should_compile            T5550 [exit code non-0] (profasm)
   simplCore/should_compile            T7702 [stat not good enough] (hpc)
   simplCore/should_compile            T7702 [stat too good] (optllvm)
   simplCore/should_compile            T7702 [exit code non-0] (profasm)
   typecheck/should_run                tcrun045 [exit code non-0] (normal,hpc,profasm,threaded1,dyn,profthreaded,optllvm)
   typecheck/should_run                tcrun045 [bad stdout or stderr] (ghci)
Last edited 5 years ago by trommler (previous) (diff)

comment:6 Changed 5 years ago by trommler

Here are the test failures for x86_64 unregisterised:

Unexpected results from:
TEST="T4891 T5423 T7815 T7919 T7574 T8639_api tcrun045 readRun002 T5550 T3016 T7702 T1969 T783 T8958 safePkg01 T3736 T6135 T7689 T367 callstack001 andy_cherry barton-mangler-bug T5313 T7837 integerConversions integerBits cholewo-eval enum01 fixed enum02 showDouble cgrun018 cgrun034 cgrun044 cgrun014 T2838 num010 num009 memcpy-unroll-conprop memcpy memcpy-unroll qq007 qq008 numrun012 arith014 arith002 arith003 T8726 arith005 arith011 arith004 arith012"

comment:7 Changed 5 years ago by trommler

Blocked By: 8849 added

comment:8 Changed 5 years ago by thoughtpolice


Moving to 7.8.4.

comment:9 Changed 5 years ago by slyfox

I might have accidentally skipped something or didn't bother fixing in UNREG (but I think I've fixed all perf-unrelated breakages at least in master).

Real fixes:

Testsuite fixes (mostly disabled tests):

comment:10 Changed 5 years ago by thoughtpolice

Resolution: fixed
Status: newclosed

I was able to merge all these cleanly except eb64be7b40b7f29144ebbf9c947e729535a8fd3d and e1d77a1ae619efc4bfe7ce30d7c6b2031ed86f2f, but I think that's OK. All the core fixes were merged, thanks Sergei!

Note: See TracTickets for help on using tickets.