internal error: Can't allocate thunk for free
Trying to compile stack
with ghc-8.0.2
resulted in this:
[ 73 of 124] Compiling Stack.PackageIndex ( src\Stack\PackageIndex.hs, C:\Users\abiehl\git\stack\dist-newstyle\build\x86_64-windows\ghc-8.0.2\stack-1.4.1\build\Stack\PackageIndex.o )
ghc.exe: internal error: Can't allocate thunk for free
(GHC version 8.0.2 for x86_64_unknown_mingw32)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
cabal.exe: Failed to build stack-1.4.1. The build process terminated with exit
code 3
The file in question uses TemplateHaskell
and I suspect the runtime linker to be the culprit.
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |