This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list
- From: Doug Evans <dje at google dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 8 Jun 2010 08:22:54 -0700
- Subject: Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list
- References: <20100513131840.GA31032@host0.dyn.jankratochvil.net> <AANLkTin4ZlIvdh7BXyfsuBj9oBmCJpHEYwhxukRqaVYu@mail.gmail.com> <20100516180828.GA6448@host0.dyn.jankratochvil.net> <m3y6f5f7d1.fsf@fleche.redhat.com> <20100528185211.GA30412@host0.dyn.jankratochvil.net> <AANLkTimWI6s_nwGWE0EnfMJw7Ymc99sKM0J95Woadgz_@mail.gmail.com> <20100605124522.GA31976@host0.dyn.jankratochvil.net>
On Sat, Jun 5, 2010 at 5:45 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> 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). ?Could 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 ?Jan Kratochvil ?<jan.kratochvil@redhat.com>
>
> ? ? ? ?* configure.ac <"${have_libpython}" != no>: New workaround of
> ? ? ? ?python#4434.
> ? ? ? ?* configure: Regenerate.
>
> gdb/testsuite/
> 2010-06-05 ?Jan Kratochvil ?<jan.kratochvil@redhat.com>
>
> ? ? ? ?* 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.