Bug#869373: perl: Please add workaround to fix FTBFS on sh4

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sat Jul 22 19:53:19 UTC 2017


On 07/22/2017 09:38 PM, Niko Tyni wrote:
> Sure, I was just thinking of a manual "porter upload" to get the binNMUs
> going before the next source upload. But it looks like you (or someone
> else) did that already.

That was me ;-). I'm doing the same for hppa now.

>>> The failure mode looks very similar to the hppa one (#869122, cc'd)
>>> so I guess it should get similar treatment.
>>
>> I tried the same workaround on hppa, it didn't help unfortunately.
> 
> Too bad. Dropping that bug then.

Adding it back on. For some reason, adding "noopt" wasn't passed to
the build environment. It builds with the following hack added
to debian/config.debian:

    hppa:*)
        optimize="$optimize${optimize:+ }-O0";;

I will bootstrap perl_5.26 for hppa now.

>>> Would you be able to narrow this down to file level? Cf. #838613 and
>>> debian/patches/debian/hppa_op_optimize_workaround.diff
>>
>> This patch seems to fix a failure of the testsuite, no? The build on
>> hppa crashes much earlier though.
> 
> My point was just that file-level optimizations can be achieved by
> modifying cflags.SH as seen in that patch. I think (but haven't
> verified) that miniperl is built via cflags.SH too.

OK, I wasn't aware of that. That's the first time I am hacking
on the perl package ;).

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913




More information about the Perl-maintainers mailing list