From: idir@lure.u-psud.fr (Idir Mourad)
Subject: Re: egcs g77 and RH5.0
Date: 1998/03/06 [thread overview]
Message-ID: <6dp1e6$qnv$1@upsn21.u-psud.fr> (raw)
In-Reply-To: 6dn4di$5od$5@news.utrecht.NL.net
In article <6dn4di$5od$5@news.utrecht.NL.net>,
toon@moene.indiv.nluug.nl says...
>
>idir@lure.u-psud.fr (Idir Mourad) wrote:
>
>> - Things seem working fine on the c/c++ side,
>> but I am having big segmentation faults
>> when running certains fortran subroutines
>> compiled with egcs g77 1.0.1
>
>There are known bugs in egcs-1.0.1/g77 when using negative lower
bounds in
>arrays. This might be your problem.
>
>On the Other Hand, segmentation faults can also be caused by
using to much
>stack space. Note that the default in g77 is to allocate arrays
less than
>32K in size on the stack. Read the documentation of your shell
on how to
>enlarge that limit.
>
>
Hi!! (from Alessandro Mirone: alex@greco2.polytechnique.fr)
I solved the problem:-)
Answer: The generated shared library was too big!!!!!!!
I thought this problem had been solved in RH5.0,
with RH4.2 the building of a too big library fails,
but with 5.0 it is successful, unfortunately
it explodes later at run-time.
So I splitted (as I was used to do in RH4.2) the big
lapack library in two smaller parts and the big segmentation
faults
disappeared as soon.
Weird.. isn't?? But at least things are working now.
Might this problem be linked to the above stack space limitations?
Greetings
almost got mad
Alessandro
prev parent reply other threads:[~1998-03-06 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-05 5:00 egcs g77 and RH5.0 Idir Mourad
1998-03-05 5:00 ` Toon Moene
1998-03-06 5:00 ` Idir Mourad [this message]
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