Created attachment 562518 [details]
See attached log, and upstream bug, for details. Current workaround is to use -O0 or older gcc.
I'm going to call for stabilization of Perl 5.28 for everyone except hppa and sparc in bug 685664. If you want to go ahead anyway, please cc yourself there and proceed. Otherwise I'd suggest we wait for now until the upstream bug brings results.
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
Created attachment 582886 [details]
perl-5.30.0 build log
Yes, perl-5.30.0 appears to fail for the same reason.
Yes, still happens with 5.30.0.
We should just hack the Configure test or something and keep perl up to date on sparc and hppa.
With it hacked, Perl passes the test suite on both 32- and 64-bit sparc userlands.
I attached a patch series to the RT ticket that fixes this.
Feel free to give it a test.
The bug has been closed via the following commit(s):
Author: Matt Turner <email@example.com>
AuthorDate: 2019-09-07 21:36:29 +0000
Commit: Matt Turner <firstname.lastname@example.org>
CommitDate: 2019-09-09 23:25:46 +0000
dev-lang/perl: Use Dd_u32align on sparc
Upstream fix is in progress at
but this is a very simple workaround with the same result until then.
Signed-off-by: Matt Turner <email@example.com>
dev-lang/perl/perl-5.28.2-r1.ebuild | 1 +
dev-lang/perl/perl-5.28.9999.ebuild | 1 +
dev-lang/perl/perl-5.30.0.ebuild | 1 +
3 files changed, 3 insertions(+)
The bug has been referenced in the following commit(s):
Author: Jeroen Roovers <firstname.lastname@example.org>
AuthorDate: 2019-09-11 15:32:46 +0000
Commit: Jeroen Roovers <email@example.com>
CommitDate: 2019-09-11 16:03:42 +0000
dev-lang/perl: Combine -Dd_u32align definitions, add HPPA
Although unaligned accesses are not fatal on PARISC, as they are
automatically realigned as they occur, this has a non-trivial impact on
performance that ought to be fixed upstream. Work around it the same way
sparc*-* does and combine both efforts into a single myconf() call.
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <firstname.lastname@example.org>
dev-lang/perl/perl-5.28.2-r1.ebuild | 5 +++--
dev-lang/perl/perl-5.28.9999.ebuild | 5 +++--
dev-lang/perl/perl-5.30.0.ebuild | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)