develooper Front page | perl.perl5.porters | Postings from December 2001

Solaris longdouble pack.t failures

Thread Next
From:
Andy Dougherty
Date:
December 3, 2001 12:49
Subject:
Solaris longdouble pack.t failures
Message ID:
Pine.SOL.4.10.10112031548300.5207-100000@maxwell.phys.lafayette.edu
Solaris 8 with -Duse64bitall -Duselongdouble gave me the following errors
in op/pack.t:

not ok 99 # For list (-128, -1, 0, 1, 127) (total -1) packed with c unpack '%65c' gave 0, expected 36893488147419103231
not ok 139 # For list (-32768, -1, 0, 1, 32767) (total -1) packed with s unpack '%65s' gave 0, expected 36893488147419103231
not ok 179 # For list (-2147483648, -1, 0, 1, 2147483647) (total -1) packed with i unpack '%65i' gave 0, expected 36893488147419103231
not ok 219 # For list (-2147483648, -1, 0, 1, 2147483647) (total -1) packed with l unpack '%65l' gave 0, expected 36893488147419103231
not ok 259 # For list (-32768, -1, 0, 1, 32767) (total -1) packed with s! unpack '%65s!' gave 0, expected 36893488147419103231
not ok 299 # For list (-2147483648, -1, 0, 1, 2147483647) (total -1) packed with i! unpack '%65i!' gave 0, expected 36893488147419103231
not ok 339 # For list (-2147483648, -1, 0, 1, 2147483647) (total -1) packed with l! unpack '%65l!' gave 0, expected 36893488147419103231
not ok 499 # For list (-9223372036854775808, -1, 0, 1, 9223372036854775807) (total -1) packed with q unpack '%65q' gave 0, expected 36893488147419103231
not ok 519 # For list (0, 1, 9223372036854775807, 9223372036854775808, 18446744073709551615) (total 36893488147419103231) packed with Q unpack '%65Q' gave 0, expected 36893488147419103231

Do these look familiar to anyone?

Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 13440) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris-64int-ld
    uname='sunos maxwell 5.8 generic_108528-10 sun4u sparc sunw,ultra-5_10 '
    config_args='-Duse64bitall -Duselongdouble -Dusedevel -Dprefix=/opt/perl -Doptimize=-xO4 -de'
    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=undef uselongdouble=define
    usemymalloc=n, bincompat5005=define
  Compiler:
    cc='cc', ccflags ='-I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-xO4',
    cppflags='-I/usr/local/include -I/opt/gnu/include'
    ccversion='WorkShop Compilers 4.2 30 Oct 1996 C 4.2', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib -L/usr/lib/sparcv9 -L/opt/SUNWspro/lib -R/opt/SUNWspro/lib '
    libpth=/usr/local/lib /opt/gnu/lib /usr/lib/sparcv9 /usr/lib /usr/ccs/lib /opt/SUNWspro/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lsunmath
    perllibs=-lsocket -lnsl -ldl -lm -lc -lsunmath
    libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags=' -G -L/usr/local/lib -L/opt/gnu/lib -L/usr/lib/sparcv9 -L/opt/SUNWspro/lib -R/opt/SUNWspro/lib'

-- 
    Andy Dougherty		doughera@lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About