[GHC] #9932: GHC fails to build when cross compiling for mingw with the message "Threads not supported"

GHC ghc-devs at haskell.org
Wed Aug 26 23:50:04 UTC 2015


#9932: GHC fails to build when cross compiling for mingw with the message "Threads
not supported"
-------------------------------------+-------------------------------------
        Reporter:  Kritzefitz        |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Build System      |                 Version:  7.8.4
      Resolution:                    |                Keywords:  Cross
                                     |  compiling
Operating System:  Linux             |            Architecture:  x86
 Type of failure:  Building GHC      |               Test Case:
  failed                             |
      Blocked By:                    |                Blocking:
 Related Tickets:  #9524             |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * related:  9542 => #9524


Old description:

> I'm trying to build a mingw32 cross compiler.
> I configured with `./configure --target=x86_64-x64-mingw32`, then I built
> with `make -j 1`.
> The build then fails with the message ` #  error "Threads not supported"`
> followed by some other errors. (The last part of the make log is
> attached)
>
> To bypass #9542, I deleted the following lines from utils/hsc2hs/Main.hs:
>
> {{{
> #if defined(__GLASGOW_HASKELL__) && !defined(BUILD_NHC)
> #include "../../includes/ghcconfig.h"
> #endif
> }}}

New description:

 I'm trying to build a mingw32 cross compiler.
 I configured with `./configure --target=x86_64-x64-mingw32`, then I built
 with `make -j 1`.
 The build then fails with the message ` #  error "Threads not supported"`
 followed by some other errors. (The last part of the make log is attached)

--

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


More information about the ghc-tickets mailing list