
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

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
participants (1)
-
dons@cse.unsw.edu.au