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

#317: filter -threaded when profiling is on ----------------------------+----------------------------------------------- Reporter: gbacon | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: | ----------------------------+----------------------------------------------- As a service to the community, please filter -threaded when profiling is on. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/317 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#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 Comment: 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

#317: filter -threaded when profiling is on ----------------------------+----------------------------------------------- Reporter: gbacon | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: minor | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Changes (by mornfall): * priority: low => normal Comment: This breaks --enable-*-profiling for darcs as well. Since the autoconf- based build knows about this and we are trying to move to purely cabal- based solution, I use this as a justification for the priority bump. Thanks Duncan! -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/317#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#317: filter -threaded when profiling is on ----------------------------+----------------------------------------------- Reporter: gbacon | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: minor | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by duncan): http://hackage.haskell.org/trac/ghc/ticket/886 It seems that this got fixed in 6.10 so we should only filter it for ghc < 6.10. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/317#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#317: filter -threaded when profiling is on ----------------------------+----------------------------------------------- Reporter: gbacon | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: minor | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by alexeevg): darcs send doesn't work on my system, so I thought I'd attach my patch here -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/317#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#317: filter -threaded when profiling is on
----------------------------+-----------------------------------------------
Reporter: gbacon | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Cabal library | Version: HEAD
Severity: minor | Resolution: fixed
Keywords: | Difficulty: very easy (<1 hour)
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
{{{
Thu Jan 22 01:44:25 GMT 2009 Duncan Coutts
participants (1)
-
Hackage