From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,c503c765187f9673 X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,c503c765187f9673 X-Google-Attributes: gid111c93,public From: "G. Hugh SONG" Subject: Re: Memory usage limitation with the Beta compilers from Compaq Date: 1999/10/23 Message-ID: <38108D74.8C05E003@nospam.com>#1/1 X-Deja-AN: 539307317 Content-Transfer-Encoding: 7bit References: <38102D64.CAA5EBCA@nospam.com> <38196ad4.321139015@news.compaq.com> X-Accept-Language: en Content-Type: text/plain; charset=EUC-KR Organization: KJIST, KwangJu, KOREA Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha,comp.lang.fortran Dear Steve, Thank you very much! I got you. Steve Lionel wrote: > > On Fri, 22 Oct 1999 18:24:52 +0900, "G. Hugh SONG" > 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