* more OSF/1 C Compiler woes...
@ 1993-04-27 14:57 Ajay Shekhawat
1993-04-28 16:52 ` Ajay Shekhawat
0 siblings, 1 reply; 2+ messages in thread
From: Ajay Shekhawat @ 1993-04-27 14:57 UTC (permalink / raw)
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,
Ajay
--
ajay@cs.Buffalo.EDU
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: more OSF/1 C Compiler woes...
1993-04-27 14:57 more OSF/1 C Compiler woes Ajay Shekhawat
@ 1993-04-28 16:52 ` Ajay Shekhawat
0 siblings, 0 replies; 2+ messages in thread
From: Ajay Shekhawat @ 1993-04-28 16:52 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-04-28 16:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-04-27 14:57 more OSF/1 C Compiler woes Ajay Shekhawat
1993-04-28 16:52 ` Ajay Shekhawat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox