From: Don Newcomer <newcomer@dickinson.edu>
Subject: SUMMARY: gcc 3.4.0
Date: Mon, 14 Jun 2004 15:50:50 -0400 (EDT) [thread overview]
Message-ID: <Pine.OSF.4.58.0406141549420.12564@falcon.dickinson.edu> (raw)
Thanks to Paul A Sand <pas@unh.edu> and Karl Vogel <kvo@seagha.com> 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 <float.h>
#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.
reply other threads:[~2004-06-14 19:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox