Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ajay@cs.buffalo.edu (Ajay Shekhawat)
Subject: Re: more OSF/1 C Compiler woes...
Date: Wed, 28 Apr 1993 16:52:06 GMT	[thread overview]
Message-ID: <C67DIv.361@acsu.buffalo.edu> (raw)
In-Reply-To: C65DKI.AuA@acsu.buffalo.edu

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
: <repeated 20 times>
: 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



      reply	other threads:[~1993-04-28 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-27 14:57 more OSF/1 C Compiler woes Ajay Shekhawat
1993-04-28 16:52 ` Ajay Shekhawat [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