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

Colin Watson cjwatson at debian.org
Tue Oct 12 21:24:30 UTC 2010


On Tue, Oct 12, 2010 at 11:54:29PM +0300, Niko Tyni wrote:
> On Tue, Oct 12, 2010 at 03:56:11PM +0100, Colin Watson wrote:
> > 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.

As far as I'm concerned, just 5.12 would be fine (indeed, it's not in
the upstream maint-5.12 branch, only in blead).  I mostly just wanted to
ensure that folks working on GCC 4.5 in Debian didn't have to replicate
my search for a fix.

Thanks,

-- 
Colin Watson                                       [cjwatson at debian.org]






More information about the Perl-maintainers mailing list