Bug#810326: perl-debug: can't load XS modules anymore (handshake failure)

Dominic Hargreaves dom at earth.li
Fri Jan 8 11:19:03 UTC 2016


On Fri, Jan 08, 2016 at 12:50:37PM +0200, Niko Tyni wrote:
> Package: perl-debug
> Version: 5.22.1-3
> Severity: important
> 
> Since 5.22, the 'debugperl' binary in perl-debug (built with
> -DDEBUGGING=both) has become remarkably less useful.
> 
>   % debugperl -e 'use Cwd'
>   Cwd.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdc80080)
> 
> I suspect this is not easily fixable. Possibly we should
> rather drop it altogether than give false expectations.

bulk88's comment at [1] ("A wild guess is you have -DDEBUGGING on the
cmd line to the CC in your module. DEBUGGING can only be set at perl
interp build time, not randomly, per module, afterwards.") sounds like
there is an expectation that turning on debugging shouldn't break
the handshaking? If so, perhaps there is a bug here that could be
addressed upstream - which would obviously be good news for any
binary distribution.

[1] <https://rt.perl.org/Public/Bug/Display.html?id=125236>




More information about the Perl-maintainers mailing list