Bug#493689: insight: FTBFS on ia64

2008-08-25 Thread Chris Lamb
Chris Lamb wrote:

 Patch attached.

D'oh, it already had a patch; that was silly.


Regards,

-- 
Chris Lamb, UK   [EMAIL PROTECTED]
GPG: 0x634F9A20


signature.asc
Description: PGP signature


Bug#493689: Insight: FTBFS on ia64

2008-08-24 Thread Chris Lamb
tags 493689 + patch
thanks

Patch attached.

Fixing this bug would fix an RC bug affecting the version in lenny
(this FTBFS is stopping it migrating).


Regards,

-- 
Chris Lamb, UK  [EMAIL PROTECTED]
   GPG: 0x634F9A20
diff -urNd insight-6.7.1.dfsg.1.orig/gdb/ia64-tdep.c 
insight-6.7.1.dfsg.1/gdb/ia64-tdep.c
--- insight-6.7.1.dfsg.1.orig/gdb/ia64-tdep.c   2008-08-24 18:01:15.0 
+0100
+++ insight-6.7.1.dfsg.1/gdb/ia64-tdep.c2008-08-24 18:01:59.0 
+0100
@@ -1234,7 +1234,7 @@
  spill_reg   = rN;
  last_prologue_pc = next_pc;
}
- else if (qp == 0  rM = 32  rM  40  !instores[rM]  
+ else if (qp == 0  rM = 32  rM  40  !instores[rM-32]  
   rN  256  imm == 0)
{
  /* mov rN, rM where rM is an input register */


signature.asc
Description: PGP signature


Bug#493689: insight: FTBFS on ia64

2008-08-04 Thread Luca Falavigna
Package: insight
Version: 6.7.1.dfsg.1-10
Severity: serious
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch


Your package FTBFS on ia64:

cc1: warnings being treated as errors
ia64-tdep.c: In function 'examine_prologue':
ia64-tdep.c:1237: error: array subscript is above array bounds
make[3]: *** [ia64-tdep.o] Error 1
make[3]: Leaving directory `/build/buildd/insight-6.7.1.dfsg.1/gdb'
make[2]: *** [all-gdb] Error 2
make[2]: Leaving directory `/build/buildd/insight-6.7.1.dfsg.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/insight-6.7.1.dfsg.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Attached patch should solve this issue.
Thank you.

-- System Information:
Debian Release: lenny/sid
  APT prefers intrepid
  APT policy: (500, 'intrepid')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-5-generic (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -urNad insight-6.7.1.dfsg.1~/gdb/ia64-tdep.c insight-6.7.1.dfsg.1/gdb/ia64-tdep.c
--- insight-6.7.1.dfsg.1~/gdb/ia64-tdep.c	2007-09-19 01:53:07.0 +0200
+++ insight-6.7.1.dfsg.1/gdb/ia64-tdep.c	2008-08-04 03:16:29.0 +0200
@@ -1234,7 +1234,7 @@
 	  spill_reg   = rN;
 	  last_prologue_pc = next_pc;
 	}
-	  else if (qp == 0  rM = 32  rM  40  !instores[rM]  
+	  else if (qp == 0  rM = 32  rM  40  !instores[rM-32] 
 		   rN  256  imm == 0)
 	{
 	  /* mov rN, rM where rM is an input register */