Bug#742818: fix test failures when built with GCC 4.9

Niko Tyni ntyni at debian.org
Fri Mar 28 20:24:39 UTC 2014


On Fri, Mar 28, 2014 at 01:54:02PM +0100, Matthias Klose wrote:
> Am 28.03.2014 13:09, schrieb Niko Tyni:
> >tag 742818 confirmed upstream
> >thanks
> >
> >On Thu, Mar 27, 2014 at 08:03:42PM +0100, Matthias Klose wrote:
> >>Package: perl
> >>Version: 5.18.2-2
> >>Severity: important
> >>Tags: sid jessie patch
> >>
> >>   * Fix undefined behaviour in sv.c, resulting in test failures when
> >>     built with GCC 4.9. Patch by Marek Polacek.
> >>
> >>patch at
> >>http://launchpadlibrarian.net/170687513/perl_5.18.2-2_5.18.2-2ubuntu1.diff.gz
> >
> >Thanks. I've confirmed test failures with gcc-4.9 4.9-20140322-1 from
> >experimental on both i386 and amd64. However, the above patch doesn't
> >seem to fix them here. Could you verify it really works for you?
> 
> I checked this with a test rebuild on trusty, which did succeed and didn't
> fail the tests.
> 
> >FWIW I added -Dcc=gcc-4.9 in debian/config.debian for testing.
> >Are you replacing /usr/bin/gcc or something like that?
> 
> yes, I installed the gcc-defaults packages from experimental.

Sorry to be a bother, but I'm afraid I still can't get the test suite
to pass with gcc-4.9 and the patch.

I tried to build the actual 5.18.2-2ubuntu1 package in a trusty amd64
chroot, with gcc_4:4.9-1exp1 and gcc-4.9_4.9-20140322-1 from Debian
experimental. I'm still seeing

 Failed 2 tests out of 2328, 99.91% okay.
    op/numconvert.t
    op/range.t

Could you please supply a build log of a successful 5.18.2-2ubuntu1
build with gcc-4.9 so I could try to find the difference?
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list