From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15865 invoked by alias); 23 Apr 2012 17:40:02 -0000 Received: (qmail 15832 invoked by uid 22791); 23 Apr 2012 17:40:00 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ey0-f169.google.com (HELO mail-ey0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Apr 2012 17:39:47 +0000 Received: by eaal1 with SMTP id l1so3245253eaa.0 for ; Mon, 23 Apr 2012 10:39:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.119.197 with SMTP id n45mr1668767eeh.46.1335202786043; Mon, 23 Apr 2012 10:39:46 -0700 (PDT) Received: by 10.14.173.201 with HTTP; Mon, 23 Apr 2012 10:39:45 -0700 (PDT) In-Reply-To: <4F944677.2030504@eagerm.com> References: <4F944677.2030504@eagerm.com> Date: Mon, 23 Apr 2012 17:40:00 -0000 Message-ID: Subject: Re: GDB shared library tests with remote target From: Daniel Jacobowitz To: Michael Eager Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00184.txt.bz2 On Sun, Apr 22, 2012 at 1:57 PM, Michael Eager wrote: > When run on a remote system, the test fails to load the shared > library because the loader has an absolute path to the shared > library and does not search for it. > Q. =A0Did this ever work? =A0If yes, how and how do I make it work now? I always run GDB tests with the same path on local and remote systems, usually using NFS. Then it works. There's nothing fundamental about this - you could teach all the affected tests to use a search path or set sysroot or something - but this was easy at the time :-) --=20 Thanks, Daniel