develooper Front page | perl.perl5.porters | Postings from July 2010

Bleadperl cfef31b2 breaks DBI-1.613

Thread Next
From:
andreas.koenig.7os6VVqR
Date:
July 26, 2010 23:52
Subject:
Bleadperl cfef31b2 breaks DBI-1.613
Message ID:
87k4ohfmdf.fsf@franz.ak.mind.de
My smokers discovered a Bleadperl Breaks CPAN thingie:

When I compile DBI with cfef31b2 (also known as v5.13.3-20-gcfef31b) or
later (current is 5.13.3-88) I get this compilation error:

  cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"1.613\" -DXS_VERSION=\"1.613\" -fPIC "-I/home/src/perl/repoperls/installed-perls/perl/v5.13.3-20-gcfef31b/lib/5.13.3/x86_64-linux-thread-multi-ld/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
  ./Perl.xsi: In function ‘XS_DBD__Perl__dr_discon_all_’:
  ./Perl.xsi:50: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:50: error: (Each undeclared identifier is reported only once
  ./Perl.xsi:50: error: for each function it appears in.)
  ./Perl.xsi:50: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__db__login’:
  ./Perl.xsi:102: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:102: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__db_commit’:
  ./Perl.xsi:277: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:277: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__db_rollback’:
  ./Perl.xsi:287: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:287: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__db_disconnect’:
  ./Perl.xsi:300: error: ‘dirty’ undeclared (first use in this function)
  ./Perl.xsi:307: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:307: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__db_STORE’:
  ./Perl.xsi:320: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:323: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__db_DESTROY’:
  ./Perl.xsi:344: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:347: error: ‘dirty’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__st__prepare’:
  ./Perl.xsi:454: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:454: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__st_bind_col’:
  ./Perl.xsi:498: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:502: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__st_bind_param’:
  ./Perl.xsi:536: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:536: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__st_bind_param_inout’:
  ./Perl.xsi:571: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:571: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__st_finish’:
  ./Perl.xsi:684: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:684: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__st_STORE’:
  ./Perl.xsi:716: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:719: error: ‘sv_no’ undeclared (first use in this function)
  ./Perl.xsi: In function ‘XS_DBD__Perl__st_DESTROY’:
  ./Perl.xsi:745: error: ‘sv_yes’ undeclared (first use in this function)
  ./Perl.xsi:748: error: ‘dirty’ undeclared (first use in this function)
  make[1]: *** [Perl.o] Error 1
  make[1]: Leaving directory `/home/sand/.cpan/build/DBI-1.613-YVnEvl'

I did the bisect with perls like this one with threads, long doubles,
and debugging:

Summary of my perl5 (revision 5 version 13 subversion 3) configuration:
  Commit id: cfef31b27d1a56cda74e23698243f3be70bd9cb3
  Platform:
    osname=linux, osvers=2.6.32-2-amd64, archname=x86_64-linux-thread-multi-ld
    uname='linux k81 2.6.32-2-amd64 #1 smp fri feb 12 00:01:47 utc 2010 x86_64 gnulinux '
    config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.13.3-20-gcfef31b -Dinstallusrbinperl=n -Uversiononly -Dusedevel -Duseithreads -Duselongdouble -Doptimize=-g -des -Ui_db'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.4', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8
    alignbytes=16, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.11.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.11.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -g -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_TRACK_MEMPOOL PERL_USE_DEVEL USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Built under linux
  Compiled at Jul 27 2010 08:10:05
  @INC:
    /home/src/perl/repoperls/installed-perls/perl/v5.13.3-20-gcfef31b/lib/site_perl/5.13.3/x86_64-linux-thread-multi-ld
    /home/src/perl/repoperls/installed-perls/perl/v5.13.3-20-gcfef31b/lib/site_perl/5.13.3
    /home/src/perl/repoperls/installed-perls/perl/v5.13.3-20-gcfef31b/lib/5.13.3/x86_64-linux-thread-multi-ld
    /home/src/perl/repoperls/installed-perls/perl/v5.13.3-20-gcfef31b/lib/5.13.3
    .



-- 
andreas

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