Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [7.7.1] Blocker patch (GCC 4.9 compat)
@ 2014-04-24 22:39 Sergio Durigan Junior
  2014-04-24 22:48 ` Joel Brobecker
  0 siblings, 1 reply; 3+ messages in thread
From: Sergio Durigan Junior @ 2014-04-24 22:39 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: GDB Patches

Hi Joel,

I tested the GDB 7.7 branch using GCC 4.9 to build it, and found some
errors.

  In file included from ../../gdb/defs.h:104:0,
                   from ../../gdb/cli/cli-dump.c:22:
  ../../gdb/cli/cli-dump.c: In function 'dump_bfd_file':
  ../bfd/bfd.h:302:108: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
   #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE)
                                                                                                              ^
  ../../gdb/cli/cli-dump.c:197:3: note: in expansion of macro 'bfd_set_section_vma'
     bfd_set_section_vma (obfd, osection, vaddr);
     ^
  ../bfd/bfd.h:303:83: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
   #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
                                                                                     ^
  ../../gdb/cli/cli-dump.c:198:3: note: in expansion of macro 'bfd_set_section_alignment'
     bfd_set_section_alignment (obfd, osection, 0);

They have been fixed by the following commit:

  commit 27b829ee701e29804216b3803fbaeb629be27491
  Author: Nick Clifton <nickc@redhat.com>
  Date:   Wed Jan 29 13:46:39 2014 +0000

So I am proposing that we backport this commit to the 7.7 branch.  I can
do that if it is OK.

WDYT?  Thanks,

-- 
Sergio


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [7.7.1] Blocker patch (GCC 4.9 compat)
  2014-04-24 22:39 [7.7.1] Blocker patch (GCC 4.9 compat) Sergio Durigan Junior
@ 2014-04-24 22:48 ` Joel Brobecker
  2014-04-24 23:20   ` Sergio Durigan Junior
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2014-04-24 22:48 UTC (permalink / raw)
  To: Sergio Durigan Junior; +Cc: GDB Patches

> They have been fixed by the following commit:
> 
>   commit 27b829ee701e29804216b3803fbaeb629be27491
>   Author: Nick Clifton <nickc@redhat.com>
>   Date:   Wed Jan 29 13:46:39 2014 +0000
> 
> So I am proposing that we backport this commit to the 7.7 branch.  I can
> do that if it is OK.
> 
> WDYT?  Thanks,

Yes, that sounds like a good plan to me.

Thanks!
-- 
Joel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [7.7.1] Blocker patch (GCC 4.9 compat)
  2014-04-24 22:48 ` Joel Brobecker
@ 2014-04-24 23:20   ` Sergio Durigan Junior
  0 siblings, 0 replies; 3+ messages in thread
From: Sergio Durigan Junior @ 2014-04-24 23:20 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: GDB Patches

On Thursday, April 24 2014, Joel Brobecker wrote:

>> They have been fixed by the following commit:
>> 
>>   commit 27b829ee701e29804216b3803fbaeb629be27491
>>   Author: Nick Clifton <nickc@redhat.com>
>>   Date:   Wed Jan 29 13:46:39 2014 +0000
>> 
>> So I am proposing that we backport this commit to the 7.7 branch.  I can
>> do that if it is OK.
>> 
>> WDYT?  Thanks,
>
> Yes, that sounds like a good plan to me.

Thanks, Joel.

The patch has been pushed:

  <https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8a90a4ef6a9c5acb6fd363c7c556682578aa9254>

I have also created a bug for it:

  <https://sourceware.org/bugzilla/show_bug.cgi?id=16873>

And updated the wiki accordingly.

Thanks!

-- 
Sergio


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-24 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24 22:39 [7.7.1] Blocker patch (GCC 4.9 compat) Sergio Durigan Junior
2014-04-24 22:48 ` Joel Brobecker
2014-04-24 23:20   ` Sergio Durigan Junior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox