FYI: If you run into issue ar: can't set BFD default target to `x86_64-pc-linux-gnu': Invalid bfd target
Like I did in: http://tinderbox.openembedded.net/packages/601631/ Then here is what I used as workarround/hack: enabled multitarget USE unmasked and added keywords for 2.20.51.0.8 version added --enable-plugins --enable-threads to eclass (as noted in changelog http://gcc.gnu.org/ml/gcc/2010-05/msg00632.html) jama portage # diff -uNr eclass/toolchain-binutils.eclass ~/toolchain-binutils.eclass --- eclass/toolchain-binutils.eclass 2010-04-20 01:08:10.000000000 +0200 +++ /root/toolchain-binutils.eclass 2010-06-05 22:36:36.000000000 +0200 @@ -223,6 +223,8 @@ --includedir=${INCPATH} \ --enable-64-bit-bfd \ --enable-shared \ + --enable-plugins \ + --enable-threads \ --disable-werror \ ${myconf} ${EXTRA_ECONF}" echo ./configure ${myconf} applied small patch to binutils diff -uNr binutils-2.20.51.0.8.orig//bfd/elf32-tic6x.c binutils-2.20.51.0.8/bfd/elf32-tic6x.c --- binutils-2.20.51.0.8.orig//bfd/elf32-tic6x.c 2010-04-13 15:26:40.000000000 +0200 +++ binutils-2.20.51.0.8/bfd/elf32-tic6x.c 2010-06-05 21:35:36.000000000 +0200 @@ -787,11 +787,12 @@ else { bfd_boolean warned; + bfd_boolean ignored = FALSE; RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, r_symndx, symtab_hdr, sym_hashes, h, sec, relocation, - unresolved_reloc, warned); + unresolved_reloc, warned, ignored); } if (sec != NULL && elf_discarded_section (sec)) and now binutils-cross compiled fine for me.. Regards, -- Jansa 'JaMa' Martin jabber: [email protected] _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
