* gcc2.6.0 for DEC OSF1 V3.2 41 alpha
@ 1996-03-20 5:00 Nader Behzad
1996-03-21 5:00 ` Peter Mardahl
1996-03-21 5:00 ` Ron Natalie
0 siblings, 2 replies; 4+ messages in thread
From: Nader Behzad @ 1996-03-20 5:00 UTC (permalink / raw)
Hi All,
Does anyone have gcc2.6.0 compiled for DEC? Could you tell if there
are patches available for it. I have a hard time compiling this version
of gcc on my machine. It complains about running out of bounds. There is
a patch available for gcc2.7.2 but nothing for gcc2.6.0.
I get floating exception problems when my source is compiled with gcc2.7.2.
This code has been working on every other platform (using gcc2.6.0).
Thank you in Advance,
Sincerely,
Nader
--
---------------------------------------------------------------------
| |
| Nader T. Behzad |
| e-mail: nbehzad@ee.ualberta.ca |
| WWW: http://www.ee.ualberta.ca/~nbehzad |
| |
|===================================================================|
| |
| "Whatever you do will be insignificant, but it is very |
| important that you do it." --Mahatma Gandhi |
| |
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gcc2.6.0 for DEC OSF1 V3.2 41 alpha
1996-03-20 5:00 gcc2.6.0 for DEC OSF1 V3.2 41 alpha Nader Behzad
@ 1996-03-21 5:00 ` Peter Mardahl
1996-03-23 5:00 ` Robert Stockmann
1996-03-21 5:00 ` Ron Natalie
1 sibling, 1 reply; 4+ messages in thread
From: Peter Mardahl @ 1996-03-21 5:00 UTC (permalink / raw)
In article <4iq29q$k1m@pulp.ucs.ualberta.ca>,
Nader Behzad <nbehzad@ee.ualberta.ca> wrote:
>Does anyone have gcc2.6.0 compiled for DEC? Could you tell if there
>are patches available for it. I have a hard time compiling this version
>of gcc on my machine. It complains about running out of bounds. There is
>a patch available for gcc2.7.2 but nothing for gcc2.6.0.
>
>I get floating exception problems when my source is compiled with gcc2.7.2.
>This code has been working on every other platform (using gcc2.6.0).
Dear Nader,
I use g++2.7.2 on the alphas. At first, when we did a port
from SunOS to Digital Unix of the code, we had many
floating exceptions which never showed up before.
In each case, it turned out we were:
1) assigning invalid data (uninitialized memory) to a variable (even if we
never used the variable again and didn't care about he value)
or
2) doing a division by zero (which SunOS would just ignore)
In both cases, we'd rather have the computer crash and tell us
we were doing something wrong (it is wrong, even though we had
never noticed the problem before) than have it go on as if
nothing had happened, as would happen in SunOS.
It's possible that your program is doing such things, which
other architectures allow but which alphas don't, but which
are nevertheless wrong.
If that's the case, it is your program which needs correction,
not gcc. Though your situation may not be the same as ours
was.
I hope your problem gets solved one way or the other.
Regards,
PeterM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gcc2.6.0 for DEC OSF1 V3.2 41 alpha
1996-03-21 5:00 ` Peter Mardahl
@ 1996-03-23 5:00 ` Robert Stockmann
0 siblings, 0 replies; 4+ messages in thread
From: Robert Stockmann @ 1996-03-23 5:00 UTC (permalink / raw)
Peter Mardahl (peterm@landau.EECS.Berkeley.EDU) wrote:
: In article <4iq29q$k1m@pulp.ucs.ualberta.ca>,
: Nader Behzad <nbehzad@ee.ualberta.ca> wrote:
: >Does anyone have gcc2.6.0 compiled for DEC? Could you tell if there
: >are patches available for it. I have a hard time compiling this version
: >of gcc on my machine. It complains about running out of bounds. There is
: >a patch available for gcc2.7.2 but nothing for gcc2.6.0.
: >
: >I get floating exception problems when my source is compiled with gcc2.7.2.
: >This code has been working on every other platform (using gcc2.6.0).
: Dear Nader,
: I use g++2.7.2 on the alphas. At first, when we did a port
: from SunOS to Digital Unix of the code, we had many
: floating exceptions which never showed up before.
: In each case, it turned out we were:
: 1) assigning invalid data (uninitialized memory) to a variable (even if we
: never used the variable again and didn't care about he value)
: or
: 2) doing a division by zero (which SunOS would just ignore)
: In both cases, we'd rather have the computer crash and tell us
: we were doing something wrong (it is wrong, even though we had
: never noticed the problem before) than have it go on as if
: nothing had happened, as would happen in SunOS.
: It's possible that your program is doing such things, which
: other architectures allow but which alphas don't, but which
: are nevertheless wrong.
: If that's the case, it is your program which needs correction,
: not gcc. Though your situation may not be the same as ours
: was.
: I hope your problem gets solved one way or the other.
I prefer to use gcc-2.6.3 . This version doesn't give me any problems
on several platforms. I use it on SunOS 4.1.* , Ultrix 4.3 and Linux.
Robert
--
++---------------------------++----------------------------------------++
|| R.M. Stockmann || InfoMagic Nederland VOF ||
|| stock@infomagic.nl || Unix administration & support ||
|| tel: +31 162 421747 || P.O.Box 4375 ||
|| fax: +31 23 5354442 || NL-4900 CJ Oosterhout ||
|| http://www.infomagic.nl || The Netherlands ||
++---------------------------++----------------------------------------++
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gcc2.6.0 for DEC OSF1 V3.2 41 alpha
1996-03-20 5:00 gcc2.6.0 for DEC OSF1 V3.2 41 alpha Nader Behzad
1996-03-21 5:00 ` Peter Mardahl
@ 1996-03-21 5:00 ` Ron Natalie
1 sibling, 0 replies; 4+ messages in thread
From: Ron Natalie @ 1996-03-21 5:00 UTC (permalink / raw)
Nader Behzad (nbehzad@ee.ualberta.ca) wrote:
: I get floating exception problems when my source is compiled with gcc2.7.2.
: This code has been working on every other platform (using gcc2.6.0).
The Alphas are pretty unique in their behavior that they will issue
a FPE on loading a float or double from memory that doesn't contain a
valid floating point number (usually unitialized data). Most systems
don't give the FPE until you actually try to compute something with it.
I.e.
double f = x; <-- FPE's here on the ALPHA
f = f / 2; <-- FPE's here on the Sun.
-Ron
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-03-23 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-20 5:00 gcc2.6.0 for DEC OSF1 V3.2 41 alpha Nader Behzad
1996-03-21 5:00 ` Peter Mardahl
1996-03-23 5:00 ` Robert Stockmann
1996-03-21 5:00 ` Ron Natalie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox