develooper Front page | perl.perl5.porters | Postings from February 2023

Re: PERL_RC_STACK branch: first cut

Thread Previous | Thread Next
From:
demerphq
Date:
February 28, 2023 11:07
Subject:
Re: PERL_RC_STACK branch: first cut
Message ID:
CANgJU+UsMxjRHA7q872Q7t55teGJX++4jMxSzVzYWp5wHZ4pXg@mail.gmail.com
On Tue, 28 Feb 2023 at 11:50, Dave Mitchell <davem@iabyn.com> wrote:

> I would be very surprised if if any XS code could spot the difference on
> default builds. But this is perl, and we're constantly being surprised
> what breaks from trivial changes in core! On the other hand, even when
> built with PERL_RC_STACK, no CPAN module under dist/ or cpan/ needed
> fixing or tweaking to run, and Moose and its huge list of dependencies all
> installed ok.
>

FWIW. I found a set of XS modules that do die when built with
PERL_RC_STACK. See
https://github.com/Perl/perl5/pull/20858#issuecomment-1446542706

One that particularly surprised me was Text::CSV_XS.  I debugged a little,
but it wasnt obvious to me and I moved on with the assumption it would be
small cheese for you to decipher.

On the other hand, I tested them on your branch with the PERL_RC_STACK
define omitted (eg "normal build") and IIRC they passed. (I say IIRC
because I was heavily jet-lagged towards the end of that session and it all
was starting to blur together...) So that supports your theory that without
PERL_RC_STACK defined nothing should notice.

Cheers,
Yves

Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next


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