Package: binutils
Version: 2.21.52.20110703-1
Severity: serious

binutils fails to build from source on MIPS with gcc 4.6.1, due to
set-but-not-used variables. See the full build logs for more details:

https://buildd.debian.org/status/fetch.php?pkg=binutils&arch=mips&ver=2.21.52.20110703-1&stamp=1309806010

The patch below (already submitted upstream) fixes the issue.

2011-07-04  Aurelien Jarno  <aurel...@aurel32.net>

        * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2.

Index: gas/config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.475
diff -u -d -p -r1.475 tc-mips.c
--- gas/config/tc-mips.c        4 Jul 2011 20:22:52 -0000       1.475
+++ gas/config/tc-mips.c        4 Jul 2011 22:14:21 -0000
@@ -3279,7 +3279,6 @@ append_insn (struct mips_cl_insn *ip, ex
             bfd_reloc_code_real_type *reloc_type)
 {
   unsigned long prev_pinfo, pinfo;
-  unsigned long prev_pinfo2, pinfo2;
   bfd_boolean relaxed_branch = FALSE;
   enum append_method method;
 
@@ -3292,9 +3291,7 @@ append_insn (struct mips_cl_insn *ip, ex
   file_ase_mips16 |= mips_opts.mips16;
 
   prev_pinfo = history[0].insn_mo->pinfo;
-  prev_pinfo2 = history[0].insn_mo->pinfo2;
   pinfo = ip->insn_mo->pinfo;
-  pinfo2 = ip->insn_mo->pinfo2;
 
   if (address_expr == NULL)
     ip->complete_p = 1;

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: mips (mips64)

Kernel: Linux 2.6.32-5-5kc-malta
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to