From owner-freebsd-sparc64@FreeBSD.ORG Wed Nov 10 17:00:41 2004 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51ABF16A4D0 for ; Wed, 10 Nov 2004 17:00:41 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 222BC43D48 for ; Wed, 10 Nov 2004 17:00:41 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iAAH0eui087415 for ; Wed, 10 Nov 2004 17:00:40 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAAH0e1L087403; Wed, 10 Nov 2004 17:00:40 GMT (envelope-from gnats) Resent-Date: Wed, 10 Nov 2004 17:00:40 GMT Resent-Message-Id: <200411101700.iAAH0e1L087403@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-sparc64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dan Nelson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2A6416A4CE for ; Wed, 10 Nov 2004 16:51:18 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E44143D1D for ; Wed, 10 Nov 2004 16:51:18 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id iAAGpHDM020752; Wed, 10 Nov 2004 10:51:17 -0600 (CST) (envelope-from dan) Message-Id: <200411101651.iAAGpHDM020752@dan.emsphone.com> Date: Wed, 10 Nov 2004 10:51:17 -0600 (CST) From: Dan Nelson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: sparc64/73782: libc is missing the _Qp_cmp function X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 17:00:41 -0000 >Number: 73782 >Category: sparc64 >Synopsis: libc is missing the _Qp_cmp function >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-sparc64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 10 17:00:40 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Dan Nelson >Release: FreeBSD 5.3-RELEASE sparc64 >Organization: The Allant Group >Environment: >Description: gcc will generate calls to _Qp_cmp when doing some long-double math operations. I don't know exactly what C code triggers it, but pike 7.6 configured with --with-long-double-precisionfails to link because it can't find _Qp_cmp. >How-To-Repeat: I'm reporting this secondhand, but downloading http://pike.ida.liu.se/pub/pike/latest-stable/Pike-v7.6.24.tar.gz and running "make CONFIGUREARGS=--with-long-double-precision" should be enough to trigger it. >Fix: Add _Qp_cmp support to /usr/src/lib/libc/sparc64/fpu/fpu_qp.c . NetBSD has working code (although a different way of going about it) at http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/arch/sparc64/softfloat/qp.c , and the official description of the function is at http://www.sparc.com/standards/SCD.2.4.1.ps (although I can't seem to get to it right now) >Release-Note: >Audit-Trail: >Unformatted: