Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "G. Hugh SONG" <ghsong@nospam.com>
Subject: Re: Memory usage limitation with the Beta compilers from Compaq
Date: 1999/10/23	[thread overview]
Message-ID: <38108D74.8C05E003@nospam.com> (raw)
In-Reply-To: 38196ad4.321139015@news.compaq.com

Dear Steve,

Thank you very much!   I got you.

Steve Lionel wrote:
> 
> On Fri, 22 Oct 1999 18:24:52 +0900, "G. Hugh SONG" <ghsong@nospam.com>
> wrote:
> 
> >The official bug-report place for Compaq's Beta compilers is
> >http://www.iol.unh.edu/linux/Fortran or something and C.
> >
> >Unfortunately, there is no Steve Lionel there.  So, when I reported a
> >serious limiation of their Beta compilers there, there was actually no
> >useful response except one message from someone reporting that he
> >had a similar experience.
> >
> >So, please someone from Compaq, please clear up this issue:
> >With cfal(rtl) version 1.0-2, I could run my program which has a
> >subroutine
> >where a lot of automatic arrays are declared, and a sizable number for
> >the size of those arrays is transferred.  However, with version 1.0-3
> >and 1.0-4,
> >it gives SEGV on the first line of the subroutine.  If the number is
> >small,
> >it runs OK with the newer versions.  If I compile the subroutine with
> >the
> >old version, it runs OK.  My conclusion is that Compaq imposed on the
> >newer
> >versions a strange limitation of stacksize or size of the memory it
> >uses.
> 
> Your conclusion is mistaken.  We don't impose any fixed limitation on
> the size of stack or dynamic-allocated data.  Any such restrictions
> come from the operating system or linker.  As far as I know, you have
> not submitted to the beta support site an example that reproduces the
> problem you complained about.

Could be linker, then.  Is it ld or collect?  I can't find "collect".

In fact, I did send the code by attaching it to UNH about a month ago. 
But 
nobody responded afterwards.
I know that that mailing list is specifically for the users, by the
users, of the users.
So, I don't complain.

>  If you do so, it will be investigated.

I will make another example sometime tomorrow and send it to UNH, then.

> I do know that on Tru64 UNIX, at least (not sure about Linux - I'll
> have to check), we've recently implemented an RTL feature where if it
> looks as if you've run out of stack, we automatically extend the
> stack, up to the limit imposed by the OS.  This should eliminate a lot
> of the "segv on large automatic arrays or array temps" issue that has
> been annoying for so long.  This change will show up in a release
> coming out in December or January. (OpenVMS users don't need this,
> since the OS takes care of it automatically.  I don't think we can do
> it on Windows.)

That is very interesting.  The oldest version of cfal(rtl) works, while
the newer ones fail.

Best regards,

-- 
G. Hugh Song



      parent reply	other threads:[~1999-10-23  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-22  4:00 Memory usage limitation with the Beta compilers from Compaq G. Hugh SONG
1999-10-22  4:00 ` Steve Lionel
1999-10-22  4:00   ` Greg Lindahl
1999-10-23  4:00   ` G. Hugh SONG [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