* Problem compiling (optimizing) C source on a DEC Alpha
@ 1993-05-14 23:34 Jonathan Lim
1993-05-16 14:18 ` Neil Readwin
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Lim @ 1993-05-14 23:34 UTC (permalink / raw)
I'm trying to compile a C source file on a DEC Alpha but it gives the following
error message if I include the -O2 flag:
libmld--as1: Error: gmFit3D.c, line 882: .mask must have pcreg from .frame set
if any bits are set in .mask or .fmask
*** Exit 1
Stop.
It compiles fine if I omit the flag. What does this error mean and what can I
do about it? Thanks in advance.
Jonathan Lim
lim@cs.umass.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compiling (optimizing) C source on a DEC Alpha
1993-05-14 23:34 Problem compiling (optimizing) C source on a DEC Alpha Jonathan Lim
@ 1993-05-16 14:18 ` Neil Readwin
1993-05-18 8:14 ` Pete KAISER
0 siblings, 1 reply; 4+ messages in thread
From: Neil Readwin @ 1993-05-16 14:18 UTC (permalink / raw)
lim@cs.umass.edu (Jonathan Lim) writes:
|> [ The AXP OSF/1 C compiler sometimes produces this error with -O2 ]
|> [...] .mask must have pcreg from .frame set if any bits are set in .mask or .fmask
It's just a compiler bug. DEC have not yet supplied a fix, so don't use -O2
if your code provokes it. Neil.
--
Phone: +44 71 815 5283 E-mail: nreadwin@micrognosis.co.uk
Anything is a cause for sorrow that my mind or body has made
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compiling (optimizing) C source on a DEC Alpha
1993-05-16 14:18 ` Neil Readwin
@ 1993-05-18 8:14 ` Pete KAISER
1993-05-19 9:25 ` Problem linking with -r option on AXP OSF/1 Pascal Kuczynski
0 siblings, 1 reply; 4+ messages in thread
From: Pete KAISER @ 1993-05-18 8:14 UTC (permalink / raw)
In article <C74IE4.G0n@micrognosis.co.uk>, nreadwin@micrognosis.co.uk
(Neil Readwin) writes:
>lim@cs.umass.edu (Jonathan Lim) writes:
>|> [ The AXP OSF/1 C compiler sometimes produces this error with -O2 ]
>|> [...] .mask must have pcreg from .frame set if any bits are set...
>It's just a compiler bug. DEC have not yet supplied a fix...
But we will in the next release of the OS, which is not far away. If this
is a showstopper for you (but it oughtn't to be, since there are several
workarounds), be sure to get in touch with your local people for immediate
relief.
___Pete
kaiser@vbo.dec.com
+33 92.95.62.97, FAX +33 92.95.63.63
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem linking with -r option on AXP OSF/1
1993-05-18 8:14 ` Pete KAISER
@ 1993-05-19 9:25 ` Pascal Kuczynski
0 siblings, 0 replies; 4+ messages in thread
From: Pascal Kuczynski @ 1993-05-19 9:25 UTC (permalink / raw)
have you tried to link with -r option on ALPHA OSF/1 in combination
with -non-shared flag (default case), with <files>.o also compiled
with -non-shared flag. When you make final link, with some archives
librairies. you will be surprised to see the result doesn't work
at execution with somethink like:
inst fault=4, status word=8, pc=140000370
Illegal instruction (core dumped)
any idea?
-------------------------------------------------------------
Pascal KUCZYNSKI internet : kuczynsk@ilog.fr
ILOG S.A.
2 Avenue Gallie'ni, BP 85
94253 Gentilly Cedex tel: (33 1) 46 63 66 66
France
-------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1993-05-19 9:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-05-14 23:34 Problem compiling (optimizing) C source on a DEC Alpha Jonathan Lim
1993-05-16 14:18 ` Neil Readwin
1993-05-18 8:14 ` Pete KAISER
1993-05-19 9:25 ` Problem linking with -r option on AXP OSF/1 Pascal Kuczynski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox