From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Don Newcomer Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: gcc 3.4.0 Date: Mon, 14 Jun 2004 15:50:50 -0400 (EDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1087242692 11164 80.91.224.253 (14 Jun 2004 19:51:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2004 19:51:32 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jun 14 21:51:19 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BZxUE-00061p-00 for ; Mon, 14 Jun 2004 21:51:18 +0200 Original-Received: (qmail 25505 invoked by uid 5); 14 Jun 2004 19:51:08 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25490 invoked by uid 49501); 14 Jun 2004 19:51:08 -0000 Original-Received: from newcomer@dickinson.edu by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.110):SA:0(-4.9/5.0):. Processed in 0.621639 secs); 14 Jun 2004 19:51:08 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 14 Jun 2004 19:51:07 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HZB00KS4DT2N5@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 14 Jun 2004 15:51:07 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-X27 #30899) id <0HZB00102DSS2F@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 14 Jun 2004 15:50:54 -0400 (EDT) Original-Received: from falcon.dickinson.edu ([64.9.63.217]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HZB000FWDSQ5X@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 14 Jun 2004 15:50:51 -0400 (EDT) Original-Received: from falcon.dickinson.edu by falcon.dickinson.edu (8.8.8/1.1.22.3/25Feb99-0911AM) id PAA0000011352; Mon, 14 Jun 2004 15:50:50 -0400 (EDT) Original-To: Tru64 UNIX Managers Xref: main.gmane.org gmane.os.tru64.managers:7117 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7117 Thanks to Paul A Sand and Karl Vogel for their suggestions. Paul suggested: Haven't tackled gcc yet, but I had a similar (maybe the same) problem in compiling gdb. My notes say I included the lines #include #define NAN DBL_QNAN in libiberty/floatformat.c to make things work better. Hope this helps, no warranties expressed or implied, etc. ----- ...and Karl said: This looks familiar.. I bumped into this myself when porting OpenPKG-current (http://www.openpkg.org) to Tru64 V5.1-1. The solution is to add '-ieee' to the compile flags. ----- Doing the two suggestions allowed the compile to succeed. Don Newcomer Senior Manager, Systems Infrastructure Systems Department Library and Information Services Dickinson College P.O. Box 1773 Carlisle, PA 17013 717-245-1256 (Voice) 717-245-1690 (FAX) newcomer@dickinson.edu > Has anyone managed to compile gcc 3.4.0 under Tru64 version 5.1B yet? When > I try I get this error: > > cc -c -DHAVE_CONFIG_H -g -I. -I./../include floatformat.c -o floatformat.o > cc: Error: floatformat.c, line 319: In this statement, the libraries on this pla > tform do not yet support compile-time evaluation of the constant expression "0.0 > /0.0". (constfoldns) > dto = NAN; > --------------^ > make[1]: *** [floatformat.o] Error 1 > make[1]: Leaving directory `/usr/local/source/gcc-3.4.0/libiberty' > make: *** [all-libiberty] Error 2 > > > Is there a workaround? Thanks in advance.