Skip Menu |

This queue is for tickets about the Data-Alias CPAN distribution.

Report information
The Basics
Id: 112289
Status: resolved
Priority: 0/
Queue: Data-Alias

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.20
Fixed in: (no value)



Subject: Test suite fails with perl 5.23.8: Undefined symbol LEAVESUB
Loading Data::Alias in the test suite fails with perl 5.23.8: ... Can't load '/home/cpansand/.cpan/build/2016022212/Data-Alias-1.20-3_0VDU/blib/arch/auto/Data/Alias/Alias.so' for module Data::Alias: /home/cpansand/.cpan/build/2016022212/Data-Alias-1.20-3_0VDU/blib/arch/auto/Data/Alias/Alias.so: undefined symbol: LEAVESUB at /opt/perl-5.23.8/lib/5.23.8/x86_64-linux/DynaLoader.pm line 193. Compilation failed in require at t/01_deref.t line 8. BEGIN failed--compilation aborted at t/01_deref.t line 8. # Looks like your test exited with 255 before it could output anything. t/01_deref.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 12/12 subtests ...
From: dcollinsn [...] gmail.com
A recent series of commits to the Perl core modified the POP* macros, which are not part of the public XS API. See, for example, b405d38bc: rename POPFOO() to CX_POPFOO() Rename all the context-popping macros such as POPBLOCK and POPSUB, by giving them a CX_ prefix. (Do TOPBLOCK too). This is principally to deliberately break any existing non-core use of these non-API macros, as their behaviour has changed in this branch. In particular, POPBLOCK(cx) no longer decrements the cxt stack pointer nor sets cx; instead, cx is now expected to already point to the stack frame which POPBLOCK should process. At the same time, giving them a CX_ prefix makes it clearer that these are all part of a family of macros that manipulate the context stack. The merge commit, if you want to see the whole thing, is 9d876b687. I was able to get the test suite to run, but a number of tests still crash with either errors, or plain SIGSEGV.
Fixed in Data-Alias-1.21, just uploaded to CPAN.