This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Check solib bfd arch
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: uweigand at de dot ibm dot com (Ulrich Weigand)
- Cc: brobecker at adacore dot com (Joel Brobecker), teawater at gmail dot com (Hui Zhu), gdb-patches at sourceware dot org (gdb-patches ml), msnyder at vmware dot com (Michael Snyder)
- Date: Fri, 18 Sep 2009 15:00:30 +0200 (CEST)
- Subject: Re: [RFA] Check solib bfd arch
I wrote:
> In your particular case, the result of compatible appears to indicate
> that the target architecture sparc:v9 *cannot* run code written for
> the architecture sparc:v9a; if this were true (I'm not sure about
> such sparc architecture details), then it would be correct to reject
> those shared libraries ...
Following up on myself, here's what the Sun Studio 12: C User's Guide
says on the topic (http://docs.sun.com/app/docs/doc/819-5265/bjasq):
Object binary files (.o) compiled with v9 and v9a can be linked and
can execute together, but will run only on a SPARC V9a compatible
platform.
So maybe your problem is really that the target platform is actually
v9a, but it is incorrectly detected as just v9 ?
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com