[Hackage] #317: filter -threaded when profiling is on

Hackage trac at galois.com
Tue Aug 5 13:02:19 EDT 2008

#317: filter -threaded when profiling is on
  Reporter:  gbacon         |        Owner:                     
      Type:  enhancement    |       Status:  new                
  Priority:  low            |    Milestone:                     
 Component:  Cabal library  |      Version:  HEAD               
  Severity:  minor          |   Resolution:                     
  Keywords:                 |   Difficulty:  very easy (<1 hour)
Ghcversion:  6.8.2          |     Platform:                     
Changes (by duncan):

  * priority:  normal => low
  * difficulty:  normal => very easy (<1 hour)
  * severity:  normal => minor


 For context, GHC rejects the combination of threaded and profiling. Some
 projects specify `ghc-options: -threaded` which means when some other
 developer comes along to profile this executable they bump into the error.

 So perhaps Cabal should just filter out the option when building profiling
 executables and warn that it's doing so, since changing to the single
 threaded rts may have other behavioural effects.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/317#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list