Re: [RFA] Check solib bfd arch

Ulrich Weigand
2009-09-18T13:06:40Z

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