New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExtUtils::MakeMaker::FAQ on splliting XS files #15342
Comments
From jkegl@cpan.orgAs 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 http://babkin-cep.blogspot.com/2012/10/splitting-xs-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 |
From @jkeenanOn Fri May 20 11:43:04 2016, jeffreykegler wrote:
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. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @craigberryOn Fri, May 20, 2016 at 9:26 PM, James E Keenan via RT
I'm not that XS-fluent but the blog post sounds plausible. Note that I'll also note that MakeMaker is maintained upstream. The current |
From jeffreykegler@jeffreykegler.comI've been UNIX/C programming since the 70's, and Babkin's case is IMHO more Babkin's claim of "crashes" I read to mean program abends -- segment When C accesses the wrong section of the stack, the results are IMHO, this is the correct way to proceed: Babkin has laid out a prima A counter-argument in favor of the FAQ's recommendation would have to point On Sat, May 21, 2016 at 3:39 PM, Craig Berry via RT <
|
From @iabynOn Sat, May 21, 2016 at 05:38:46PM -0500, Craig A. Berry wrote:
At a quick glance the analysis and proposed fix look plausible to me. -- |
From @xsawyerxOn 05/21/2016 04:26 AM, James E Keenan via RT wrote:
My understanding of XS is relatively limited, but I could follow what That's just my 2 cents. The FAQ is maintained by the CPAN Toolchain |
@iabyn - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#128196 (status was 'rejected')
Searchable as RT128196$
The text was updated successfully, but these errors were encountered: