This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ada/6911: Sin and Cos returns bad result or exception
- From: Joakim Olsson <joakim dot olsson at hiq dot se>
- To: bam at snoopy dot apana dot org dot au, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, 148529 at bugs dot debian dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Thu, 14 Nov 2002 11:23:28 +0100
- Subject: Re: ada/6911: Sin and Cos returns bad result or exception
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