Unreg linking runs out of memory (a soln)

Donald Bruce Stewart dons at cse.unsw.edu.au
Sun Apr 18 18:35:04 EDT 2004


dons:
> Just for any poor soul doing some linking tricks who gets hit by ld saying:
> 
>         /usr/obj/ports/ghc-6.2.1/scratch/ghc-6.2.1/libraries/base/libHSbase.a:
>                 could not read symbols: Memory exhausted
> 
> This, for once, really is ld running at out memory, and you can fix it
> by adding:
>         EXTRA_CC_OPTS="-Wl,-no-keep-memory"      

Oh, I forgot to add, I was on a machine with 1G ram, so it was not
obvious what was happening.

-- Don


More information about the Glasgow-haskell-users mailing list