* Linker problem
@ 1997-11-04 5:00 massimo
0 siblings, 0 replies; 2+ messages in thread
From: massimo @ 1997-11-04 5:00 UTC (permalink / raw)
Hi!
I am wondering whether anyone has experienced the following
problem when trying to link together a relatively large number
of fortran object files into one single executable.
If the number/size of the object files exceeds a ``critical''
value (I have not yet figured it out) I get a ``segmentation
fault''. For example
f77 -flink dir1/*.o di2/*.o dir3/*.o dir4/*.o -o code
Segmentation fault
I am using the NDP fortran compiler by Microway on a Linux/Alpha
system. I spoke to someone at Microway who told me that this
is likely a problem with the gnu linker, which gives this type
of problem when the source is too large.
Has anyone gotten around this problem ?
TIA,
Massimo Boninsegni
--
Massimo Boninsegni
Department of Physics
San Diego State University
http://rainbow.sdsu.edu/~massimob
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Linker problem
@ 1997-11-04 5:00 Robert Harley
0 siblings, 0 replies; 2+ messages in thread
From: Robert Harley @ 1997-11-04 5:00 UTC (permalink / raw)
massimo@grover.acmb.seawood.org writes:
>[...] when trying to link together a relatively large number
>of fortran object files into one single executable.
>If the number/size of the object files exceeds a ``critical''
>value (I have not yet figured it out) I get a ``segmentation
>fault''. [...]
It could well be that you have more than 64K of globals. The linker
really ought to chain a couple of global areas together to exceed 64K,
but instead it just barfs. Or something.
-- R
PS: Second-hand info. I have no idea what I'm talking about.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-11-04 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-04 5:00 Linker problem massimo
-- strict thread matches above, loose matches on Subject: below --
1997-11-04 5:00 Robert Harley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox