tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Ingvar Larsson <ingvar.g.larsson () tullverket ! se>
To: tru64-unix-managers
Subject: SUMMARY: Problems with linking many files
Date: Thu, 17 Apr 1997 13:59:39 +0000	[thread overview]
Message-ID: <96078611110479.tru64-unix-managers.marc@archive.invalid> (raw)


Thanks to Dejan Muhamedagic <muja@galeb.etf.bg.ac.yu> and
Stefan Nilsson <stefan@postgres.berkeley.edu> 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.

                 reply	other threads:[~1997-04-17 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox