[Python-bugs-list] AIX build problems (Re: [Bug #129995] segfaults on AIX if configured with threads, Re:Bug #129991)

Benjamin Collar bcollar@cs.unm.edu
Thu, 8 Feb 2001 16:14:37 -0700 (MST)


On Thu, 8 Feb 2001, M.-A. Lemburg wrote:

> Could you submit a patch for these changes (configure.in and
> Misc/AIX-NOTES), so that we can get them into 2.1 ? Thanks.
the makexp_aix patch is #103694. I just looked again at AIX-NOTES and it
does mention to use *_r compilers...I didn't understand it very well in
the first place, so my apologies for bothering you all with the bug!

> Perhaps there's also a way to have configure.in use the cc_r
> compiler when building with threads ?!
Likely, but I'm pretty clueless when it comes to doing configure.in's.

> ld_so_aix lives in Modules/ too (and is not built from another
> source). Looking at the above shell lines, it seems that ld_so_aix
> is not installed properly before running setup.py.
> 
> Could you check whether these two utilities are in fact installed
> in lib/python2.1/config/ ?
there is nothing in lib related to python2.1...that's why it confused me
so.

> To fix the ld_so_aix problem, you will have to insert a Modules/
> in the configure.in line as well:
> 
>         case $ac_sys_system/$ac_sys_release in
>         AIX*) LDSHARED="\$(srcdir)/ld_so_aix \$(CC)";;

I submitted a patch for this as well, the number is 103695.

Thanks you all for the help! Keep up the good work :)

Ben