From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2424 invoked by alias); 12 Nov 2009 15:55:40 -0000 Received: (qmail 2413 invoked by uid 22791); 12 Nov 2009 15:55:39 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Nov 2009 15:55:35 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3F6A310E4D; Thu, 12 Nov 2009 15:55:33 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 1BF5C10DA8; Thu, 12 Nov 2009 15:55:32 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1N8c1E-0004kE-0h; Thu, 12 Nov 2009 10:55:32 -0500 Date: Thu, 12 Nov 2009 15:55:00 -0000 From: Daniel Jacobowitz To: Nathan Froyd Cc: gdb-patches@sourceware.org Subject: Re: [PATCH,testsuite] fix remote-host testing for tests using shared libraries Message-ID: <20091112155532.GA18002@caradoc.them.org> Mail-Followup-To: Nathan Froyd , gdb-patches@sourceware.org References: <20091112154430.GK31393@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091112154430.GK31393@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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-11/txt/msg00283.txt.bz2 On Thu, Nov 12, 2009 at 07:44:30AM -0800, Nathan Froyd wrote: > The patch below fixes various remote-host failures for tests that use > shared libraries. In normal testing, we link shared libraries using > absolute paths, so it's not a problem to find the libraries at runtime. > However, in remote-host testing, shared libraries are copied to the > remote host and linked against using relative paths. Therefore, we need > to specify -rpath to ensure that the library is found at runtime. The > patch just moves a bit of logic around and adds a remote_host check. > > Tested with cross to powerpc-linux-gnu on mingw32 host. OK to commit? OK. -- Daniel Jacobowitz CodeSourcery