
#9421: Problems and workarounds when installing and using a 32bit GHC on 64bit Linux machine -------------------------------------+------------------------------------- Reporter: | Owner: MikolajKonarski MikolajKonarski | Status: new Type: bug | Milestone: Priority: normal | Version: 7.8.3 Component: Compiler | Keywords: Resolution: | Architecture: x86_64 (amd64) Operating System: Linux | Difficulty: Unknown Type of failure: Installing | Blocked By: GHC failed | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by MikolajKonarski): Duncan helped me with that one, so I have some hypotheses now. The old GHC 7.6.3 has no "ld flags" nor "Ld Linker flags" in the settings file, but it somehow produces "Ld Linker flags" in the {{{ghc --info}}} output and this is what cabal expects. However, GHC 7.8.3 has "ld flags" in the settings file and doesn't produce "Ld Linker flags" at all in {{{ghc --info}}}. This may be a bug or a half-done transition to another convention, but right now it fools the newest cabal. BTW, I can't probably specify "Ld Linker flags" manually in the settings file, because it's supposed to be a list of options, not a string, as the other options. Perhaps "ld flags" was intended to let people extend "Ld Linker flags" manually via the settings file? Anyway, it doesn't work right now. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9421#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler