Bug#599933: perl: fails to build with GCC 4.5

Niko Tyni ntyni at debian.org
Tue Oct 12 20:54:29 UTC 2010


On Tue, Oct 12, 2010 at 03:56:11PM +0100, Colin Watson wrote:
> Package: perl
> Version: 5.10.1-15
> Severity: important
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu ubuntu-patch natty
> 
> Ubuntu recently switched to GCC 4.5, and we quickly found that Perl
> failed to build with it.

>   Illegal declaration of subroutine main::__INT16_C at /build/buildd/perl-5.10.1/debian/tmp/usr/lib/perl/5.10/_h2ph_pre.ph line 162.
>   Compilation failed in require at /build/buildd/perl-5.10.1/debian/tmp/usr/lib/perl/5.10/asm/termios.ph line 1.

> I hunted around a bit and tracked down
> http://perl5.git.perl.org/perl.git/commit/8d66b3f930dc6d88b524d103e304308ae73a46e7,
> which fixes this problem (although the commit message is uninformative).
> Attached please find a patch to incorporate this.

Thanks! I don't see a reason for pushing this into squeeze (seems like an
unnecessary risk to me), but I'll certainly add it to the 5.12 packages
in experimental.

If you (or anybody else) think it should go in squeeze too, please let
me know.
-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list