Re: Building GCC 4.9 RC with in-tree binutils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 14, 2014 at 11:02 AM, Matt Godbolt <matt@xxxxxxxxxxx> wrote:
> On Mon, Apr 14, 2014 at 10:46 AM, Paul Smith <paul@xxxxxxxxxxxxxxxxx> wrote:
>> 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.
>>

Apologies to all - I had typo'd something in my script before.  Adding
--disable-werror has indeed fixed the issue!

Thanks again Paul,

Matt




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux