base-3-compat with 6.12 won't load in GHCi, Template Haskell on Windows
#ifndef mingw32_HOST_OS .. #endif
Wrapped around its export for and definition of unlockFile. This is because unlockFile is a RTS symbol that is only compiled on non-Windows OSes. This #ifdef exists in base4, it looks like it was just omitted from base3.
The result of this bug is that any package using base 3 doesn’t work with template-haskell or GHCi:
$ ghci -package base-22.214.171.124 WARNING: GHCi invoked via 'ghci.exe' in *nix-like shells (cygwin-bash, in particular) doesn't handle Ctrl-C well; use the 'ghcii.sh' shell wrapper instead GHCi, version 126.96.36.19991010: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package syb-0.1.0.2 ... linking ... done. Loading package base-188.8.131.52 ... linking ... : unable to load package `base-184.108.40.206' : C:\ghc\GHC-61~2.200\lib\base-220.127.116.11\HSbase-18.104.22.168.o: unknown symbol `_unlockFile'