From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10277 invoked by alias); 8 Jun 2010 16:08:09 -0000 Received: (qmail 10194 invoked by uid 22791); 8 Jun 2010 16:08:07 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Jun 2010 16:07:57 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o58G7u6J025773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Jun 2010 12:07:56 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o58G7rbi021961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Jun 2010 12:07:55 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o58G7rgd028246; Tue, 8 Jun 2010 18:07:53 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o58G7qUo028221; Tue, 8 Jun 2010 18:07:52 +0200 Date: Tue, 08 Jun 2010 16:08:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list Message-ID: <20100608160751.GA27977@host0.dyn.jankratochvil.net> References: <20100513131840.GA31032@host0.dyn.jankratochvil.net> <20100516180828.GA6448@host0.dyn.jankratochvil.net> <20100528185211.GA30412@host0.dyn.jankratochvil.net> <20100605124522.GA31976@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) 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: 2010-06/txt/msg00205.txt.bz2 On Tue, 08 Jun 2010 17:22:54 +0200, Doug Evans wrote: > On Sat, Jun 5, 2010 at 5:45 AM, Jan Kratochvil wrote: > > gdb/ > >        * configure.ac <"${have_libpython}" != no>: New workaround of > >        python#4434. > >        * configure: Regenerate. > > gdb/testsuite/ > >        * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New. > > I tested this and it fixes things. Thanks. Considering it as your check-in approval, going to check it in in a moment. > There is the issue of using AC_RUN_IFELSE and cross-compilation. > Python doesn't have good support for cross-compilation anyways, so > it's fine with me to punt on this for now. In this case the current code fallbacks to the larger but more compatible -rdynamic (and thus this my recent optimization does not take place). + [dynamic_list=true], [], [true]) -> ^^^^^^ + if test "$cross_compiling" = yes; then : + true -> kept there the pre-set value: dynamic_list=false Thanks, Jan