From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078611110479.tru64-unix-managers.marc@archive.invalid> From: Ingvar Larsson Date: Thu, 17 Apr 1997 13:59:39 +0000 To: tru64-unix-managers Subject: SUMMARY: Problems with linking many files X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078611110479 Thanks to Dejan Muhamedagic and Stefan Nilsson for their contributions. No one of the proposals solved our problem. But we found out by using the well known trial and error method. Of course, the easiest way is to avoid the problem by not linking a billiard of object files toghether. We had to increase the proc-parameter per-proc-data-size because ld needed very much primary memory. And the default value of 128 Mb was not enough (ugh!). Thanks for the help. It was of a great help anyway. /Ingvar The problem occured when we executed the following command: cc -migrate -g -o bin/cen_eu /usr/ingres/lib/abfmain.obj src/cen_eu.o -Llib/ -L/proj/tds/pub27/lib -L/proj/ss/il7/lib -L/install/ingres/sqr -L/usr/ingres/lib /proj/ss/il7/lib/libstd.a /proj/ss/il7/lib/libbe.a -lcen -lim -lik -lex -lup -lha -lexp /proj/stod/el/lib/libfo.a /proj/stod/el/lib/libgr.a /proj/stod/el/lib/libta.a /proj/stod/il26/lib/libtu.a -lim -lup -lex -lexp /proj/ss/il7/lib/libstd.a /proj/ss/il7/lib/libra.a -lim /proj/stod/el/lib/libta.a /proj/stod/el/lib/libtu.a /proj/stod/el/lib/libfo.a /proj/stod/el/lib/libpn.a -lik -lha -lstd -lra -lbe -lhlp -lssdef -ltp -ltdk -lsqr -ldnet_sub -lbsd -lingres -lm -lc we get the following output: ld_mmap: Could not malloc 311968. bytes, for /proj/stod/el/lib/libtu.a(tu31801r00.o), didnt attempt to mmap ld_mmap: Could not malloc 311968. bytes, for /proj/stod/el/lib/libtu.a(tu31801r00.o), didnt attempt to mmap file file_offset / flen -- pg bndry file offst --> last file offst mmapd mmap usage info not available; max of 160. slots Fatal error in: /usr/lib/cmplrs/cc/ld IOT/Abort trap - core dumped *** Exit 6 Stop.