Skip Menu |
 

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 122554
Status: new
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 7.25_05
Fixed in: (no value)



Subject: 02-xsdynamic.t fails when Perl built with -flto in both CFLAGs and LDFLAGS

Eumm was bumped to 7.30 in Perl 5.27.1 , and from then on, Perl's test suite has been failing when compiled with -flto

Similarly, if Perl 5.24.2  is compiled with -flto,  EUMM 7.30 will fail tests.

I have a travis driven test of Perl 5.27.2 that shows this failure:


https://travis-ci.org/gentoo-perl/perl-patchset/jobs/255798327#L4640

And I have a weekly cron-triggered build of blead that will go green with this is fixed in Perl.

And I have attached an example of this failure on  Perl 5.24.2


-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 

Subject: build.log
Download build.log
text/plain 18.4k

Message body is not shown because it is too large.

NB: looks like RT shit the bed again, attachment is not a tome of Chinese.

curl -L https://rt.cpan.org/Ticket/Attachment/1740275/936003/build.log
cpanm (App::cpanminus) 1.7042 on perl 5.024002 built for x86_64-linux
Work directory is /home/kent/.cpanm/work/1500580592.1099
You have make /usr/bin/make
You have LWP 6.26
You have /bin/tar: tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.

I'm guessing the literal control characters in the tests STDOUT is to blame:


Show quoted text
# #     Error:  Can't load '/home/kent/.cpanm/work/1500580592.1099/ExtUtils-MakeMaker-7.30/t/XS-Testsubdirsskip/blib/arch/auto/XS/Tes
t/Test.so' for module XS::Test: /home/kent/.cpanm/work/1500580592.1099/ExtUtils-MakeMaker-7.30/t/XS-Testsubdirsskip/blib/arch/auto/XS
/Test/Test.so: undefined symbol: plus1 at /usr/lib64/perl5/5.24.2/x86_64-linux/DynaLoader.pm line 193.
Show quoted text
# # ^@ at t/is_even.t line 3.

Show quoted text
# #     Error:  Can't load '/home/kent/.cpanm/work/1500580592.1099/ExtUtils-MakeMaker-7.30/t/XS-Testsubdirsskip/blib/arch/auto/XS/Tes
t/Test.so' for module XS::Test: /home/kent/.cpanm/work/1500580592.1099/ExtUtils-MakeMaker-7.30/t/XS-Testsubdirsskip/blib/arch/auto/XS
/Test/Test.so: undefined symbol: plus1 at /usr/lib64/perl5/5.24.2/x86_64-linux/DynaLoader.pm line 193.
Show quoted text
# # ^@ at t/plus1.t line 3.

Those "^@" sequences  are "as displayed by less". So, we have some additional fun with the tests emitting literal chr(0) .


-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )

Tested, bug starts in 7.25_05 , so the failure is either:

 

https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/132ae79fd88aa31753ad8cdc179d1815a87d5a46

 

https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/982f991c7f564f3e40e3f57c1f7090a5d1763611

The error looks like the same one in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/278  albiet slightly different.

Issue is still present in 7.31_03

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.