From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30468 invoked by alias); 14 Nov 2002 10:46:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30454 invoked by uid 71); 14 Nov 2002 10:46:02 -0000 Date: Wed, 20 Nov 2002 13:56:00 -0000 Message-ID: <20021114104602.30452.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Joakim Olsson Subject: Re: ada/6911: Sin and Cos returns bad result or exception Reply-To: Joakim Olsson X-SW-Source: 2002-11/txt/msg00668.txt.bz2 List-Id: The following reply was made to PR ada/6911; it has been noted by GNATS. From: Joakim Olsson To: bam@snoopy.apana.org.au, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, 148529@bugs.debian.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: ada/6911: Sin and Cos returns bad result or exception Date: Thu, 14 Nov 2002 11:23:28 +0100 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6911 Hi I have'nt a clue where this mail is going so bare with me (I'm a newbie to gcc ;-) I've noticed the same bug with 3.1 and 3.2 on RedHat PC-Intel. I couldn't find a solution in the database so I'm posting my analyse here. The configure seems to do something wrong. There are several versions of the package "Ada.Numerics.Aux" and the version that is used is the one called 86numaux.ads and it's body. This package implements Sin and Cos and other stuff with assambler-instructions and not uses interface to the C-functions in libm.a. I don't know why but,,, well the assambler doesn't work. In the rpm from Ada for Linux Team the version uses interface to C-functions and that version seems to work. PS If I've done something wrong by posting this mail, pleas don't hesitate to tell me. Is there a simple solution out there ??? please tell me. DS best regards /joakim olsson HiQ Approve AB SWEDEN