public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* source of powerpc-rtems failure
@ 1998-04-16 10:56 Joel Sherrill
  1998-04-16 11:46 ` Ian Lance Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Sherrill @ 1998-04-16 10:56 UTC (permalink / raw)
  To: gas2

I have narrowed this down about as far as I can without getting some
advice. :) It is a bug in the bfd/configure.in script and easy to
reproduce in binutils 2.9.

Here's how:

mkdir build
../binutils-2.9/bfd/configure --target=powerpc-rtems

Edit the generated Makefile and search for "tdefaults".  It will look like
this:

tdefaults =  -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec
-DSELECT_VECS='&bfd_elf32_powerpc_vec,&rs6000coff_vec,&bfd_elf32_powerpcle_vec,&bfd_powerpcle_pei_vec,&bfd_powerpc_pei_vec,&bfd_powerpcle_pe_vec,&bfd_powerpc_pe_vec,&ppcboot_vec'
-DSELECT_ARCHITECTURES='&bfd_rs6000_arch,&bfd_powerpc_arch'
-DHAVE_bfd_elf32_powerpc_vec -DHAVE_rs6000coff_vec
-DHAVE_bfd_elf32_powerpcle_vec -DHAVE_bfd_powerpcle_pei_vec
-DHAVE_bfd_powerpc_pei_vec -DHAVE_bfd_powerpcle_pe_vec
-DHAVE_bfd_powerpc_pe_vec -DHAVE_ppcboot_vec

Then clean the build directory and try this one:

../binutils-2.9/bfd/configure --target=powerpc-rtems --enable-targets=all

And the definition of tdefaults is changed to:

tdefaults =  -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec

I am going to try to fix this here but thought this might be enough to
trip someone into know what the problem was.

--joel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-04-16 12:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-16 10:56 source of powerpc-rtems failure Joel Sherrill
1998-04-16 11:46 ` Ian Lance Taylor
1998-04-16 12:23   ` Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).