Jan Kratochvil <jan.kratoch...@redhat.com> added the comment:

There was a bug for non-shared build of Python, thanks.

This patch is an improvement on its but it is not yet complete.
One should also replace "-Xlinker -export-dynamic" by "-Wl,--dynamic-list" so 
that linking application with libpython is no longer intrusive.

But I found out GDB does not need to be affected by this Bug.  When I use 
-fvisibility=hidden for GDB .c files then "-Xlinker -export-dynamic" has no 
longer any negative effect (GDB was using only "-Wl,--dynamic-list" now which 
works without libpython but not with libpython). Therefore I no longer mind 
much about this Bug.

Still at least:
1771024 libpython2.7.so.1.0
->
1757776 libpython2.7.so.1.0

Even with clean tree the upstream build generates for me:
Python build finished, but the necessary bits to build these modules were not 
found:
_bsddb             _ssl               bsddb185
dl                 imageop            sunaudiodev

(so sunaudiodev.c was changed without any testing of it)

----------
Added file: http://bugs.python.org/file24575/hidden4.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10112>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to