[GHC] #7706: iOS patch no 5: pass host OS and arch to cabal

#7706: iOS patch no 5: pass host OS and arch to cabal ------------------------------+--------------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: ------------------------------+--------------------------------------------- WARNING: If this cabal patch (https://github.com/haskell/cabal/issues/1184#issuecomment-13761018 - adds --host-os and --host-arch options) isn't applied, then *this patch will break all cross compiling*. Pass the correct host-os and host-arch values to cabal. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7706 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7706: iOS patch no 5: pass host OS and arch to cabal ------------------------------+--------------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: patch Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: ------------------------------+--------------------------------------------- Changes (by StephenBlackheath): * status: new => patch -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7706#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7706: iOS patch no 5: pass host OS and arch to cabal ------------------------------+--------------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: patch Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: ------------------------------+--------------------------------------------- Comment(by StephenBlackheath): lukexi points out that Simon M said (in Cabal issue 1184) that it would be better to extract the hostOS and hostArch from the ghc passed to cabal via --with-ghc. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7706#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7706: iOS patch no 5: pass host OS and arch to cabal ------------------------------+--------------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: infoneeded Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: ------------------------------+--------------------------------------------- Changes (by StephenBlackheath): * status: patch => infoneeded Comment: I'll change it to infoneeded because this patch really isn't ready. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7706#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7706: iOS patch no 5: pass host OS and arch to cabal ----------------------------------+----------------------------------------- Reporter: StephenBlackheath | Owner: Type: bug | Status: closed Priority: normal | Component: Compiler Version: 7.7 | Resolution: invalid Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Blockedby: | Blocking: Related: | ----------------------------------+----------------------------------------- Changes (by StephenBlackheath): * status: infoneeded => closed * resolution: => invalid Comment: We won't do this patch. Cabal is instead going to infer the hostOS and hostArch from ghc instead of passing it explictly. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7706#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC