[issue941346] AIX shared library fix

Sébastien Sablé report at bugs.python.org
Mon Sep 6 15:57:08 CEST 2010


Sébastien Sablé <sable at users.sourceforge.net> added the comment:

Hi,

I have updated the patch and adapted it for Python 3.1.2:

* this time ld_so_aix is moved to ld_so_aix.in which is converted to ld_so_aix by 'configure' so that it has the right version number for the python library

* there are no more warnings for 'Duplicate symbol': I changed build_ext.py to not link extensions with libpython since the symbols are already defined by python.exp

* I made a modification to ld_so_aix specifically for Python 3 as according to pep-3121 the entry function has been renamed from init<modulname> to PyInit_<modulename>

I will provide another patch for Python 2.7 (nearly the same, but without the modification needed by pep-3121).
I also attach the build log for Python 3.1.2 without and with this patch.

regards

----------
Added file: http://bugs.python.org/file18762/Python-3.1.2_shared_AIX.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue941346>
_______________________________________


More information about the Python-bugs-list mailing list