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

[perl #123518] Bleadperl v5.21.6-163-g9b7476d breaks GRIAN/Eval-Compile-0.11.tar.gz

From:
perlbug-followup
Date:
December 29, 2014 15:33
Subject:
[perl #123518] Bleadperl v5.21.6-163-g9b7476d breaks GRIAN/Eval-Compile-0.11.tar.gz
Message ID:
rt-4.0.18-11572-1419867204-1487.123518-75-0@perl.org
# New Ticket Created by  (Andreas J. Koenig) 
# Please include the string:  [perl #123518]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123518 >


bisect
------
commit 9b7476d7a269a4d9bb24393ae5c8d75efe2fcab4
Author: Father Chrysostomos <sprout@cpan.org>
Date:   Sun Nov 23 14:25:22 2014 -0800

    Make PADNAMELIST a separate type

diagnostics
-----------
cc -c  -I. -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g   -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC "-I/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE"   Compile.c
In file included from /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/perl.h:3690:0,
                 from Compile.xs:2:
Compile.xs: In function ‘_show_cvpad’:
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/pad.h:316:24: warning: initialization discards ‘const’ qualifier from pointer target type
 #define PadnamePV(pn)  (SvPOKp(pn) ? SvPVX_const(pn) : NULL)
                        ^
Compile.xs:112:34: note: in expansion of macro ‘PadnamePV’
                 char* name_str = PadnamePV(name_sv);
                                  ^
In file included from /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/perl.h:3685:0,
                 from Compile.xs:2:
Compile.xs: In function ‘find_sv’:
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/av.h:62:26: error: ‘PADNAMELIST’ has no member named ‘sv_u’
 #define AvARRAY(av) ((av)->sv_u.svu_array)
                          ^
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/sv.h:329:22: note: in definition of macro ‘SvFLAGS’
 #define SvFLAGS(sv) (sv)->sv_flags
                      ^
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/pad.h:322:28: note: in expansion of macro ‘SvFAKE’
 #define PadnameOUTER(pn) !!SvFAKE(pn)
                            ^
Compile.xs:154:11: note: in expansion of macro ‘PadnameOUTER’
      if ( PadnameOUTER(AvELT( padname, i))){
           ^
Compile.xs:57:25: note: in expansion of macro ‘AvARRAY’
 #define AvELT( av, n ) (AvARRAY( av )[n]) 
                         ^
Compile.xs:154:24: note: in expansion of macro ‘AvELT’
      if ( PadnameOUTER(AvELT( padname, i))){
                        ^
Compile.xs: In function ‘cl_init’:
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/sv.h:328:23: error: ‘PADNAMELIST’ has no member named ‘sv_any’
 #define SvANY(sv) (sv)->sv_any
                       ^
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/av.h:65:32: note: in expansion of macro ‘SvANY’
 #define AvFILLp(av) ((XPVAV*)  SvANY(av))->xav_fill
                                ^
Compile.xs:252:16: note: in expansion of macro ‘AvFILLp’
  for (i=0; i<= AvFILLp( names ) ; ++i ){
                ^
In file included from /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/perl.h:3696:0,
                 from Compile.xs:2:
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/av.h:62:26: error: ‘PADNAMELIST’ has no member named ‘sv_u’
 #define AvARRAY(av) ((av)->sv_u.svu_array)
                          ^
Compile.xs:255:17: note: in expansion of macro ‘AvARRAY’
      name_sv = (AvARRAY(names)[i]);
                 ^
Compile.xs: In function ‘XS_Eval__Compile_cache_eval_undef’:
Compile.xs:358:10: warning: assignment from incompatible pointer type
     last = eval_cache;
          ^
In file included from /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/perl.h:5509:0,
                 from Compile.xs:2:
Compile.xs: In function ‘XS_Eval__Compile_cache_eval’:
Compile.xs:399:22: warning: passing argument 3 of ‘Perl_sv_setpvn’ from incompatible pointer type
     sv_setpvn( TARG, &PL_curcop, sizeof( &PL_curcop ));
                      ^
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/embed.h:666:49: note: in definition of macro ‘sv_setpvn’
 #define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c)
                                                 ^
In file included from /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/perl.h:5474:0,
                 from Compile.xs:2:
/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld/CORE/proto.h:4607:20: note: expected ‘const char * const’ but argument is of type ‘struct COP **’
 PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
                    ^

perl -V
-------
Summary of my perl5 (revision 5 version 21 subversion 7) configuration:
  Commit id: 9b7476d7a269a4d9bb24393ae5c8d75efe2fcab4
  Platform:
    osname=linux, osvers=3.16.0-4-amd64, archname=x86_64-linux-thread-multi-ld
    uname='linux k83 3.16.0-4-amd64 #1 smp debian 3.16.7-2 (2014-11-06) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Duseithreads -Duselongdouble -DDEBUGGING=-g'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2',
    optimize='-O2 -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion='', gccversion='4.9.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    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-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.19'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT
                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_LONG_DOUBLE
                        USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
  Built under linux
  Compiled at Dec 29 2014 15:11:33
  @INC:
    /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/site_perl/5.21.7/x86_64-linux-thread-multi-ld
    /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/site_perl/5.21.7
    /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7/x86_64-linux-thread-multi-ld
    /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.6-163-g9b7476d/a2da/lib/5.21.7
    .



-- 
andreas




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