develooper Front page | perl.perl5.porters | Postings from May 2016

[perl #128196] ExtUtils::MakeMaker::FAQ on splliting XS files

Thread Previous | Thread Next
James E Keenan via RT
May 21, 2016 02:26
[perl #128196] ExtUtils::MakeMaker::FAQ on splliting XS files
Message ID:
On Fri May 20 11:43:04 2016, jeffreykegler wrote:
> As of Perl 5.22.0, under the question "How do I make two or more XS
> files coexist in the same directory?", ExtUtils::MakeMaker::FAQ has 2
> suggestions.  My issue is with the 2nd of these, which describe an
> approach that uses statements of the form "boot_Cool__Bar(aTHX_ cv);"
> in the "BOOT:" section of the XS file.
> According to
> modules-into-multiple-files.html this approach can crash the system if
> used with 3 or more files.  Sergey's post is carefully argued, and his
> description of the situation AFAICT correct.
> Possible fixes:
> 1.)  Delete the 2nd suggestion, leaving only the suggestion to split
> the XS file into multiple directories.
> 2.)  Incorporate Sergey's fix into the FAQ
> Thanks, jeffrey kegler

Could we get some of our more XS-fluent contributors to study the Babkin blog post and consider Jeffrey's suggestion?

Thank you very much.

James E Keenan (

via perlbug:  queue: perl5 status: new

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About