public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* gdb-7.6 branch build failures
@ 2013-10-28 16:15 Michael Eager
  2013-10-28 18:29 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Eager @ 2013-10-28 16:15 UTC (permalink / raw)
  To: gdb, gdb-patches; +Cc: Joel Brobecker

Hi --

I'm seeing build failures on the gdb_7_6-branch:

src/gdb_7_6-branch/gdb/opcodes/mips-opc.c:214: warning: missing initializer
/src/gdb_7_6-branch/gdb/opcodes/mips-opc.c:214: warning: (near initialization for 
`mips_builtin_opcodes[0].exclusions')

The failures are in opcodes/mips16-opc.c and opcodes/mips-opc.c,
and are caused by -Werror treating warnings about missing trailing
initializers as errors.  On gdb-head, these files have been
updated to explicitly initialize trailing fields with zeros.

Is anyone building gdb_7_6-branch without these errors?
If not, I'll submit a patch for the branch to turn off
-Werror for these files.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

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

* Re: gdb-7.6 branch build failures
  2013-10-28 16:15 gdb-7.6 branch build failures Michael Eager
@ 2013-10-28 18:29 ` Tom Tromey
  2013-10-28 18:42   ` Michael Eager
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2013-10-28 18:29 UTC (permalink / raw)
  To: Michael Eager; +Cc: gdb, gdb-patches, Joel Brobecker

>>>>> "Michael" == Michael Eager <eager@eagerm.com> writes:

Michael> Is anyone building gdb_7_6-branch without these errors?
Michael> If not, I'll submit a patch for the branch to turn off
Michael> -Werror for these files.

If the fix is straightforward, I suggest just back-porting it instead.

Tom

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

* Re: gdb-7.6 branch build failures
  2013-10-28 18:29 ` Tom Tromey
@ 2013-10-28 18:42   ` Michael Eager
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Eager @ 2013-10-28 18:42 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb, gdb-patches, Joel Brobecker

On 10/28/13 11:28, Tom Tromey wrote:
>>>>>> "Michael" == Michael Eager <eager@eagerm.com> writes:
>
> Michael> Is anyone building gdb_7_6-branch without these errors?
> Michael> If not, I'll submit a patch for the branch to turn off
> Michael> -Werror for these files.
>
> If the fix is straightforward, I suggest just back-porting it instead.

The Makefile entries for mips-opc.c, etc., already specify
$(NO_MISSING_FIELD_INITIALIZERS).   Unfortunately, this is
null if the version of gcc does not support -Wno-missing-field-initializers.
(I'm building on a system with gcc-3.4.6.)

I'm working on a patch to configure/configure.in which will change set
NO_MISSING_FIELD_INITIALIZERS to -Wno-error if -Wno-missing-field-initializers
is not supported.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

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

end of thread, other threads:[~2013-10-28 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-28 16:15 gdb-7.6 branch build failures Michael Eager
2013-10-28 18:29 ` Tom Tromey
2013-10-28 18:42   ` Michael Eager

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).