tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Problems with linking many files
@ 1997-04-17 13:59 Ingvar Larsson
  0 siblings, 0 replies; only message in thread
From: Ingvar Larsson @ 1997-04-17 13:59 UTC (permalink / raw)
  To: tru64-unix-managers


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-04-17 13:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-17 13:59 SUMMARY: Problems with linking many files Ingvar Larsson

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