[GHC] #9785: Link error when using Data.Vector in separate compilation mode

GHC ghc-devs at haskell.org
Sat Nov 8 22:27:39 UTC 2014


#9785: Link error when using Data.Vector in separate compilation mode
-------------------------------------+-------------------------------------
              Reporter:  yugr        |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:  Windows     |     Architecture:  x86_64 (amd64)
       Type of failure:  GHC         |       Difficulty:  Unknown
  rejects valid program              |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 This is normal behavior: in the second case you are invoking ghc in one-
 shot mode, so you need to add `-package vector` explicitly to tell ghc to
 link against the `vector` package.

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


More information about the ghc-tickets mailing list