This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: binutils 2.19.92 linker broke with --as-needed flag
- From: Alan Modra <amodra at gmail dot com>
- To: Vincent Wen <wenvincent90 at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 9 Apr 2013 14:18:00 +0930
- Subject: Re: binutils 2.19.92 linker broke with --as-needed flag
- References: <CAF_=-cAo_+bni4N++ynNcYQ5RKkMBg1i7aNcXZ-aCJPVb3ub8Q at mail dot gmail dot com> <CALehDX5F_WXmKS9K+EipTw5uGkM37cOc2K+Zqxpe8XwBtzaTxg at mail dot gmail dot com> <CAF_=-cDsPpAs8=D3dH1ho1NRDJ+W5VVhug8HU1fJmusDq_aNAQ at mail dot gmail dot com> <CAF_=-cDJDPPzhh7TF2-rcro=PnL1iBkMv8jvV1BU7EO7En5zbg at mail dot gmail dot com> <20130402232743 dot GA23282 at bubble dot grove dot modra dot org> <CAF_=-cC7M0jhvSnsHA7xrPPedbWefQC0B9STpvQATP7nqZJg1g at mail dot gmail dot com> <20130403022010 dot GA27605 at bubble dot grove dot modra dot org> <CAF_=-cAYSgTU67tySGebDntQi1uMyANiuHGs0nWDHOC=GfPtOw at mail dot gmail dot com> <20130405003501 dot GA3208 at bubble dot grove dot modra dot org> <CAF_=-cB_uw9e++UmHwr+XSisgTAKRuAskvTuW0ZvGDd_z=6vkQ at mail dot gmail dot com>
On Mon, Apr 08, 2013 at 06:43:57PM -0700, Vincent Wen wrote:
> mips-dis.c: In function `print_insn_args':
> mips-dis.c:1251: warning: comparison between signed and unsigned
This is your version of gcc being too picky over an equality
comparison. There is really nothing wrong with the code here, and
later versions of gcc don't warn. I'd guess that binutils developers
as a group tend to fairly recent tools, so we haven't seen this
warning. The easiest fix for you is to configure binutils with
--disable-werror.
--
Alan Modra
Australia Development Lab, IBM