Skip to content

ghc-7.9.20140707 fails testsuite on OS X (10.10) Yosemite

Using ghc straight from the git repository, I just ran sh validate. The ghc that I used to build this new one was from https://github.com/ghcformacosx/ghc-dot-app (a neat packaging of GHC as it does not mess with system system files).

This is on Yosemite DP3, XCode 6 Beta 3.

OVERALL SUMMARY for test run started at Tue Jul  8 21:51:22 2014 BST
 0:45:11 spent to go through
    4039 total tests, which gave rise to
   15863 test cases, of which
   12161 were skipped

      28 had missing libraries
    3606 expected passes
      65 expected failures

       0 caused framework failures
       0 unexpected passes
       3 unexpected failures

Unexpected failures:
   perf/compiler  T4801 [stat too good] (normal)
   perf/compiler  T6048 [stat not good enough] (optasm)
   rts            T5435_dyn_asm [bad stdout] (normal)

The first two test seem not to be serious:

cd ./perf/compiler && '/Users/jrp/Projects/ghc/bindisttest/install   dir/bin/ghc' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T4801.hs   +RTS -V0 -tT4801.comp.stats --machine-readable -RTS -static >T4801.comp.stderr 2>&1
peak_megabytes_allocated value is too low:
(If this is because you have improved GHC, please
update the test so that GHC doesn't regress again)
    Expected    peak_megabytes_allocated: 70 +/-1%
    Lower bound peak_megabytes_allocated: 69 
    Upper bound peak_megabytes_allocated: 71 
    Actual      peak_megabytes_allocated: 68 
bytes allocated value is too low:
(If this is because you have improved GHC, please
update the test so that GHC doesn't regress again)
    Expected    bytes allocated: 464872776 +/-5%
    Lower bound bytes allocated: 441629137 
    Upper bound bytes allocated: 488116415 
    Actual      bytes allocated: 417565216 
*** unexpected failure for T4801(normal)
=====> T3064(normal) 1987 of 4039 [0, 1, 0]
=====> T6048(optasm) 1997 of 4039 [0, 1, 0] 
cd ./perf/compiler && '/Users/jrp/Projects/ghc/bindisttest/install   dir/bin/ghc' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T6048.hs -O -fasm  +RTS -V0 -tT6048.comp.stats --machine-readable -RTS  >T6048.comp.stderr 2>&1
bytes allocated value is too high:
    Expected    bytes allocated: 110646312 +/-10%
    Lower bound bytes allocated:  99581680 
    Upper bound bytes allocated: 121710944 
    Actual      bytes allocated: 125434224 
*** unexpected failure for T6048(optasm)

Not sure about T5435_dyn_asm

T5435_dyn_asm failed with ['modInitFunc1', 'modInitFunc2', 'success'], see all.T for details
Edited by jrp2014
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information