[GHC] #9932: GHC fails to build when cross compiling for mingw with the message "Threads not supported"
GHC
ghc-devs at haskell.org
Sun Dec 28 16:48:56 UTC 2014
#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
Keywords: Cross compiling | Operating System: Linux
Architecture: x86 | Type of failure: Building
Difficulty: Unknown | GHC failed
Blocked By: | Test Case:
Related Tickets: 9542 | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
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
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9932>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list