Skip Menu |

This queue is for tickets about the B-Generate CPAN distribution.

Report information
The Basics
Id: 104208
Status: resolved
Worked: 20 min
Priority: 0/
Queue: B-Generate

People
Owner: Nobody in particular
Requestors: MAT [...] cpan.fsck.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 1.51
  • 1.52
Fixed in: (no value)



Subject: Fails with Perl 5.21.x+
cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.21/mach/CORE" Generate.c Generate.xs:786:44: error: no member named 'sv_u' in 'struct padnamelist' SV * const * const names = AvARRAY(PL_comppad_name); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/perl5/5.21/mach/CORE/av.h:62:28: note: expanded from macro 'AvARRAY' #define AvARRAY(av) ((av)->sv_u.svu_array) ~~~~ ^ Generate.xs:787:44: error: no member named 'sv_any' in 'struct padnamelist' const SSize_t names_fill = AvFILLp(PL_comppad_name); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/perl5/5.21/mach/CORE/av.h:65:32: note: expanded from macro 'AvFILLp' #define AvFILLp(av) ((XPVAV*) SvANY(av))->xav_fill ^~~~~~~~~ /usr/local/lib/perl5/5.21/mach/CORE/sv.h:328:25: note: expanded from macro 'SvANY' #define SvANY(sv) (sv)->sv_any ~~~~ ^ 2 errors generated. *** [Generate.o] Error code 1
On 2015-05-04 12:16:28, MAT wrote: Show quoted text
> cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe > -fstack-protector -fno-strict-aliasing -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -DPIC -fPIC "- > I/usr/local/lib/perl5/5.21/mach/CORE" Generate.c > Generate.xs:786:44: error: no member named 'sv_u' in 'struct > padnamelist' > SV * const * const names = AvARRAY(PL_comppad_name); > ^~~~~~~~~~~~~~~~~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/av.h:62:28: note: expanded from > macro 'AvARRAY' > #define AvARRAY(av) ((av)->sv_u.svu_array) > ~~~~ ^ > Generate.xs:787:44: error: no member named 'sv_any' in 'struct > padnamelist' > const SSize_t names_fill = AvFILLp(PL_comppad_name); > ^~~~~~~~~~~~~~~~~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/av.h:65:32: note: expanded from > macro 'AvFILLp' > #define AvFILLp(av) ((XPVAV*) SvANY(av))->xav_fill > ^~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/sv.h:328:25: note: expanded from > macro 'SvANY' > #define SvANY(sv) (sv)->sv_any > ~~~~ ^ > 2 errors generated. > *** [Generate.o] Error code 1
I cannot confirm --- 1.52 looks fine with all perl versions: http://fast-matrix.cpantesters.org/?dist=B-Generate%201.52
On Mon May 04 12:16:28 2015, MAT wrote: Show quoted text
> cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe > -fstack-protector -fno-strict-aliasing -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -DPIC -fPIC "- > I/usr/local/lib/perl5/5.21/mach/CORE" Generate.c > Generate.xs:786:44: error: no member named 'sv_u' in 'struct > padnamelist' > SV * const * const names = AvARRAY(PL_comppad_name); > ^~~~~~~~~~~~~~~~~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/av.h:62:28: note: expanded from > macro 'AvARRAY' > #define AvARRAY(av) ((av)->sv_u.svu_array) > ~~~~ ^ > Generate.xs:787:44: error: no member named 'sv_any' in 'struct > padnamelist' > const SSize_t names_fill = AvFILLp(PL_comppad_name); > ^~~~~~~~~~~~~~~~~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/av.h:65:32: note: expanded from > macro 'AvFILLp' > #define AvFILLp(av) ((XPVAV*) SvANY(av))->xav_fill > ^~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/sv.h:328:25: note: expanded from > macro 'SvANY' > #define SvANY(sv) (sv)->sv_any > ~~~~ ^ > 2 errors generated. > *** [Generate.o] Error code 1
Thanks This is without strict linkers, who no HAVE_PAD_ALLOC. I forgot to test that. That's why we have the brave cpantesters :) -- Reini Urban
Should be fixed with 1.53, now on cpan. -- Reini Urban