Skip to content

LLVM: profthreaded failures when GHC built with llvm

When GHC is built with LLVM there are a large number of testsuite failures, all in the 'profthreaded' way. Otherwise things work great. The failures are segfault failures.

testsuite run attach of GHC built on 64bit linux with ghc-7.0.3 with the llvm backend (llvm-2.8)

Can't attach full log as too big but summary is

OVERALL SUMMARY for test run started at Wed Apr 27 00:43:07 PDT 2011
    2727 total tests, which gave rise to
   12743 test cases, of which
       0 caused framework failures
    2377 were skipped

   10003 expected passes
     292 expected failures
       1 unexpected passes
      70 unexpected failures

Unexpected passes:
   conc016(threaded2)

Unexpected failures:
   1185(threaded1)
   2783(profthreaded)
   4808(profthreaded)
   T3016(optllvm)
   T3807(normal)
   T3822(hpc,ghci)
   annrun01(normal,hpc,optasm,ghci,threaded1,threaded2,optllvm)
   arr003(profthreaded)
   arr004(profthreaded)
   arr007(profthreaded)
   arr008(profthreaded)
   cgrun016(profthreaded)
   cgrun045(profthreaded)
   cgrun051(profthreaded)
   cgrun059(profthreaded)
   cgrun064(normal,hpc,optasm,profasm,ghci,threaded1,threaded2,profthreaded,optllvm)
   conc009(profthreaded)
   conc021(profthreaded)
   conc040(profthreaded)
   conc064(profthreaded)
   conc068(profthreaded)
   dph-diophantine-opt(normal,threaded1,threaded2)
   dsrun005(profthreaded)
   dsrun007(profthreaded)
   dsrun008(profthreaded)
   dynamic001(normal,hpc,optasm,profasm,ghci,threaded1,threaded2,profthreaded,optllvm)
   exceptions001(profthreaded)
   exitWith001(profthreaded)
   ffi007(profthreaded)
   ffi008(profthreaded)
   forkprocess01(threaded1)
   fptrfail01(profthreaded)
   getDirContents002(profthreaded)
   getGroupEntryForName(profthreaded)
   getUserEntryForName(profthreaded)
   hpc_markup_multi_001(normal)
   hpc_markup_multi_002(normal)
   hpc_markup_multi_003(normal)
   openFile002(profthreaded)
   spec001(normal,hpc,optasm,profasm,optllvm)
   system001(profthreaded)
Edited by dterei
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information