[GHC] #14695: ghc --interactive error: "gcc: error: libgmp.so: No such file or directory"

GHC ghc-devs at haskell.org
Sun Jan 21 11:48:35 UTC 2018


#14695: ghc --interactive error: "gcc: error: libgmp.so: No such file or directory"
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 We debugged this with AndreasK on IRC, it turns out this part of the gcc
 command:

 {{{
 -B --print-file-name
 }}}

 causes gcc to not run in `--print-file-name` mode because `-B` is missing
 an argument, and `--print-file-name` is parsed as the argument for `-B`.

 So the question is now "why -B doesn't have an argument?".

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14695#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list