Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Doug Evans <dje@google.com>
Cc: gdb-patches@sourceware.org
Subject: Build regression with --enable-targets=all  [Re: [RFA] Remove target_section.bfd]
Date: Wed, 17 Jul 2013 04:33:00 -0000	[thread overview]
Message-ID: <20130717043245.GA3037@host2.jankratochvil.net> (raw)
In-Reply-To: <yjt2ip0bbg2u.fsf@ruffy.mtv.corp.google.com>

On Tue, 16 Jul 2013 00:42:33 +0200, Doug Evans wrote:
> 2013-07-15  Doug Evans  <dje@google.com>
> 
> 	* target.h (struct target_section): Delete member bfd.
> 	All users updated to use the_bfd_section->owner instead.
> 	* exec.c (add_to_section_table): Assert bfd is expected value.
> 	Remove initialization of target_section.bfd.
> 	(remove_target_sections): Update.
> 	(section_table_available_memory): Update.
> 	(section_table_xfer_memory_partial): Update.
> 	(print_section_info): Update.
> 	(exec_set_section_address): Update.
> 	* record-full.c (record_full_core_xfer_partial): Update.
> 	* solib-svr4.c (svr4_relocate_section_addresses): Update.
> 	* solib-target.c (solib_target_relocate_section_addresses): Update.
> 	* symfile.c (build_section_addr_info_from_section_table): Update.
> 	* target.c (memory_xfer_live_readonly_partial): Update.
> 	(memory_xfer_partial_1): Update.

With --enable-targets=all I get:

nto-tdep.c: In function ‘nto_relocate_section_addresses’:
nto-tdep.c:309:48: error: ‘struct target_section’ has no member named ‘bfd’
make: *** [nto-tdep.o] Error 1
ppc64-tdep.c: In function ‘ppc64_convert_from_func_ptr_addr’:
ppc64-tdep.c:386:40: error: ‘struct target_section’ has no member named ‘bfd’
make: *** [ppc64-tdep.o] Error 1
solib-aix.c: In function ‘solib_aix_relocate_section_addresses’:
solib-aix.c:393:18: error: ‘struct target_section’ has no member named ‘bfd’
make: *** [solib-aix.o] Error 1
s390-tdep.c: In function ‘s390_load’:
s390-tdep.c:1182:15: error: ‘struct target_section’ has no member named ‘bfd’
s390-tdep.c:1182:15: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
cc1: all warnings being treated as errors

You need gcc<=4.7 as otherwise you will hit:
	build regression w/ --enable-targets=all && gcc-4.8+ [Re: [committed] Add structures to describe MIPS operands]
	http://sourceware.org/ml/binutils/2013-07/msg00154.html
	Message-ID: <20130717042139.GA2444@host2.jankratochvil.net>


Jan


  parent reply	other threads:[~2013-07-17  4:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 22:42 [RFA] Remove target_section.bfd Doug Evans
2013-07-16 18:13 ` Tom Tromey
2013-07-16 18:27   ` Doug Evans
2013-07-16 18:39     ` Tom Tromey
2013-07-17  4:33 ` Jan Kratochvil [this message]
2013-07-17  5:31   ` Build regression with --enable-targets=all [Re: [RFA] Remove target_section.bfd] Doug Evans
2013-07-18 10:54 ` Runtime regression for gdb.base/reread.exp & co. " Jan Kratochvil
2013-07-18 16:24   ` Doug Evans
2013-07-18 16:33     ` Jan Kratochvil
2013-07-19  0:20       ` Doug Evans
2013-07-22 16:25         ` Tom Tromey
2013-07-22 20:53           ` [commit] " Jan Kratochvil
2013-07-19  0:27       ` Doug Evans

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=20130717043245.GA3037@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=dje@google.com \
    --cc=gdb-patches@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: link
Be 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