This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils 2.9 powerpc-rtems breakage


   Date: Tue, 14 Apr 1998 13:17:20 -0500 (CDT)
   From: Joel Sherrill <joel@OARcorp.com>

   bfd_openw (filename=0x8155a45 "a.out", target=0x8156d6c "elf32-powerpcle")
       at ../../src/bfd/opncls.c:348

OK, so why isn't elf32-powerpcle in your target list?

It would normally be there because of a -DSELECT_VECS argument when
targets.c was compiled.

Are you using shared libraries by any chance.  Somebody has already
pointed out a shared library problem in the 2.9 release: the name of
the library does not include the target name, so if you build and
install BFD more than once using --enable-shared, then the new library
will overwrite the old one.

Personally, I think the right solution is to just build BFD once using
--enable-targets, but building it multiple ones ought to work as well,
so this is a bug.

Ian