Unreg linking runs out of memory (a soln)

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


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"      

Happy porting,
   Don



More information about the Glasgow-haskell-users mailing list