Patch to enable GHC runtime system with thr_debug_p options...
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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |