Two GHC linkers running in parallel on Windows goes wrong
Running the attached script, I get one of three error messages (non-deterministically):
C:\ghc\ghc-7.4.1\lib/../mingw/bin/windres.exe: can't open file `main.exe.manifest': No such file or directory DeleteFile "main.exe.manifest": does not exist (The system cannot find the file specified.) main.exe.manifest: openFile: permission denied (Permission denied)
The script attempts to run two linkers simultaneously. I have replicated this bug on two Windows machines, on both GHC 7.2.2 and 7.4.1.