Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: egcs g77 and RH5.0
Date: 1998/03/05	[thread overview]
Message-ID: <6dn4di$5od$5@news.utrecht.NL.net> (raw)
In-Reply-To: 6dm2ir$ck2$1@upsn21.u-psud.fr


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.

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam



  reply	other threads:[~1998-03-05  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 [this message]
1998-03-06  5:00   ` Idir Mourad
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