On Sat, Jul 22, 2017 at 08:51:23PM +0200, John Paul Adrian Glaubitz wrote:
> Source: perl
> Version: 5.26.0-4
> Severity: normal
> Tags: patch
> User: debian-sup...@lists.debian.org
> Usertags: sh4
> 
> Hi!
> 
> src:perl currently fails to build from source on sh4 with:
> 
> ./miniperl -Ilib make_ext.pl cpan/Archive-Tar/pm_to_blib  
> MAKE="/usr/bin/make" LIBPERL_A=libperl.a
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> Unsuccessful Makefile.PL(cpan/Archive-Tar): code=11 at make_ext.pl line 518.
> Makefile:586: recipe for target 'cpan/Archive-Tar/pm_to_blib' failed
> make[1]: *** [cpan/Archive-Tar/pm_to_blib] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> debian/rules:124: recipe for target 'perl.static' failed
> make: *** [perl.static] Error 2
> dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
> 
> I have not tracked down the actual reason for the bug yet, but it can
> be worked around by building perl without optimizations enabled on sh4.
> 
> The attached patch disables the optimizations on sh4 and makes the build
> succeed. Please consider applying it for the next upload.

Thanks. In that case you should be able to work around the breakage
(and hopefully catch up with the 5.26 transition) by building with
DEB_BUILD_OPTIONS=noopt.

The failure mode looks very similar to the hppa one (#869122, cc'd)
so I guess it should get similar treatment.

Would you be able to narrow this down to file level? Cf. #838613 and
debian/patches/debian/hppa_op_optimize_workaround.diff
-- 
Niko Tyni   nt...@debian.org

Reply via email to