../../gas/config/tc-aarch64.c:646:11: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]

Bug #1079676 reported by Marcin Juszkiewicz
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro OpenEmbedded
Invalid
Undecided
Unassigned
binutils (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

While compiling binutils/cross for aarch64 build fails:

gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR="\"/usr/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -Wno-format-security -MT tc-aarch64.o -MD -MP -MF .deps/tc-aarch64.Tpo -c -o tc-aarch64.o `test -f 'config/tc-aarch64.c' || echo '../../gas/'`config/tc-aarch64.c
../../gas/config/tc-aarch64.c: In function 'first_error_fmt':
../../gas/config/tc-aarch64.c:646:11: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[6]: *** [tc-aarch64.o] Error 1
make[6]: Leaving directory `/tmp/buildd/arm64-cross-toolchain-base-1.91/binutils-2.23.1/builddir-aarch64-linux-gnu/gas'

Tags: aarch64 cross
Revision history for this message
Marcus Shawcroft (marcus-shawcroft) wrote :
Changed in binutils (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package binutils - 2.23.1-0ubuntu2

---------------
binutils (2.23.1-0ubuntu2) raring; urgency=low

  * Update from the 2.23 branch (20121121).
    - arm, aarch64 and x32 updates.
    - Fix build error with -Werror. LP: #1079676.
 -- Matthias Klose <email address hidden> Wed, 21 Nov 2012 14:14:55 +0100

Changed in binutils (Ubuntu):
status: New → Fix Released
Marcin Juszkiewicz (hrw)
Changed in linaro-oe:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.