From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30815 invoked by alias); 21 Sep 2011 20:28:49 -0000 Received: (qmail 30801 invoked by uid 22791); 21 Sep 2011 20:28:48 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.fgznet.ch (HELO smtp.fgznet.ch) (81.92.96.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Sep 2011 20:28:34 +0000 Received: from deuterium.andreas.nets (dhclient-91-190-8-131.flashcable.ch [91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id p8LKS9OT030738; Wed, 21 Sep 2011 22:28:10 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4E7A48D9.4020602@fgznet.ch> Date: Wed, 21 Sep 2011 21:12:00 -0000 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Joel Brobecker CC: gdb-patches@sourceware.org Subject: Re: [patch] fix ldl testcases on FreeBSD References: <4E7A172D.6040004@fgznet.ch> <20110921181401.GG17681@adacore.com> In-Reply-To: <20110921181401.GG17681@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2011-09/txt/msg00401.txt.bz2 On 21.09.11 20:14, Joel Brobecker wrote: >> the below patch makes the test cases work on *-*-freebsd* where we >> link -ldl. Iow, like on openbsd, we do not add -ldl to the libs. >> >> Is this ok for trunk? > > The patch looks OK to me, but the description and ChangeLogs are > misleading. What the patch does is both setting the rpath *and* > removing -ldl from the list of compilation switches. You're right. Like this? 2011-09-21 Andreas Tobler * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the list of compilation switches for <*-*-freebsd*>. Thanks, Andreas