Bug#838613: perl: FTBFS on hppa - ext/XS-APItest/t/customop FAILED
Niko Tyni
ntyni at debian.org
Tue Sep 27 19:51:49 UTC 2016
On Sun, Sep 25, 2016 at 03:30:45PM -0400, John David Anglin wrote:
> On 2016-09-25, at 4:09 AM, Niko Tyni wrote:
>
> > - building with gcc-5 or at -O0 makes it go away
> > - I've bisected with gcc #pragmas that disabling optimization for just
> > Perl_custom_op_register() in op.c makes it go away
> > - I haven't managed to find which specific optimization causes it
>
> Attached is the diff in assembly output for Perl_custom_op_register compiled with gcc-5 and gcc-6,
> respectively. This is with 5.22.2 which I happened to have handy.
>
> The differences are just label changes and I don't see any functional difference in the assembly.
That's a bit weird. Presumably then the relevant difference in generated
code between gcc versions is somewhere else, and the optimized version
of Perl_custom_op_register() only breaks with the gcc 6 generated code.
Anyway, I'm attaching a workaround patch that just lowers the optimization
of op.c. I've verified that the test suite passes with this.
We'll include this in the next perl upload unless somebody objects.
--
Niko Tyni ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Temporarily-lower-the-optimization-of-op.c-on-hppa-d.patch
Type: text/x-diff
Size: 926 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20160927/1b32cc9c/attachment.patch>
More information about the Perl-maintainers
mailing list