From: "W Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Core dump before reaching main with CXX!
Date: Tue, 01 May 2001 22:00:27 -0500 [thread overview]
Message-ID: <3AEF784B.4CA8F6CD@paralleldata.com> (raw)
In-Reply-To: 3AEF6DC6.EAA00471@jtcsv.com
I wasn't clear. You are correct about the -ieee problem.
Has to be a compile issue. You can run something like:
find /usr/lib/compaq -print -exec grep FLT_INFINITY {} \;
If it's not there, then run the same search thru /usr/include
and see what you find.
I was referring to the failure before entering main. I've
only seen that before due to link errors.
I don't have ccc/cxx installed so I can't do it on my systems.
Wes
Ram Viswanadha wrote:
>
> Well the code in limits says:
>
> #if !defined(_IEEE_FP)
> static const bool has_infinity = false;
> static const bool has_quiet_NaN = false;
> static const bool has_signaling_NaN = false;
> static const float_denorm_style has_denorm = denorm_absent;
> static const bool has_denorm_loss = false;
> inline static float infinity() _RWSTD_THROW_SPEC_NULL {return 0;}
> inline static float quiet_NaN() _RWSTD_THROW_SPEC_NULL {return 0;}
> inline static float signaling_NaN() _RWSTD_THROW_SPEC_NULL {return
> 0;}
> inline static float denorm_min() _RWSTD_THROW_SPEC_NULL {return 0;}
> static const bool is_iec559 = false;
> #else // IEEE Conformant Floats
> static const bool has_infinity = true;
> static const bool has_quiet_NaN = true;
> static const bool has_signaling_NaN = true;
> static const float_denorm_style has_denorm = denorm_present;
> static const bool has_denorm_loss = false;
> inline static float infinity() _RWSTD_THROW_SPEC_NULL {return
> FLT_INFINITY;}
> inline static float quiet_NaN() _RWSTD_THROW_SPEC_NULL {return
> FLT_QNAN;}
> inline static float signaling_NaN() _RWSTD_THROW_SPEC_NULL {return
> FLT_SNAN;}
> inline static float denorm_min() _RWSTD_THROW_SPEC_NULL {
> const unsigned short pos_denorm[2] = {0x0001, 0x0000};
> return *(float *)pos_denorm;
> }
> static const bool is_iec559 = true;
> #endif
>
> So I think it is certainly compilation.
>
> Ram
>
> W Bauske wrote:
>
> > jeff.sturm@appnet.com wrote:
> > >
> > > Wes> Not necessarily. If -ieee turns on defines, the code may only
> > > Wes> activate if -ieee is turned on.
> > >
> > > Right, that may help to explain the failures, but doesn't change the
> > > outcome that CXX appears broken. There's no blaming binutils in this
> > > case.
> > >
> >
> > I'm more inclined to believe something went wrong in the link
> > from the description of the problem, like the wrong libs/order
> > of libs.
> >
> > Wes
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
prev parent reply other threads:[~2001-05-02 2:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-30 22:36 Core dump before reaching main with CXX! Ram Viswanadha
2001-04-30 22:52 ` Uncle George
2001-04-30 22:53 ` Ram Viswanadha
2001-04-30 23:21 ` Uncle George
2001-05-01 16:17 ` Ram Viswanadha
2001-04-30 22:54 ` T. Daniel Crawford
2001-04-30 23:33 ` jeff.sturm
2001-04-30 23:17 ` Ram Viswanadha
2001-05-01 17:49 ` jeff.sturm
2001-05-01 21:57 ` W Bauske
2001-05-01 22:26 ` jeff.sturm
2001-05-02 2:28 ` W Bauske
2001-05-02 2:15 ` Ram Viswanadha
2001-05-02 3:00 ` W Bauske [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