[GHC] #12661: Testsuite driver fails on Windows
GHC
ghc-devs at haskell.org
Thu Oct 6 18:39:55 UTC 2016
#12661: Testsuite driver fails on Windows
---------------------------------+--------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 8.0.1
Resolution: | Keywords:
Operating System: Windows | Architecture: x86_64 (amd64)
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
---------------------------------+--------------------------------------
Comment (by Phyx-):
Right, so I see the problem...
You're using the msys version of python, which doesn't correctly search
for the SO name.
{{{
6ef8:5d44 @ 584664718 - LdrLoadDll - ENTER: DLL name: kernel32.
6ef8:5d44 @ 584664718 - LdrpLoadDllInternal - ENTER: DLL name: kernel32
6ef8:5d44 @ 584664718 - LdrpFindKnownDll - ENTER: DLL name: kernel32
6ef8:5d44 @ 584664718 - LdrpFindKnownDll - RETURN: Status: 0xc0000135
6ef8:5d44 @ 584664718 - LdrpSearchPath - ENTER: DLL name: kernel32
6ef8:5d44 @ 584664718 - LdrpComputeLazyDllPath - INFO: DLL search path
computed: E:\ghc-
dev\msys64\usr\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\system;C:\WINDOWS;.;E:\Program
Files (x86)\Windows
Kits\10\Debuggers\x64\winext\arcade;C:\ruby215\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program
Files (x86)\NVIDIA
Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth
6ef8:5d44 @ 584664718 - LdrpResolveDllName - ENTER: DLL name: E:\ghc-
dev\msys64\usr\bin\kernel32
6ef8:5d44 @ 584664718 - LdrpResolveDllName - RETURN: Status: 0xc0000135
6ef8:5d44 @ 584664718 - LdrpResolveDllName - ENTER: DLL name:
C:\WINDOWS\SYSTEM32\kernel32
6ef8:5d44 @ 584664718 - LdrpResolveDllName - RETURN: Status: 0xc0000135
6ef8:5d44 @ 584664718 - LdrpResolveDllName - ENTER: DLL name:
C:\WINDOWS\system\kernel32
6ef8:5d44 @ 584664718 - LdrpResolveDllName - RETURN: Status: 0xc0000135
6ef8:5d44 @ 584664718 - LdrpResolveDllName - ENTER: DLL name:
C:\WINDOWS\kernel32
}}}
it doesn't add the ".dll" to it. so the loader doesn't find it. What you
want, is the mingw-w64 version of python (which is also compiled with GCC
so MSVC runtime not needed).
{{{
pacman -S mingw-w64-$(uname -m)-python3
}}}
Odd, the installation of Sphinx should have installed it as well. It would
be python3.5. The msys python is a bit broken (which is unsurprising, the
msys versions are usually the bare minimum to get the msys shell itself
working).
correct the link from python3 -> mingw python3.5 and you should be good to
go.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12661#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list