Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 523 forks source link

Installation issues "floating point error" message X2 #65

Closed p5pRT closed 21 years ago

p5pRT commented 24 years ago

Migrated from rt.perl.org#866 (status was 'resolved')

Searchable as RT866$

p5pRT commented 24 years ago

From root@www1.src.org

While installing perl on Digital UNIX V4.0B (Rev. 564); Sat Aug 1 13​:42​:30 EDT 1998

the following errors were encountered...

first\, this...

`sh cflags libperl.so util.o` util.c   CCCMD = cc -DPERL_CORE -c -std -fprm d -ieee -D_INTRINSICS -I/usr/loc al/include -DLANGUAGE_C -O4
cc​: Warning​: util.c\, line 2856​: In this statement\, a floating point error occurs in evaluating the expression "1.8e308". return HUGE_VAL; --------^

then this...

cc -c -std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C -O4
  -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" -I../.. POSIX.c cc​: Warning​: POSIX.xs\, line 352​: Type long double has the same representation as type double on this platform. long double ^ cc​: Warning​: POSIX.xs\, line 1315​: In this statement\, a floating point error occu rs in evaluating the expression "1.8e308".   return HUGE_VAL; -------------------^

no other notable errors\, and perl seems to run fine\, but haven't tested any floating point code (yet). will send new bug report if anything else shows up.

anything to worry about? anything to try?

Perl Info ``` Site configuration information for perl 5.00503: Configured by shelman at Mon Jun 14 15:21:43 EDT 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=dec_osf, osvers=4.0, archname=alpha-dec_osf uname='osf1 www1.src.org v4.0 564 alpha ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-O4', gccversion= cppflags='-std -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C' ccflags ='-std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=8, ptrsize=8, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='ld', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib libs=-lgdbm -ldbm -ldb -lm libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-rpath,/usr/local/lib/perl5/5.00503/alpha-dec_osf/CORE' cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -s -L/usr/local/lib' Locally applied patches: @INC for perl 5.00503: /usr/local/lib/perl5/5.00503/alpha-dec_osf /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/alpha-dec_osf /usr/local/lib/perl5/site_perl/5.005 . Environment for perl 5.00503: HOME=/ LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/local/bin:/usr/users/shelman/bin:/usr/bin:. PERL_BADLANG (unset) SHELL=/bin/sh ```
p5pRT commented 21 years ago

@gbarr - Status changed from 'open' to 'resolved'