public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: Joel Sherrill <joel@OARcorp.com>
To: Ian Lance Taylor <ian@cygnus.com>
Cc: gas2@cygnus.com
Subject: Re: binutils 2.9 powerpc-rtems breakage
Date: Tue, 14 Apr 1998 11:58:00 -0000	[thread overview]
Message-ID: <Pine.BSF.3.96.980414132428.1247P-100000@vespucci.advicom.net> (raw)
In-Reply-To: <199804141821.OAA16222@subrogation.cygnus.com>

On Tue, 14 Apr 1998, Ian Lance Taylor wrote:

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

I do not know.  I have not been tinkering with anything.  

In fact, bfd/config.bfd has this:

  powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* |
\
  powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems*)
    targ_defvec=bfd_elf32_powerpc_vec
    targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec
bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec
bfd_powerpc_pe_vec ppcboot_vec"

So anything on powerpc-eabi and powerpc-rtems should behave the same.

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

OK.  

> 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.

I have not configured with --enable-shared.  So if it happened, it was the
default case.  I am on a RedHat x86 linux box if that makes any
difference. 

I build a lot of targets but always use different --prefix options.  I
don't think this problem is mine but it could be.

Is there anything else I could look at in gdb to figure out which vectors
are available?  Would that be a clue?

> 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.

I have managed to build all the RTEMS configuration except the mips64orion
and powerpc ones.  Both of them are showing problems during multilib
builds of libgcc*.a.

--joel


  reply	other threads:[~1998-04-14 11:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199804132223.SAA11602@subrogation.cygnus.com>
1998-04-14 11:21 ` Joel Sherrill
1998-04-14 10:42   ` Ian Lance Taylor
1998-04-14 11:21     ` Joel Sherrill
1998-04-14 11:21       ` Ian Lance Taylor
1998-04-14 11:58         ` Joel Sherrill [this message]
1998-04-14 11:58           ` Ian Lance Taylor
1998-04-14 12:49             ` Joel Sherrill
1998-04-13 14:21 Joel Sherrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.BSF.3.96.980414132428.1247P-100000@vespucci.advicom.net \
    --to=joel@oarcorp.com \
    --cc=gas2@cygnus.com \
    --cc=ian@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).