public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "sergiodj at redhat dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug build/16873] New: GDB 7.7 does not build with GCC 4.9 Date: Thu, 24 Apr 2014 22:43:00 -0000 [thread overview] Message-ID: <bug-16873-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=16873 Bug ID: 16873 Summary: GDB 7.7 does not build with GCC 4.9 Product: gdb Version: 7.7 Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: sergiodj at redhat dot com This bug is about building GDB 7.7 with GCC 4.9. Currently, this leads to some errors coming from BFD: 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); The fix already exists on the master branch: commit 27b829ee701e29804216b3803fbaeb629be27491 Author: Nick Clifton <nickc@redhat.com> Date: Wed Jan 29 13:46:39 2014 +0000 It is just a matter of backporting it to the 7.7 branch before the 7.7.1 release. I am creating this bug to document the issue. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2014-04-24 22:43 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-04-24 22:43 sergiodj at redhat dot com [this message] 2014-04-24 22:43 ` [Bug build/16873] " sergiodj at redhat dot com 2014-04-24 23:16 ` cvs-commit at gcc dot gnu.org 2014-04-24 23:18 ` sergiodj at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-16873-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).