[GHC] #9614: ghc --print-(gcc|ld)-linker-flags broken
GHC
ghc-devs at haskell.org
Fri Sep 19 05:33:23 UTC 2014
#9614: ghc --print-(gcc|ld)-linker-flags broken
-------------------------------------+-------------------------------------
Reporter: rwbarton | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Keywords: | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Unknown | Type of failure:
Blocked By: | None/Unknown
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
{{{
rwbarton at morphism:~/ghc$ ghc --print-gcc-linker-flags
ghc: panic! (the 'impossible' happened)
(GHC version 7.8.3 for x86_64-unknown-linux):
Setting not found: "Gcc Linker flags"
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
rwbarton at morphism:~/ghc$ ghc --print-ld-linker-flags
ghc: panic! (the 'impossible' happened)
(GHC version 7.8.3 for x86_64-unknown-linux):
Setting not found: "Ld Linker flags"
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
In 2d2650bf65da3aede4e1c1ca4da623092b869dbe and subsequent commits
(between 7.6 and 7.8) these settings fields became "C compiler link flags"
and "ld flags". (I think, more or less.)
The real problem is that Cabal still looks for the settings fields "Gcc
Linker flags" and "Ld Linker flags". I guess this should be updated on the
Cabal side though. (They are empty on at least Linux x86_64, which I guess
is why nobody noticed before.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9614>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list