From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9378 invoked by alias); 17 Jul 2013 04:33:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 9366 invoked by uid 89); 17 Jul 2013 04:33:00 -0000 X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_50,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 17 Jul 2013 04:32:59 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6H4WpZj013026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Jul 2013 00:32:51 -0400 Received: from host2.jankratochvil.net (ovpn-116-19.ams2.redhat.com [10.36.116.19]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6H4WjBF005893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 17 Jul 2013 00:32:48 -0400 Date: Wed, 17 Jul 2013 04:33:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: gdb-patches@sourceware.org Subject: Build regression with --enable-targets=all [Re: [RFA] Remove target_section.bfd] Message-ID: <20130717043245.GA3037@host2.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2013-07/txt/msg00377.txt.bz2 On Tue, 16 Jul 2013 00:42:33 +0200, Doug Evans wrote: > 2013-07-15 Doug Evans > > * 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