Created attachment 580284 [details] build.log Building perl-5.28.2-r1 with gcc-8.3.0-r1 on my armv5te fails with: Can't locate ExtUtils/MakeMaker/version/vpp.pm in @INC (you may need to install the ExtUtils::MakeMaker::version::vpp module) Compiling perl-5.28.2-r1 with gcc-7.3.0-r3 works fine.
Created attachment 580286 [details] environment
@everyone, as a data point when talking to upstream, could you please test if this failure still happens with perl-5.30.0 ? You dont need to actually install perl-5.30.0 for that; it's enough if you run ebuild /usr/portage/dev-lang/perl/perl-5.30.0.ebuild clean test
I got the same error when compiling perl-5.30.0 with gcc-8.3.0-r1 (don't have gcc-7 anymore on my armv5 host to test).
Created attachment 583926 [details] build-5.30.0.log
I have had some success with EXTRA_ECONF="-Dd_u32align" emerge -av1 perl from https://rt.perl.org/Public/Bug/Display.html?id=133803 Apparently gcc optimizes out the endian/alignment tests from ./configure And the bug was rejected by gc as invalid since unaligned access has undefined behaviour. I am more than slightly irked as the gcc people are engaged in such aggressive optimization that it has been breaking things for a while. I would like to have a "C" compiler, one that does not require c++ or keep changing things that have worked for years because you can move it to undefined.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44dca7fe88de3c6b1ea877f977313eda3fbd0831 commit 44dca7fe88de3c6b1ea877f977313eda3fbd0831 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2019-10-16 12:33:35 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2019-10-16 12:35:09 +0000 dev-lang/perl: Add alignment fix also for armv5te, bug 688432 Closes: https://bugs.gentoo.org/688432 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-lang/perl/perl-5.28.2-r1.ebuild | 8 +++++--- dev-lang/perl/perl-5.30.0.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b817af0802a4cb04162962038deabc1bd309c7 commit e9b817af0802a4cb04162962038deabc1bd309c7 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2020-08-11 00:02:30 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2020-08-11 00:02:30 +0000 dev-lang/perl: Remove unaligned access direction workaround As its been indicated that this detection has been fixed upstream in perl since 5.31.5, and the workaround should no longer be needed Bug: https://bugs.gentoo.org/676062 Bug: https://bugs.gentoo.org/688432 Bug: https://github.com/Perl/perl5/issues/16828 Bug: https://github.com/Perl/perl5/issues/16680 Commit: https://github.com/perl/perl5/commit/ee9ac1cd8eb988fea70841eae211b11355711416 Commit: https://github.com/perl/perl5/commit/e8864dba80952684bf3afe83438d4eee0c3939a9 Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org> dev-lang/perl/perl-5.32.0-r1.ebuild | 8 -------- dev-lang/perl/perl-5.32.0.ebuild | 8 -------- 2 files changed, 16 deletions(-)