Nicholas Clark writes:
As per my grant conditions, here is a report for the September period.
POSIX::Termios and POSIX::SigSet no longer crash with ithreads
The XS code has been refactored to reduce the size of the shared object by about 12%, with no change in functionality. More POSIX functions now have tests.
Should now pass tests with older version of Test::More
Should now build all the way back to 5.004. [That was easy]
Stripped the XS of code that duplicates ppport.h
Shrunk the shared object slightly
xsubpp now generates 4 fewer lines of C code per XS function.
I've spend a chunk of the time working on relocatable @INC, prompted by Johann 'Myrkraverk' Oskarsson's patch for Solaris. As ever, it revealed other things that need looking at. Probing for
As these need more probes in Configure, I discovered that keeping Porting/chkcfgvar.pl happy is more work that it could be, so set about automating as much of that as possible. It can now generate default entries in all the config.sh style files. It can also now generate TAP output, and is run as part of the regression tests, to ensure that the config.sh-style files don't get out of date.
automating git bisect:
As a side effect of various bits of frustration with git bisect, I've written Porting/bisect.pl, which is intended to make it unbeatably easy to bisect problems.
eg, these just work as is:
# When did this become an error?
.../Porting/bisect.pl -e 'my $a := 2;'
# When did this stop being an error?
.../Porting/bisect.pl --expect-fail -e '1 // 2'
# When did this stop matching?
.../Porting/bisect.pl --match '\b(?:PL_)hash_seed_set\b'
# When did this start matching?
.../Porting/bisect.pl --expect-fail --match '\buseithreads\b'
# When did this test program stop working?
.../Porting/bisect.pl --target=perl -- ./perl -Ilib test_prog.pl
# When did this first become valid syntax?
.../Porting/bisect.pl --target=miniperl --end=v5.10.0 \
--expect-fail -e 'my $a := 2;'
# What was the last revision to build with these options?
.../Porting/bisect.pl --test-build -Dd_dosuid
At the end of September it was working on x86_64 Linux, capable of building any perl between perl-5.004 and blead.
Since then (and technically outside the scope of this report) I've improved it. It can now build miniperl back to perl-5.000, and perl (and extensions) back to perl-5.001n on x86_64 Linux and FreeBSD. (On the systems I have tested. In addition to the
contributors to the CMF who fund this grant, I'd like to thank Les Mongueurs de Perl for continuing to providing me access to a fast multicore FreeBSD machine. I can only test these sort of things on systems I have access to.)
A more detailed breakdown summarised from the weekly reports. In these:
16 hex digits refer to commits in http://perl5.git.perl.org/perl.git
RT #... is a bug in https://rt.perl.org/rt3/
CPAN #... is a bug in https://rt.cpan.org/Public/
BBC is "bleadperl breaks CPAN" - Andreas KÃ¶nig's test reports for CPAN modules
|1.00||ExtUtils::ParseXS dVAR [98e6112272363eb6]|
|POSIX (because Win32 ain't POSIX enough)|
|POSIX (documenting improvements)|
|POSIX Solaris (yay!)|
|POSIX and its subtleties|
|POSIX, pp_chdir failure|
|POSIX::Termios, ithreads, PTROBJ|
|1.00||Patches for CPAN modules assuming too much about POSIX.xs|
|Porting/checkcfgvar.pl (refactor and add it as a test)|
|1.75||RT #98662: enhance HARNESS_TIMER functionality|
|1.00||Test for RT #75722, RT #96008|
|0.50||a proposal for $[|
|1.25||chdir|chmod|chown passed a reference to tied globs.|
|2.00||de-duplicate includes [75006f0f4402bbab]|
|5.50||investigating the BBC reports for stdbool|
|1.50||ithreads, PTROBJ interaction|
|podchecker and .PL files|
|podchecker is slow [CPAN #71139]|
|0.50||prune dVAR and dNOOP|
|31.50||reading/responding to list mail|
|reading/responding to list mail (inc #98662 and //)|
|reading/responding to list mail [including base.pm]|
|0.50||regen.t (simplify code by using TestInit)|
|relocatable inc [and related collateral]|
|1.00||strxfrm() gets absurd [e0601d3cce250689 etc]|
|2.50||trying to nail podchecker|
144.25 hours in total