From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18893 invoked by alias); 8 Jun 2010 16:12:54 -0000 Received: (qmail 18881 invoked by uid 22791); 8 Jun 2010 16:12:53 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Jun 2010 16:12:45 +0000 Received: from wpaz21.hot.corp.google.com (wpaz21.hot.corp.google.com [172.24.198.85]) by smtp-out.google.com with ESMTP id o58GCfGo003667 for ; Tue, 8 Jun 2010 09:12:41 -0700 Received: from pzk12 (pzk12.prod.google.com [10.243.19.140]) by wpaz21.hot.corp.google.com with ESMTP id o58GCemI025536 for ; Tue, 8 Jun 2010 09:12:40 -0700 Received: by pzk12 with SMTP id 12so3227434pzk.9 for ; Tue, 08 Jun 2010 09:12:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.56.17 with SMTP id e17mr2039582rva.192.1276013559962; Tue, 08 Jun 2010 09:12:39 -0700 (PDT) Received: by 10.141.125.8 with HTTP; Tue, 8 Jun 2010 09:12:39 -0700 (PDT) In-Reply-To: <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> <20100608160751.GA27977@host0.dyn.jankratochvil.net> Date: Tue, 08 Jun 2010 16:12:00 -0000 Message-ID: Subject: Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list From: Doug Evans To: Jan Kratochvil Cc: Tom Tromey , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00206.txt.bz2 On Tue, Jun 8, 2010 at 9:07 AM, Jan Kratochvil wrote: > 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/ >> > =A0 =A0 =A0 =A0* configure.ac <"${have_libpython}" !=3D no>: New worka= round of >> > =A0 =A0 =A0 =A0python#4434. >> > =A0 =A0 =A0 =A0* configure: Regenerate. >> > gdb/testsuite/ >> > =A0 =A0 =A0 =A0* gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): N= ew. >> >> I tested this and it fixes things. =A0Thanks. > > Considering it as your check-in approval, going to check it in in a momen= t. Yep. >> 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). > > + =A0 =A0 =A0 =A0 [dynamic_list=3Dtrue], [], [true]) > -> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ^^^^^^ > + =A0 =A0 =A0 if test "$cross_compiling" =3D yes; then : > + =A0true > -> > kept there the pre-set value: > =A0 =A0 =A0 =A0dynamic_list=3Dfalse Yeah, saw that. "works for me".