From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8262 invoked by alias); 24 Jun 2014 14:26:07 -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 8247 invoked by uid 89); 24 Jun 2014 14:26:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 24 Jun 2014 14:26:01 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5OEPwMc005948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Jun 2014 10:25:58 -0400 Received: from host2.jankratochvil.net (ovpn-116-53.ams2.redhat.com [10.36.116.53]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5OEPsNX032714 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Tue, 24 Jun 2014 10:25:57 -0400 Date: Tue, 24 Jun 2014 14:26:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: [7.8] Suggested fix of --enable-targets=all on 32-bit host Message-ID: <20140624142554.GA6971@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00857.txt.bz2 Hi Joel, suggesting to backport for 7.8: [PATCH] bfd/targets: create elf64 selvecs only if 64-bit bfd support is enabled. https://sourceware.org/ml/binutils/2014-06/msg00176.html https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=886aba9eff0eba428e634f579e8999b67da01b57 as currently on i686 host (that is without --enable-64-bit-bfd): ./configure --enable-targets=all;make will fail with: ../bfd/.libs/libbfd.a(targets.o):(.rodata+0xb0): undefined reference to `elf64_be_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0xb4): undefined reference to `elf64_le_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0xe0): undefined reference to `hppa_elf64_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0xe4): undefined reference to `hppa_elf64_linux_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0x164): undefined reference to `k1om_elf64_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0x168): undefined reference to `k1om_elf64_fbsd_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0x16c): undefined reference to `l1om_elf64_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0x170): undefined reference to `l1om_elf64_fbsd_vec' collect2: error: ld returned 1 exit status Makefile:756: recipe for target 'as-new' failed It got broken by: commit 2f67d686330300d4d27ff99ec47a970d744df8bb Author: Alan Modra Date: Fri May 2 20:11:49 2014 +0930 Sort target vectors to suit renaming and the 7.8 branch was created before the fix above happened. Jan