From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20278 invoked by alias); 8 Jun 2010 15:23:10 -0000 Received: (qmail 20261 invoked by uid 22791); 8 Jun 2010 15:23:09 -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 15:22:59 +0000 Received: from kpbe14.cbf.corp.google.com (kpbe14.cbf.corp.google.com [172.25.105.78]) by smtp-out.google.com with ESMTP id o58FMuQn032568 for ; Tue, 8 Jun 2010 08:22:56 -0700 Received: from pxi1 (pxi1.prod.google.com [10.243.27.1]) by kpbe14.cbf.corp.google.com with ESMTP id o58FMsiV008230 for ; Tue, 8 Jun 2010 08:22:55 -0700 Received: by pxi1 with SMTP id 1so2153577pxi.8 for ; Tue, 08 Jun 2010 08:22:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.88.12 with SMTP id q12mr13454371rvl.188.1276010574666; Tue, 08 Jun 2010 08:22:54 -0700 (PDT) Received: by 10.141.125.8 with HTTP; Tue, 8 Jun 2010 08:22:54 -0700 (PDT) In-Reply-To: <20100605124522.GA31976@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> Date: Tue, 08 Jun 2010 15:23: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/msg00204.txt.bz2 On Sat, Jun 5, 2010 at 5:45 AM, Jan Kratochvil wrote: > I was unable to test it as Fedora (13) does not ship libpythonX.Y.a (and = it > failed to build one when I tried to). =A0Could you test it, please? > > If some existing python tests were already broken I can drop this new one. > > No regressions on {x86_64,x86_64-m32,i686}-fedora13-linux-gnu. > > > Thanks, > Jan > > > gdb/ > 2010-06-05 =A0Jan Kratochvil =A0 > > =A0 =A0 =A0 =A0* configure.ac <"${have_libpython}" !=3D no>: New workarou= nd of > =A0 =A0 =A0 =A0python#4434. > =A0 =A0 =A0 =A0* configure: Regenerate. > > gdb/testsuite/ > 2010-06-05 =A0Jan Kratochvil =A0 > > =A0 =A0 =A0 =A0* gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New. I tested this and it fixes things. Thanks. 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.