From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id CBB0C3EA50 for ; Tue, 12 Feb 2002 17:32:07 -0500 (EST) Received: from mail.redhat.com (mail.redhat.com [12.107.208.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g1CMW9e13882 for ; Tue, 12 Feb 2002 17:32:09 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.6/8.8.7) id g1CMW7v20700 for axp-list@listman.redhat.com; Tue, 12 Feb 2002 17:32:07 -0500 Received: from zcamail05.zca.compaq.com (zcamail05.zca.compaq.com [161.114.32.105]) by mail.redhat.com (8.11.6/8.8.7) with ESMTP id g1CMW7C20696 for ; Tue, 12 Feb 2002 17:32:07 -0500 Received: from mailrelay01.cce.cpqcorp.net (mailrelay01.cce.cpqcorp.net [16.47.68.171]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id E81432352 for ; Tue, 12 Feb 2002 14:38:20 -0800 (PST) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by mailrelay01.cce.cpqcorp.net (Postfix) with ESMTP id 2ADE8153E for ; Tue, 12 Feb 2002 16:32:01 -0600 (CST) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.11.6/8.11.6) id g1CMHkI02024 for axp-list@redhat.com; Tue, 12 Feb 2002 17:17:46 -0500 Date: Tue, 12 Feb 2002 17:17:46 -0500 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: X server (4.2.0) dying with signal 8 Message-ID: <20020212171746.D1990@linux04.mro.cpqcorp.net> Mail-Followup-To: Jay Estabrook , axp-list@redhat.com References: <200202121938.g1CJcYK04435@gtedhcp-55.inetarena.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200202121938.g1CJcYK04435@gtedhcp-55.inetarena.com>; from richesr1@inetarena.com on Tue, Feb 12, 2002 at 11:38:34AM -0800 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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 -----------------------------------------------------------------------------