From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d61d377b7b3b3b35 X-Google-Attributes: gid111c93,public From: idir@lure.u-psud.fr (Idir Mourad) Subject: Re: egcs g77 and RH5.0 Date: 1998/03/06 Message-ID: <6dp1e6$qnv$1@upsn21.u-psud.fr>#1/1 X-Deja-AN: 331406750 References: <6dm2ir$ck2$1@upsn21.u-psud.fr> <6dn4di$5od$5@news.utrecht.NL.net> Organization: Lure Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha 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