This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Building GCC 4.9 RC with in-tree binutils
- From: Paul Smith <paul at mad-scientist dot net>
- To: Matt Godbolt <matt at godbolt dot org>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 14 Apr 2014 11:46:48 -0400
- Subject: Re: Building GCC 4.9 RC with in-tree binutils
- Authentication-results: sourceware.org; auth=none
- References: <CAFWXXN0AGMQbdBc_LihjDDNcS34Y86cYNCd7PU7M7sCaqV9okw at mail dot gmail dot com>
- Reply-to: paul at mad-scientist dot net
On Mon, 2014-04-14 at 10:27 -0500, Matt Godbolt wrote:
> However, during the second stage, binutils fails to compile due to
> errors of the form:
> ../bfd/bfd.h:304:75: error: right-hand operand of comma expression has
> no effect [-Werror=unused-value]
> #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata =
> (val)),TRUE)
I'm not sure if building binutils in-tree is different (I've only built
it out-of-tree) but I always add "--disable-werror" to my configure
invocation. See if that helps.