[GHC] #9297: Packages linked against certain Windows .dll files give warnings at runtime

GHC ghc-devs at haskell.org
Sun Oct 12 12:49:30 UTC 2014


#9297: Packages linked against certain Windows .dll files give warnings at runtime
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:  simonmar
  RyanGlScott                        |           Status:  new
                  Type:  bug         |        Milestone:
              Priority:  normal      |          Version:  7.8.2
             Component:  Runtime     |         Keywords:
  System                             |     Architecture:  x86_64 (amd64)
            Resolution:              |       Difficulty:  Unknown
      Operating System:  Windows     |       Blocked By:
       Type of failure:              |  Related Tickets:  #2283
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by hvr):

 * related:   => #2283


Comment:

 Fwiw, the code emitting that warning is in `rts/Linker.c`, and has the
 following comment attached:

 {{{#!c
 /* Ticket #2283.
    Long description: http://support.microsoft.com/kb/132044
    tl;dr:
      If C/C++ compiler sees __declspec(dllimport) ... foo ...
      it generates call *__imp_foo, and __imp_foo here has exactly
      the same semantics as in __imp_foo = GetProcAddress(..., "foo")
 */
 }}}

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


More information about the ghc-tickets mailing list