Mail Archives: djgpp/1996/07/09/11:17:31
> When I attempt to link my object file and the library which is
> about 420k, I get "could not read symbols: memory exhausted." Any fix I
> could apply or am I doing something hideously wrong?
There are a whole bunch of problems in the ld currently being used in
DJGPP. There is the problem mentioned above, plus the problem if a large
global/static array is declared. There are also performance problems
due to fseek. This may sound terrible, but I ended up pulling the linker out
of V1.11 (which used binutils 2.4 instead of 2.5) and it seems to work fine
in all these cases.
Yes, someone needs to fix ld. I don't know if binutils 2.6 fixes the problems
we see with 2.5 (or makes them worse...). It may be a bug with ld assuming
memory is zeroed (but since V1.12 had some problems too, that's not all of it).
We could just build ld 2.4 with V2 and be done with it.
DJ is well aware of the problems, it's just a matter of finding the time
to work through it.
- Raw text -