Expand list of GhcRTSWays to enable use of stack trace in parallel programs

Bug #1085612 reported by Michał J. Gajda on 2012-12-02
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ghc (Ubuntu)
Undecided
Unassigned

Bug Description

I noticed that Ubuntu, as well as Debian and original packages come without some 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 ghc-prof package would be increased by less than 1%.

Here is a patch for Ubuntu/Debian GHC 7.4.2 package, as well as upstream.

Michał J. Gajda (mgajda) wrote :

The attachment "Patch to build options" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch

Hi Michal, do you think this patch is still needed?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers