DBI 1.20 & bleadperl seems to have some trouble with 64bit integers,
at least on Linux.

5.6.1 with 64bit ints on gets a few warnings...

cc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O6   -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fpic 
-I/usr/local/perl5.6.1/lib/5.6.1/ppc-linux-64all/CORE -DDBI_NO_THREADS Perl.c
Perl.xsi: In function `boot_DBD__Perl':
Perl.xsi:15: warning: cast to pointer from integer of different size

cc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O6   -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fpic 
-I/usr/local/perl5.6.1/lib/5.6.1/ppc-linux-64all/CORE -DDBI_NO_THREADS DBI.c
DBI.xs: In function `dbi_bootinit':
DBI.xs:222: warning: cast from pointer to integer of different size
DBI.xs:224: warning: cast to pointer from integer of different size
DBI.xs: In function `dbih_dumpcom':
DBI.xs:821: warning: cast from pointer to integer of different size
DBI.xs:821: warning: cast from pointer to integer of different size
DBI.xs: In function `dbih_clearcom':
DBI.xs:967: warning: cast from pointer to integer of different size
DBI.xs:967: warning: cast from pointer to integer of different size

but otherwise passes ok.


bleadperl with 32bit ints gets one warning...

cc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O6   -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fpic 
-I/usr/local/bleadperl-32int/lib/5.7.2/ppc-linux/CORE -DDBI_NO_THREADS DBI.c
DBI.xs: In function `set_trace_file':
DBI.xs:461: warning: passing arg 1 of `setlinebuf' from incompatible pointer type
DBI.xs: In function `XS_DBI__var_FETCH':
DBI.xs:2681: warning: passing arg 1 of `fprintf' from incompatible pointer type

but is otherwise ok.


bleadperl with 64bit ints gets more warnings and fails all of t/examp.t

cc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O6   -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fpic 
-I/usr/local/bleadperl/lib/5.7.2/ppc-linux-64int/CORE -DDBI_NO_THREADS Perl.c
Perl.xsi: In function `boot_DBD__Perl':
Perl.xsi:15: warning: cast to pointer from integer of different size

cc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O6   -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fpic 
-I/usr/local/bleadperl/lib/5.7.2/ppc-linux-64int/CORE -DDBI_NO_THREADS DBI.c
DBI.xs: In function `dbi_bootinit':
DBI.xs:222: warning: cast from pointer to integer of different size
DBI.xs:224: warning: cast to pointer from integer of different size
DBI.xs: In function `set_trace_file':
DBI.xs:461: warning: passing arg 1 of `setlinebuf' from incompatible pointer type
DBI.xs: In function `dbih_dumpcom':
DBI.xs:821: warning: cast from pointer to integer of different size
DBI.xs:821: warning: cast from pointer to integer of different size
DBI.xs: In function `dbih_clearcom':
DBI.xs:967: warning: cast from pointer to integer of different size
DBI.xs:967: warning: cast from pointer to integer of different size
DBI.xs: In function `XS_DBI__var_FETCH':
DBI.xs:2681: warning: passing arg 1 of `fprintf' from incompatible pointer type 
t/examp.......dubious                                                        
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-175
        Failed 174/175 tests, 0.57% okay
-------------------------------------------------------------------------------
t/examp.t      0    11   175  174  99.43%  2-175
1 test skipped.
Failed 1/8 test scripts, 87.50% okay. 174/240 subtests failed, 27.50% okay.



perl -V's follow.

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.9-benh0, archname=ppc-linux-64all
    uname='linux blackrider 2.4.9-benh0 #4 mon aug 20 19:52:45 edt 2001 ppc unknown '
    config_args=''
    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 ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
    optimize='-O6',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.4 20010319 (Debian prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.3.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under linux
  Compiled at Aug 24 2001 06:37:27
  @INC:
    /usr/local/perl5.6.1/lib/5.6.1/ppc-linux-64all
    /usr/local/perl5.6.1/lib/5.6.1
    /usr/local/perl5.6.1/lib/site_perl/5.6.1/ppc-linux-64all
    /usr/local/perl5.6.1/lib/site_perl/5.6.1
    /usr/local/perl5.6.1/lib/site_perl
    .


Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 11867) configuration:
  Platform:
    osname=linux, osvers=2.4.9-benh0, archname=ppc-linux
    uname='linux blackrider 2.4.9-benh0 #4 mon aug 20 19:52:45 edt 2001 ppc unknown '
    config_args=''
    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=undef use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=define
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
    optimize='-O6',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.4 20010810 (Debian prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Locally applied patches:
        DEVEL11865
  Built under linux
  Compiled at Sep  4 2001 23:56:51
  @INC:
    /usr/local/bleadperl-32int/lib/5.7.2/ppc-linux
    /usr/local/bleadperl-32int/lib/5.7.2
    /usr/local/bleadperl-32int/lib/site_perl/5.7.2/ppc-linux
    /usr/local/bleadperl-32int/lib/site_perl/5.7.2
    /usr/local/bleadperl-32int/lib/site_perl
    .


Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 11867) configuration:
  Platform:
    osname=linux, osvers=2.4.9-benh0, archname=ppc-linux-64int
    uname='linux blackrider 2.4.9-benh0 #4 mon aug 20 19:52:45 edt 2001 ppc unknown '
    config_args=''
    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=undef
    usemymalloc=y, bincompat5005=define
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
    optimize='-O6',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.4 20010810 (Debian prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Locally applied patches:
        DEVEL11865
  Built under linux
  Compiled at Sep  4 2001 23:05:11
  @INC:
    /usr/local/bleadperl/lib/5.7.2/ppc-linux-64int
    /usr/local/bleadperl/lib/5.7.2
    /usr/local/bleadperl/lib/site_perl/5.7.2/ppc-linux-64int
    /usr/local/bleadperl/lib/site_perl/5.7.2
    /usr/local/bleadperl/lib/site_perl
    .



-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <[EMAIL PROTECTED]>       Kwalitee Is Job One
I represent GOD you fuck!
        http://www.unamerican.com/

Reply via email to