Closed xgrommx closed 5 years ago
Unfortunately it looks like you're running into an error here: https://github.com/ghc/ghc/blob/master/utils/genprimopcode/ghc.mk#L19 and here: https://github.com/ghc/ghc/blob/master/utils/ghc-cabal/ghc.mk#L55-L81
I'm not sure how you could be running into this on your system, though, since everything should be Dockerized...
What OS are you running this on, and is there anything special about your environment?
Closed due to inactivity.
Feel free to reopen if you can provide some steps to reproduce this error or want to walk through the process at some point in the future.
I was getting the same error on Mac OS X. Line 2 in @xgrommx's output ("Killed") was a clue that compiler process was killed by out-of-memory killer and prompted me to check Docker settings (Docker Desktop > Preferences > Advanced). Memory for docker engine was set to 2 GiB - apparently insufficient. After bumping it to 8GiB image was built successfully.
After command
make docker-build-gmp
I gotHow can I fix it?