
#9924: libffi configure script does not detect MSYS2 Windows 10 x86_64 -------------------------------------+------------------------------------- Reporter: luite | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1-rc1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: | Difficulty: Unknown None/Unknown | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by luite): Yep, I just completed a build succesfully with the following patch: {{{ diff --git a/libffi/ghc.mk b/libffi/ghc.mk index ec37f0c..62ffe32 100644 --- a/libffi/ghc.mk +++ b/libffi/ghc.mk @@ -89,6 +89,8 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP) cd libffi && \ $(LIBFFI_PATH_MANGLE) \ cd build && \ + cp $(TOP)/config.guess config.guess && \ + cp $(TOP)/config.sub config.sub && \ CC=$(CC_STAGE1) \ CXX=$(CC_STAGE1) \ LD=$(LD) \ }}} (This probably fails if `$(TOP)` contains spaces, due to missing quotes) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9924#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler