Compiling natively GHC for ARMv7l softabi

shiftag at nanotek.info shiftag at nanotek.info
Wed Oct 18 05:58:35 UTC 2017


October 17, 2017 10:45 PM, "Ben Gamari" <ben at smart-cactus.org> wrote:

> Brandon Allbery <allbery.b at gmail.com> writes:
> 
>> On Tue, Oct 17, 2017 at 12:41 AM, <shiftag at nanotek.info> wrote:
>> 
>>> utils/ghc-cabal/ghc.mk:48: recipe for target 'utils/ghc-cabal/dist/build/tmp/ghc-cabal'
>>> failed
>>> make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Killed
>> 
>> The OOM killer got you. Add swap if you can.
> 
> Exactly.
> 
> Cheers,
> 
> - Ben


Hi Guys,

Thanks a mil !!!


Well, add a swap if I can ? Yes, we can :)

$ dd if=/dev/zero of=/tmp/swap bs=1M count=4096
$ chmod 600 /tmp/swap
$ mkswap /tmp/swap
$ swapon /tmp/swap
$ swapon -s

Here we go, now it's fixed. I have an other issue but I can figure it out myself.

Cheers,
  Shiftag


More information about the ghc-devs mailing list