tag 548943 patch
thanks

On Tue, Sep 29, 2009 at 10:04:53PM +0300, Niko Tyni wrote:
> Package: perl
> Version: 5.10.1-3
> Severity: serious
> 
> The ia64 build failed:

>  RealPPPort.c:1727: error: unrecognizable insn:
>  (insn 123 122 124 8 RealPPPort.xs:869 (set (reg:DF 410)
>          (unsigned_float:DF (reg/f:DI 328 sfp))) -1 (nil))
>  RealPPPort.c:1727: internal compiler error: in 
> instantiate_virtual_regs_in_insn, at function.c:1578

Here's the patch I'm about to upload. I'll submit the gcc bug report
probably tomorrow (but if anybody else wants to do that, be my guest.)
-- 
Niko Tyni   nt...@debian.org
>From 1c9a52aee28caece604ee25b4562943fcc74e636 Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Tue, 29 Sep 2009 22:26:22 +0300
Subject: [PATCH] Temporarily work around an internal compiler error in Devel::PPPort on ia64+gcc-4.3. (Closes: #548943)

---
 ext/Devel-PPPort/Makefile.PL |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ext/Devel-PPPort/Makefile.PL b/ext/Devel-PPPort/Makefile.PL
index 67eebc1..f1ef7a2 100644
--- a/ext/Devel-PPPort/Makefile.PL
+++ b/ext/Devel-PPPort/Makefile.PL
@@ -75,6 +75,13 @@ sub configure
     push @moreopts, INSTALLDIRS => ($] >= 5.007003 ? 'perl' : 'site');
   }
 
+
+  # temporary Debian hack, see http://bugs.debian.org/548943
+  require Config;
+  if ($Config::Config{archname} =~ /^ia64/) {
+    push @moreopts, OPTIMIZE => '-g -O0';
+  }
+
   if ($opt{'apicheck'}) {
     $PL_FILES{'apicheck_c.PL'} = 'apicheck.c';
     push @C_FILES, qw{ apicheck.c };
-- 
1.6.4.3

Reply via email to