Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bleadperl v5.21.6-163-g9b7476d breaks GRIAN/Eval-Compile-0.11.tar.gz #14377

Closed
p5pRT opened this issue Dec 29, 2014 · 7 comments
Closed

Bleadperl v5.21.6-163-g9b7476d breaks GRIAN/Eval-Compile-0.11.tar.gz #14377

p5pRT opened this issue Dec 29, 2014 · 7 comments

Comments

@p5pRT
Copy link

p5pRT commented Dec 29, 2014

Migrated from rt.perl.org#123518 (status was 'rejected')

Searchable as RT123518$

@p5pRT
Copy link
Author

p5pRT commented Dec 29, 2014

From @andk

bisect


commit 9b7476d
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​: 9b7476d
  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

@p5pRT
Copy link
Author

p5pRT commented Jan 30, 2015

From @jkeenan

On Mon Dec 29 07​:33​:24 2014, andreas.koenig.7os6VVqR@​franz.ak.mind.de wrote​:

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

Make PADNAMELIST a separate type

Similar results on blead​:
This is perl 5, version 21, subversion 9 (v5.21.9 (v5.21.8-120-ga9ccbcd)) built for x86_64-linux

See attached.
--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Jan 30, 2015

From @jkeenan

Configuring G/GR/GRIAN/Eval-Compile-0.11.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Eval​::Compile
Writing MYMETA.yml and MYMETA.json
  GRIAN/Eval-Compile-0.11.tar.gz
  /home/jkeenan/testing/blead/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for G/GR/GRIAN/Eval-Compile-0.11.tar.gz
cp lib/Eval/Compile.pm blib/lib/Eval/Compile.pm
Running Mkbootstrap for Eval​::Compile ()
chmod 644 "Compile.bs"
"/home/jkeenan/testing/blead/bin/perl" "/home/jkeenan/testing/blead/lib/perl5/5.21.9/ExtUtils/xsubpp" -typemap "/home/jkeenan/testing/blead/lib/perl5/5.21.9/ExtUtils/typemap" Compile.xs > Compile.xsc && mv Compile.xsc Compile.c
cc -c -I. -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC "-I/home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE" Compile.c
In file included from /home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE/perl.h​:3699​:0,
  from Compile.xs​:2​:
Compile.xs​: In function ‘find_sv’​:
/home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE/av.h​:62​:26​: error​: ‘PADNAMELIST’ has no member named ‘sv_u’
#define AvARRAY(av) ((av)->sv_u.svu_array)
  ^
/home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE/pad.h​:317​:27​: note​: in definition of macro ‘PadnameFLAGS’
#define PadnameFLAGS(pn) (pn)->xpadn_flags
  ^
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))){
  ^
In file included from /home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE/perl.h​:3694​:0,
  from Compile.xs​:2​:
Compile.xs​: In function ‘cl_init’​:
/home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE/sv.h​:328​:23​: error​: ‘PADNAMELIST’ has no member named ‘sv_any’
#define SvANY(sv) (sv)->sv_any
  ^
/home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/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/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE/perl.h​:3705​:0,
  from Compile.xs​:2​:
/home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/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 [enabled by default]
  last = eval_cache;
  ^
Compile.xs​: In function ‘XS_Eval__Compile_cache_eval’​:
Compile.xs​:399​:5​: warning​: passing argument 2 of ‘Perl_sv_setpvn’ from incompatible pointer type [enabled by default]
  sv_setpvn( TARG, &PL_curcop, sizeof( &PL_curcop ));
  ^
In file included from /home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE/perl.h​:5486​:0,
  from Compile.xs​:2​:
/home/jkeenan/testing/blead/lib/perl5/5.21.9/x86_64-linux/CORE/proto.h​:4654​: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)
  ^
make​: *** [Compile.o] Error 1
  GRIAN/Eval-Compile-0.11.tar.gz
  /usr/bin/make -- NOT OK
Failed during this command​:
GRIAN/Eval-Compile-0.11.tar.gz : make NO

@p5pRT
Copy link
Author

p5pRT commented Jan 30, 2015

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Feb 2, 2015

From @iabyn

On Thu, Jan 29, 2015 at 07​:31​:17PM -0800, James E Keenan via RT wrote​:

On Mon Dec 29 07​:33​:24 2014, andreas.koenig.7os6VVqR@​franz.ak.mind.de wrote​:

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

Make PADNAMELIST a separate type

Similar results on blead​:

It looks like this module is being very chummy with the perl internals
and will need fixing to reflect changes in those internals.

--
"Emacs isn't a bad OS once you get used to it.
It just lacks a decent editor."

@p5pRT
Copy link
Author

p5pRT commented Mar 25, 2015

From @cpansprout

I have submitted a patch to <https://rt.cpan.org/Ticket/Display.html?id=103093>.

--

Father Chrysostomos

@p5pRT
Copy link
Author

p5pRT commented Mar 25, 2015

@cpansprout - Status changed from 'open' to 'rejected'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant