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.000000000 +0200
+++ insight-6.7.1.dfsg.1/gdb/ia64-tdep.c	2008-08-04 03:16:29.000000000 +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 */

Reply via email to