[Hackage] #421: Cabal shouldn't try to build split-objs when ghc reports it does not support it

#421: Cabal shouldn't try to build split-objs when ghc reports it does not support it ------------------------------+--------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: low | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: easy (<4 hours) | Ghcversion: 6.8.3 Platform: | ------------------------------+--------------------------------------------- It is possible to build ghc without support for object splitting. In such a case Cabal should refuse to work if the user enables split objs. All one has to do is to parse the output of `ghc --info` (which is in a `Read/Show` format). See also #24. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/421 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#421: Cabal shouldn't try to build split-objs when ghc reports it does not
support it
----------------------------+-----------------------------------------------
Reporter: duncan | Owner:
Type: defect | Status: new
Priority: low | Milestone: Cabal-1.8
Component: Cabal library | Version: HEAD
Severity: normal | Resolution:
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.3 | Platform:
----------------------------+-----------------------------------------------
Comment (by guest):
Note that {{{--info}}} was added in 6.8. I'm not sure what to do with
older versions.
Here's the commit in question:
{{{
Sun Aug 19 00:37:58 CEST 2007 Ian Lynagh

#421: Cabal shouldn't try to build split-objs when ghc reports it does not support it ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: low | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Comment (by duncan): With older versions there's nothing we can do, we just have to optimistically assume that it supports split-objs. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/421#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage