From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: axp-list@redhat.com
Subject: Re: X server (4.2.0) dying with signal 8
Date: Tue, 12 Feb 2002 17:17:46 -0500 [thread overview]
Message-ID: <20020212171746.D1990@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <200202121938.g1CJcYK04435@gtedhcp-55.inetarena.com>; from richesr1@inetarena.com on Tue, Feb 12, 2002 at 11:38:34AM -0800
On Tue, Feb 12, 2002 at 11:38:34AM -0800, Robert M. Riches Jr. wrote:
>
> A Google search shows I'm not the only one seeing X servers
> dying with signal 8. Apparently, this is an FP exception
> caused by a cbrt() function passing a negative argument to
> pow().
>
> For programs other than X, I have had very good luck using
> the -mieee compilation switch. This would seem to be better
> than hacking up the sources to handle special numeric cases.
>
> Is there some reason the -mieee compilation switch would not
> be appropriate when building an X server?
Well, it will cause some degradation in performance of those code paths
that involve FP instructions.
And that error is most likely happening in external math library code,
which wouldn't be helped by compiling X with the -mieee flag, anyway.
Apparently, from looking at the code, one can protect onesself from
this by setting:
#define HasCbrt NO
in host.def when building, in which case one gets a simple cbrt() that
tests its arg for sign and calls pow() appropriately (see mi/cbrt.c
for details).
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K15 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
next prev parent reply other threads:[~2002-02-12 22:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-12 19:38 X server (4.2.0) dying with signal 8 Robert M. Riches Jr.
2002-02-12 22:17 ` Jay Estabrook [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-13 5:02 Robert M. Riches Jr.
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