develooper Front page | perl.perl5.porters | Postings from September 2000

[ID 20000905.004] IsUV vanished in 5.7.0

Thread Next
From:
Jarkko Hietaniemi
Date:
September 5, 2000 13:32
Subject:
[ID 20000905.004] IsUV vanished in 5.7.0
Message ID:
200009052032.XAA11664@kosh.hut.fi

This is a bug report for perl from jhi@kosh.hut.fi,
generated with the help of perlbug 1.32 running under perl v5.7.0.


-----------------------------------------------------------------
[Please enter your report here]

In Digital UNIX the IsUV flag somehow vanished between 5.6.0 and 5.7.0.

$ LD_LIBRARY_PATH=$PWD ./perl -Ilib -MDevel::Peek -e '$a = 9223372036854775807;print Dump($a)' 
SV = IV(0x140013cf8) at 0x140013870
  REFCNT = 1
  FLAGS = (IOK,pIOK)
  IV = 9223372036854775807
$ 

No IsUV in FLAGS.  Now watch the same with 5.6.0:

$ perl -MDevel::Peek -e '$a = 9223372036854775807;print Dump($a)'
SV = IV(0x140014100) at 0x140022900
  REFCNT = 1
  FLAGS = (IOK,pIOK,IsUV)
  UV = 9223372036854775808
$ 

The IsUV knowledge is there, it works with constants:

$ LD_LIBRARY_PATH=$PWD ./perl -Ilib -MDevel::Peek -e 'print Dump(9223372036854775808)' 
SV = IV(0x140013cf0) at 0x140001af0
  REFCNT = 1
  FLAGS = (IOK,READONLY,pIOK,IsUV)
  UV = 9223372036854775808

The bug is OS-specific since in Solaris with 5.7.0:

$ perl -MDevel::Peek -e '$a=2147483648;print Dump($a)'
SV = IV(0xffc7c) at 0x100834
  REFCNT = 1
  FLAGS = (IOK,pIOK,IsUV)
  UV = 2147483648

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl v5.7.0:

Configured by jhi at Mon Sep  4 04:25:06 EET DST 2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
  Platform:
    osname=dec_osf, osvers=4.0f, archname=alpha-dec_osf
    uname='osf1 kosh.hut.fi v4.0 1229 alpha '
    config_args='-des -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-std -fprm d -ieee -D_INTRINSICS -DLANGUAGE_C', optimize='-O4', cppflags='-std -ieee -D_INTRINSICS -DLANGUAGE_C'
    ccversion='V5.9-010', gccversion='', 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, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =''
    libpth=/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib
    libs=-lgdbm -ldbm -ldb -lm -liconv -lutil
    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.7.0/alpha-dec_osf/CORE'
    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -std -s'

Locally applied patches:
    

---
@INC for perl v5.7.0:
    lib
    /u/vieraat/vieraat/jhi/Perl/lib
    /usr/local/lib/perl5/5.7.0/alpha-dec_osf
    /usr/local/lib/perl5/5.7.0
    /usr/local/lib/perl5/site_perl/5.7.0/alpha-dec_osf
    /usr/local/lib/perl5/site_perl/5.7.0
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.7.0:
    HOME=/u/vieraat/vieraat/jhi
    LANG=C
    LANGUAGE (unset)
    LC_ALL=fi_FI.ISO8859-1
    LC_CTYPE=fi_FI.ISO8859-1
    LD_LIBRARY_PATH=/u/vieraat/vieraat/jhi/pp4/perl
    LOGDIR (unset)
    PATH=/u/vieraat/vieraat/jhi/Perl/bin:/u/vieraat/vieraat/jhi/.s:/u/vieraat/vieraat/jhi/.b/OSF1:/c/bin:/p/bin:/p/adm/bin:/usr/bin:/usr/sbin:/sbin:/bin:/usr/ccs/bin:/usr/lib:/etc:/lib:/p/X6/bin:/p/X5/bin:/usr/bin/X11:/usr/lbin:/usr/sbin/acct:/usr/tcb/bin:/tcb/bin:/usr/field:/u/vieraat/vieraat/jhi
    PERLLIB=/u/vieraat/vieraat/jhi/Perl/lib
    PERL_BADLANG (unset)
    SHELL=/bin/zsh


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