Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list

Doug Evans
2010-06-08T15:23:10Z

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.