From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20638 invoked by alias); 18 Sep 2009 13:06:40 -0000 Received: (qmail 20630 invoked by uid 22791); 18 Sep 2009 13:06:40 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mtagate7.de.ibm.com (HELO mtagate7.de.ibm.com) (195.212.17.167) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Sep 2009 13:06:36 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate7.de.ibm.com (8.13.1/8.13.1) with ESMTP id n8ID6XiF001142 for ; Fri, 18 Sep 2009 13:06:33 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n8ID6Wx22924768 for ; Fri, 18 Sep 2009 15:06:32 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n8ID6L8j000883 for ; Fri, 18 Sep 2009 15:06:32 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id n8ID0U8Z024926; Fri, 18 Sep 2009 15:00:30 +0200 Message-Id: <200909181300.n8ID0U8Z024926@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 18 Sep 2009 15:00:30 +0200 Subject: Re: [RFA] Check solib bfd arch To: uweigand@de.ibm.com (Ulrich Weigand) Date: Fri, 18 Sep 2009 13:06:00 -0000 From: "Ulrich Weigand" Cc: brobecker@adacore.com (Joel Brobecker), teawater@gmail.com (Hui Zhu), gdb-patches@sourceware.org (gdb-patches ml), msnyder@vmware.com (Michael Snyder) In-Reply-To: <200909181250.n8ICoMmD010948@d12av02.megacenter.de.ibm.com> from "Ulrich Weigand" at Sep 18, 2009 02:50:22 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00587.txt.bz2 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