From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dcd6a6bea1586410 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-03 07:40:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc01.POSTED!not-for-mail From: "Jeffrey Creem" Newsgroups: comp.lang.ada References: <030520030858096351%hopperj@macconnect.com> Subject: Re: gcc 3.2.3 and trancendental functions X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: NNTP-Posting-Host: 66.31.5.146 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc01 1051972834 66.31.5.146 (Sat, 03 May 2003 14:40:34 GMT) NNTP-Posting-Date: Sat, 03 May 2003 14:40:34 GMT Organization: AT&T Broadband Date: Sat, 03 May 2003 14:40:35 GMT Xref: archiver1.google.com comp.lang.ada:36909 Date: 2003-05-03T14:40:35+00:00 List-Id: "jim hopper" wrote in message news:030520030858096351%hopperj@macconnect.com... > We have a problem. we have a couple new linux boxes. one is red hat 8, > the other in 9.0. when i try to run our radar sim it hangs. finally > traced it down to a problem with sin/cos etc. so i created a little > program that just calls cosine with 45" (tried both degrees version > and radians. the cos returns NAN. > > so i went to gcc.gnu.edu and downloaded source for gcc 3.2.3 (i think) > and built and bootstrapped, same problem! > > then i went to cs.nyu.edu and downloaded the linux distribution for > gnat 3.15p there and installed it, and everything works fine. on the > 8.0 box. > > on the 9.0 box neither compiler seems to work. howoever if i move the > executable done with gnat 3.15p over to the 9.0 box that executes ok, i > just cant execute anything compiled on that box. > > Does anyone have any insight into why transendentals fail on gcc 3.2.3 > compiler?? > > thanks jim There are at least two open bug reports in the GCC GNATS database for this. It has been pointed out on the GCC list a few times that the Ada support in the GCC mainline is still not ready for widespread use. Hopefully by 3.3 (soon) things will improve. Either continue to use 3.15 (or 3.16 if you are a supported customer) or if you must have features of the newer GCC, consider poking around the GCC mailing list to see how to do your own build based on the FSF GCC CVS along with the public Libre software CVS tree (http://libre.act-europe.fr/GNAT/)