From owner-freebsd-current Sat Dec 14 02:11:47 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA20686 for current-outgoing; Sat, 14 Dec 1996 02:11:47 -0800 (PST) Received: from rosie.scsn.net (scsn.net [206.25.246.12]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id CAA20681 for ; Sat, 14 Dec 1996 02:11:44 -0800 (PST) Received: from rhiannon.scsn.net (cola33.scsn.net [206.25.247.33]) by rosie.scsn.net (post.office MTA v2.0 0813 ID# 0-13529) with ESMTP id AAA235 for ; Sat, 14 Dec 1996 05:09:16 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.4/8.6.12) id FAA04836 for current@FreeBSD.org; Sat, 14 Dec 1996 05:11:11 -0500 (EST) From: "Donald J. Maddox" Message-Id: <199612141011.FAA04836@rhiannon.scsn.net> Subject: Something broken in libm To: current@FreeBSD.org Date: Sat, 14 Dec 1996 05:11:10 -0500 (EST) Reply-To: dmaddox@scsn.net X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk There is definitely something broken in libm when HAVE_FPU is defined... More specifically, the problem seems to be in the __ieee754_pow() function defined in src/lib/msun/src/e_pow.c. I have not been able to nail down the exact problem, but if anyone else is interested -- You can duplicate the problem by: 1) make world with HAVE_FPU defined in /etc/make.conf 2) Build and install povray from the port. 3) cd /usr/local/lib/povray3/pov3demo/radios. 4) povray +L/usr/local/lib/povray3/include +Irad2.pov +Orad2.tga +V +X rad2.ini You will be rewarded with a core dump (FPE). Or you can build Mesa2.0 from the port, and try to execute the 'wave' demo in the 'samples' directory. You will get the same results. -- Donald J. Maddox (dmaddox@scsn.net)