[Hackage] #820: cabal-install clobbers itself on multi-arch platforms

#820: cabal-install clobbers itself on multi-arch platforms ---------------------------------+------------------------------------------ Reporter: bos | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.8.0.6 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ On my Mac, I have 32-bit and 64-bit versions of GHC 7.0.2 installed, and cabal installs the object and interface files into the same directory. The {{{$arch}}} variable looks like it should do the right thing, but in fact it's expanded to whatever architecture cabal-install was built for, not the architecture that's supported by GHC itself. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/820 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#820: cabal-install clobbers itself on multi-arch platforms ---------------------------------+------------------------------------------ Reporter: bos | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.8.0.6 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Comment(by bos): Oops - I meant to be more specific. cabal installs both 32-bit and 64-bit object and interface files into the same directory, so the 32-bit library sees 64-bit interface files, or vice versa, and everything goes pear- shaped. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/820#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#820: cabal-install clobbers itself on multi-arch platforms ---------------------------------+------------------------------------------ Reporter: bos | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.8.0.6 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Comment(by duncan): Ah yes, so in fact we need the beginnings of cross-compilation support. We need to be able to specify or discover the target architecture. I see that as of ghc-7, ghc --info now reports its target platform: {{{ ,("Build platform","x86_64-unknown-linux") ,("Host platform","x86_64-unknown-linux") ,("Target platform","x86_64-unknown-linux") }}} Can you check what it uses on OSX 32 and 64 bit? -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/820#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#820: cabal-install clobbers itself on multi-arch platforms ---------------------------------+------------------------------------------ Reporter: bos | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.16 Component: cabal-install tool | Version: 1.8.0.6 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Changes (by kosmikus): * milestone: => cabal-install-0.16 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/820#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage