From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f116b5ee8d46ae5c X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,f116b5ee8d46ae5c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-04-28 09:56:56 PST Xref: gmd.de comp.sys.dec:7342 comp.unix.osf.osf1:320 Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Path: gmd.de!ira.uka.de!howland.reston.ans.net!usc!zaphod.mps.ohio-state.edu!ub!acsu.buffalo.edu!ajay From: ajay@cs.buffalo.edu (Ajay Shekhawat) Subject: Re: more OSF/1 C Compiler woes... Message-ID: Sender: nntp@acsu.buffalo.edu Nntp-Posting-Host: hadar.cs.buffalo.edu Organization: University at Buffalo, Dept. of Computer Science References: Date: Wed, 28 Apr 1993 16:52:06 GMT I wrote: : I'm getting the following error while compiling my C code, which : compiles perfectly on a SUN SPARC. : : : With cc: : ---- : currfunc_frameoffset = 1012112 : currfunc_regoffset = 0 : callstd_regoffset = 1012112 : as1: Error: gsc_new.inline.c, line 1520: register save offset must be less .5 megabytes : ---- : : : With gcc: : ---- : as1: Warning: /tmp/cc010402.s, line 5: macro instruction used $at : : currfunc_frameoffset = 1008304 : currfunc_regoffset = 4294967280 : callstd_regoffset = 1008288 : as1: Error: /tmp/cc010402.s, line 5: register save offset must be less .5 megabytes : ---- : : The system is a DEC 3000 model 500 AXP running OSF/1. : : Can someone shed some light as to what's the problem, and how it can be fixed? Thanks to Mr. Burkhard Neidecker-Lutz from DEC, I've been able to isolate and remove the error. This was due to a huge ( approx. 1 Megabyte) array declared as a local variable in a function. I'm allocating that array dynamically now, and it seems to have worked. Ajay -- ajay@cs.Buffalo.EDU