Subject: Re: Spam that makes SpamAssassin crash Perl
To: Anders Hogrelius <ahs@hogrelius.nu>
From: Paul Mather <paul@gromit.dlib.vt.edu>
List: port-alpha
Date: 11/28/2003 15:33:41
On Fri, Nov 28, 2003 at 08:29:03PM +0100, Anders Hogrelius wrote:
=> I tried updating to perl-5.6.1nb9, and although perl doesn't crash, it
=> still behaves weird... I haven't compiled 5.8.2 yet though...
=>
=> ahs@hogrelius:~> perl -e 'print exp(0 - 736.285624221884), "\n";'
=> 0
FWIW, this is what I get using Perl 5.8.1 built from pkgsrc under
1.6ZC-CURRENT:
>>>>>
$ perl -e 'print exp(0 - 736.285624221884), "\n";'
1.7188543818817e-320
$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=netbsd, osvers=1.6zc, archname=alpha-netbsd
uname='netbsd chumby.dlib.vt.edu 1.6zc netbsd 1.6zc (chumby) #0: fri sep 26 23:31:36 edt 2003 paul@chumby.dlib.vt.edu:usrobjsysarchalphacompilechumby alpha '
config_args='-sde -Dprefix=/usr/pkg -Dscriptdir=/usr/pkg/bin -Darchname=alpha-netbsd -Doptimize=-O2 -mieee -I/usr/pkg/include -Dinstallstyle=lib/perl5 -Ui_malloc -Uusemymalloc -Uinstallusrbinperl -Dman3ext=3 -Dman3dir=/usr/pkg/lib/perl5/5.8.1/man/man3 -Dsiteman3dir=/usr/pkg/lib/perl5/site_perl/man/man3 -Dsiteprefix=/usr/pkg -Dinstallsiteman1dir=/usr/pkg/man/man1 -Dcc=cc -Dlibswanted=m crypt -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/pkg/include',
optimize='-O2 -mieee -I/usr/pkg/include',
cppflags='-fno-strict-aliasing -I/usr/pkg/include'
ccversion='', gccversion='3.3.1', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-R/usr/pkg/lib -L/usr/pkg/lib'
libpth=/usr/pkg/lib /usr/lib
libs=-lm -lcrypt
perllibs=-lm -lcrypt
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-R/usr/pkg/lib/perl5/5.8.1/alpha-netbsd/CORE'
cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared -Wl,-R/usr/pkg/lib -L/usr/pkg/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
Built under netbsd
Compiled at Oct 9 2003 11:26:54
@INC:
/usr/pkg/lib/perl5/site_perl/5.8.1/alpha-netbsd
/usr/pkg/lib/perl5/site_perl/5.8.1
/usr/pkg/lib/perl5/site_perl
/usr/pkg/lib/perl5/5.8.1/alpha-netbsd
/usr/pkg/lib/perl5/5.8.1
.
$
<<<<<
Cheers,
Paul.
e-mail: paul@gromit.dlib.vt.edu
"Without music to decorate it, time is just a bunch of boring production
deadlines or dates by which bills must be paid."
--- Frank Vincent Zappa