#7470: Patch to enable GHC runtime system with thr_debug_p options...
Reporter:  MichalGajda       |          Owner:                   
    Type:  bug               |         Status:  new              
Priority:  normal            |      Component:  Build System     
 Version:  7.4.2             |       Keywords:  RTS, BuildOptions
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple 
 Failure:  None/Unknown      |      Blockedby:                   
Blocking:                    |        Related:                   
 I noticed that your default packages come without some now essential
 variants of threaded debugging binaries.

 A recent change added of printing a stack trace with -xc option requires
 using both -ticky and profiling compile options,
 which in turn forces program to be compiled in a -debug RTS way.
 Since stack trace looks like indispensable debugging tool, and convenient
 parallelization is strength of Haskell,
 I wonder is there any remaining reason to leave beginners with a cryptic
 error message when they try to debug a parallel or threaded application,
 and want to take advantage of stack trace?

 The resulting increase in package size would be increased by less than 1%.
 Actually, given a small increase in size, one wonders if there is any
 reason to omit _any_ GhcRTSWays from default GHC build?

 Note that this bug probably also affects 7.6 releases.

Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7470>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

Glasgow-haskell-bugs mailing list

Reply via email to