This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: FYI: sparc-rtems does not build on 64-bit host
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Wed, 09 Aug 2006 09:04:09 +0100
- Subject: Re: FYI: sparc-rtems does not build on 64-bit host
- References: <20060808184950.GA27172@nevyn.them.org>
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