Created attachment 580284 [details]
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]
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]
I have had some success with
EXTRA_ECONF="-Dd_u32align" emerge -av1 perl
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.