[GHC] #10454: ghc.exe: warning: _tzset from msvcrt is linked instead of __imp__tzset

GHC ghc-devs at haskell.org
Wed May 27 20:55:12 UTC 2015


#10454: ghc.exe: warning: _tzset from msvcrt is linked instead of __imp__tzset
-------------------------------------+-------------------------------------
        Reporter:  MetaMemoryT       |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Windows           |            Architecture:  x86_64
 Type of failure:  Incorrect         |  (amd64)
  warning at compile-time            |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Description changed by MetaMemoryT:

Old description:

> Getting strange linker warning anytime I compile anything.
>
> note: I am using minghc distribution:
> https://github.com/fpco/minghc/releases/download/2015-05-26/minghc-7.10.1-x86_64.exe
>

> {{{
> ghc.exe: warning: _tzset from msvcrt is linked instead of __imp__tzset
> ghc.exe: warning: WSACleanup from ws2_32 is linked instead of
> __imp_WSACleanup
> ghc.exe: warning: WSAStartup from ws2_32 is linked instead of
> __imp_WSAStartup
> ghc.exe: warning: WSACleanup from ws2_32 is linked instead of
> __imp_WSACleanup
> ghc.exe: warning: accept from ws2_32 is linked instead of __imp_accept
> ghc.exe: warning: inet_ntoa from ws2_32 is linked instead of
> __imp_inet_ntoa
> ghc.exe: warning: getnameinfo from ws2_32 is linked instead of
> __imp_getnameinfo
> ghc.exe: warning: getaddrinfo from ws2_32 is linked instead of
> __imp_getaddrinfo
> ghc.exe: warning: freeaddrinfo from ws2_32 is linked instead of
> __imp_freeaddrinfo
> ghc.exe: warning: LeaveCriticalSection from kernel32 is linked instead of
> __imp_LeaveCriticalSection
> ghc.exe: warning: EnterCriticalSection from kernel32 is linked instead of
> __imp_EnterCriticalSection
> ghc.exe: warning: DeleteCriticalSection from kernel32 is linked instead
> of __imp_DeleteCriticalSection
> ghc.exe: warning: DeleteCriticalSection from kernel32 is linked instead
> of __imp_DeleteCriticalSection
> ghc.exe: warning: InitializeCriticalSection from kernel32 is linked
> instead of __imp_InitializeCriticalSection
> ghc.exe: warning: InitializeCriticalSection from kernel32 is linked
> instead of __imp_InitializeCriticalSection
> }}}

New description:

 Getting strange linker warning anytime I compile `cabal test` from

 https://github.com/prowdsponsor/esqueleto.

 note: I am using minghc distribution:
 https://github.com/fpco/minghc/releases/download/2015-05-26/minghc-7.10.1-x86_64.exe


 {{{
 ghc.exe: warning: _tzset from msvcrt is linked instead of __imp__tzset
 ghc.exe: warning: WSACleanup from ws2_32 is linked instead of
 __imp_WSACleanup
 ghc.exe: warning: WSAStartup from ws2_32 is linked instead of
 __imp_WSAStartup
 ghc.exe: warning: WSACleanup from ws2_32 is linked instead of
 __imp_WSACleanup
 ghc.exe: warning: accept from ws2_32 is linked instead of __imp_accept
 ghc.exe: warning: inet_ntoa from ws2_32 is linked instead of
 __imp_inet_ntoa
 ghc.exe: warning: getnameinfo from ws2_32 is linked instead of
 __imp_getnameinfo
 ghc.exe: warning: getaddrinfo from ws2_32 is linked instead of
 __imp_getaddrinfo
 ghc.exe: warning: freeaddrinfo from ws2_32 is linked instead of
 __imp_freeaddrinfo
 ghc.exe: warning: LeaveCriticalSection from kernel32 is linked instead of
 __imp_LeaveCriticalSection
 ghc.exe: warning: EnterCriticalSection from kernel32 is linked instead of
 __imp_EnterCriticalSection
 ghc.exe: warning: DeleteCriticalSection from kernel32 is linked instead of
 __imp_DeleteCriticalSection
 ghc.exe: warning: DeleteCriticalSection from kernel32 is linked instead of
 __imp_DeleteCriticalSection
 ghc.exe: warning: InitializeCriticalSection from kernel32 is linked
 instead of __imp_InitializeCriticalSection
 ghc.exe: warning: InitializeCriticalSection from kernel32 is linked
 instead of __imp_InitializeCriticalSection
 }}}

--

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


More information about the ghc-tickets mailing list