From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6066 invoked by alias); 9 Aug 2006 08:04:16 -0000 Received: (qmail 6057 invoked by uid 22791); 9 Aug 2006 08:04:15 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 Aug 2006 08:04:13 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7984BHS013041 for ; Wed, 9 Aug 2006 04:04:11 -0400 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7984ALA008905 for ; Wed, 9 Aug 2006 04:04:10 -0400 Received: from [10.32.68.7] (vpn-68-7.surrey.redhat.com [10.32.68.7]) by pobox.surrey.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k79849OI002078 for ; Wed, 9 Aug 2006 09:04:09 +0100 Message-ID: <44D996F9.7020400@redhat.com> Date: Wed, 09 Aug 2006 14:46:00 -0000 From: Nick Clifton User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: binutils@sourceware.org Subject: Re: FYI: sparc-rtems does not build on 64-bit host References: <20060808184950.GA27172@nevyn.them.org> In-Reply-To: <20060808184950.GA27172@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00115.txt.bz2 Hi Daniel, > Without sparc64 configured in, bdf_elf64_swap_reloca_out is not available. I have been using this as a local patch to work around this problem: Index: bfd/config.bfd =================================================================== RCS file: /cvs/src/src/bfd/config.bfd,v retrieving revision 1.211 diff -c -3 -p -r1.211 config.bfd *** bfd/config.bfd 4 Aug 2006 13:13:55 -0000 1.211 --- bfd/config.bfd 9 Aug 2006 08:01:28 -0000 *************** case "${targ}" in *** 1309,1314 **** --- 1309,1317 ---- sparc-*-elf* | sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) targ_defvec=bfd_elf32_sparc_vec targ_selvecs=sunos_big_vec + #ifdef BFD64 + targ_selvecs="$targ_selvecs bfd_elf64_sparc_vec" + #endif ;; #ifdef BFD64 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) But I am not yet convinced that it is the right thing to do, and of course it would need to be extended to other sparc targets as well, so I have not yet applied it to the mainline. Cheers Nick