[GHC] #15736: Testsuite failures from validate --slow

GHC ghc-devs at haskell.org
Wed Dec 12 19:33:32 UTC 2018


#15736: Testsuite failures from validate --slow
-------------------------------------+-------------------------------------
        Reporter:  jrp               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:
       Component:  Test Suite        |              Version:  8.6.1
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  Incorrect result  |            Test Case:
  at runtime                         |  EtaExpandLevPoly T14936 T15349
                                     |  T2783 T4334 T7919 haddock.Cabal
                                     |  haddock.base haddock.compiler
                                     |  hpc_fork plugin-recomp-change
                                     |  plugin-recomp-change-prof recomp007
                                     |  space_leak_001
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by jrp):

 Now we get, with `validate --slow`
 {{{
 "inplace/bin/ghc-stage1" -hisuf p_hi -osuf  p_o -hcsuf p_hc -static -prof
 -eventlog  -O0 -H64m -Wall -fllvm-fill-undef-with-garbage    -Werror
 -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header
 -Iincludes/dist-ghcconstants/header   -this-unit-id ghc-8.7 -hide-all-
 packages -i -icompiler/backpack -icompiler/basicTypes -icompiler/cmm
 -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci
 -icompiler/hsSyn -icompiler/iface -icompiler/llvmGen -icompiler/main
 -icompiler/nativeGen -icompiler/parser -icompiler/prelude
 -icompiler/profiling -icompiler/rename -icompiler/simplCore
 -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn
 -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils
 -icompiler/hieFile -icompiler/stage2/build -Icompiler/stage2/build
 -icompiler/stage2/build/./autogen -Icompiler/stage2/build/./autogen
 -Icompiler/. -Icompiler/parser -Icompiler/utils
 -Icompiler/../rts/dist/build -Icompiler/stage2 -Icompiler/stage2/build/.
 -Icompiler/stage2/build/parser -Icompiler/stage2/build/utils
 -Icompiler/stage2/build/../rts/dist/build -Icompiler/stage2/build/stage2
 -optP-DGHCI -optP-DINTEGER_GMP -optP-include
 -optPcompiler/stage2/build/./autogen/cabal_macros.h -package-id
 array-0.5.2.0 -package-id base-4.12.0.0 -package-id binary-0.8.6.0
 -package-id bytestring-0.10.9.0 -package-id containers-0.6.0.1 -package-id
 deepseq-1.4.4.0 -package-id directory-1.3.3.1 -package-id filepath-1.4.2.1
 -package-id ghc-boot-8.7 -package-id ghc-boot-th-8.7 -package-id ghc-
 heap-8.7 -package-id ghci-8.7 -package-id hpc-0.6.0.3 -package-id integer-
 gmp-1.0.2.0 -package-id process-1.6.3.0 -package-id template-
 haskell-2.15.0.0 -package-id terminfo-0.4.1.2 -package-id time-1.9.2
 -package-id transformers-0.5.5.0 -package-id unix-2.7.2.2 -Wall -Wno-name-
 shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-
 instances -Wnoncanonical-monoid-instances -this-unit-id ghc -XHaskell2010
 -XNoImplicitPrelude -optc-DTHREADED_RTS -DGHCI_TABLES_NEXT_TO_CODE
 -DSTAGE=2 -Rghc-timing -O -dcore-lint -dno-debug-output -DDEBUG -Wcpp-
 undef  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances
 -outputdir compiler/stage2/build    -c compiler/simplCore/Simplify.hs -o
 compiler/stage2/build/Simplify.p_o -dyno
 compiler/stage2/build/Simplify.dyn_o

 compiler/stranal/WwLib.hs:1187:1: error: [-Wunused-top-binds, -Werror
 =unused-top-binds]
     Defined but not used: ‘mk_seq_case’
      |
 1187 | mk_seq_case arg body = Case (Var arg) (sanitiseCaseBndr arg)
 (exprType body) [(DEFAULT, [], body)]
      | ^^^^^^^^^^^

 compiler/stranal/WwLib.hs:1198:1: error: [-Wunused-top-binds, -Werror
 =unused-top-binds]
     Defined but not used: ‘sanitiseCaseBndr’
      |
 1198 | sanitiseCaseBndr id = id `setIdInfo` vanillaIdInfo
      | ^^^^^^^^^^^^^^^^
 <<ghc: 507709552 bytes, 75 GCs, 16770833/55221968 avg/max bytes residency
 (7 samples), 113M in use, 0.001 INIT (0.018 elapsed), 0.907 MUT (1.497
 elapsed), 1.220 GC (1.406 elapsed) :ghc>>
 make[1]: *** [compiler/ghc.mk:445: compiler/stage2/build/WwLib.p_o] Error
 1
 make[1]: *** Waiting for unfinished jobs....
 <<ghc: 2847342664 bytes, 211 GCs, 31710256/110335832 avg/max bytes
 residency (8 samples), 223M in use, 0.002 INIT (0.017 elapsed), 5.451 MUT
 (6.374 elapsed), 2.243 GC (2.444 elapsed) :ghc>>
 <<ghc: 2368055040 bytes, 134 GCs, 28858221/108530312 avg/max bytes
 residency (8 samples), 222M in use, 0.001 INIT (0.012 elapsed), 4.615 MUT
 (5.280 elapsed), 2.222 GC (2.591 elapsed) :ghc>>
 <<ghc: 11441937848 bytes, 558 GCs, 47791642/151205832 avg/max bytes
 residency (10 samples), 368M in use, 0.001 INIT (0.014 elapsed), 17.708
 MUT (18.743 elapsed), 5.215 GC (5.399 elapsed) :ghc>>
 <<ghc: 5521836112 bytes, 279 GCs, 35070175/120578328 avg/max bytes
 residency (9 samples), 270M in use, 0.001 INIT (0.005 elapsed), 8.392 MUT
 (9.054 elapsed), 3.044 GC (3.306 elapsed) :ghc>>
 <<ghc: 10619236008 bytes, 387 GCs, 52617828/144595632 avg/max bytes
 residency (10 samples), 371M in use, 0.001 INIT (0.012 elapsed), 12.136
 MUT (12.717 elapsed), 4.838 GC (4.946 elapsed) :ghc>>
 <<ghc: 221887050216 bytes, 6533 GCs, 240221534/485424536 avg/max bytes
 residency (48 samples), 1389M in use, 0.001 INIT (0.002 elapsed), 287.449
 MUT (425.013 elapsed), 99.896 GC (107.434 elapsed) :ghc>>
 make: *** [Makefile:128: all] Error 2
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15736#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list