[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic
Jan Kratochvil
report at bugs.python.org
Mon Feb 20 06:43:49 CET 2012
Jan Kratochvil <jan.kratochvil at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10112>
_______________________________________
More information about the Python-bugs-list
mailing list