Hi,
Pass -debug to collect2. I'm not sure this will give you a *small* testcase though.
/usr/local/binutils/bin/ld [...] -soname libgcj.so.6
[...]
GNU ld version 2.16
Supported emulations:
elf32_sparc
elf64_sparc
/usr/local/binutils/bin/ld: failed to set dynamic section sizes: Memory exhausted
Ouch! 1 Mb RAM + 2Mb swap ought to be enough.
I'm wondering what could be eating up memory when the workstation is idle, "ps" or "top" don't show any process eating up lots of memory and ipcs doesn't show shared memory in use:
$ top [...] Memory: 1024M real, 235M free, 2450M swap in use, 231M swap free [...] 26336 root 1 59 0 122M 6968K sleep 0:06 0.00% Xsun 185 root 14 58 0 13M 1984K sleep 0:39 0.00% syslogd 26354 root 4 59 0 7448K 1808K sleep 0:08 0.00% dtgreet 26340 root 4 10 0 5416K 1432K sleep 0:00 0.00% dtlogin 323 root 4 38 0 5200K 1296K sleep 0:01 0.00% dtlogin 173 root 5 38 0 4968K 2848K sleep 194:15 0.00% automountd [...] $
I think I'm going to reboot this workstation and restart...
-- Dimitri