classification
Title: Improve dynamic linking support on AIX
Type: feature request Stage: test needed
Components: Build Versions: Python 3.1, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ajaksu2, goeran, pitrou (3)
Priority: low Keywords patch

Created on 2006-08-18 11:03 by goeran, last changed 2009-03-31 00:29 by ajaksu2.

Files
File name Uploaded Description Edit Remove
configure.in.patch goeran, 2006-08-18 11:03 Suggested patch to configure.in
Messages (5)
msg50942 - (view) Author: Göran Uddeborg (goeran) Date: 2006-08-18 11:03
Python 2.4.3 does not produce a shared python library
on AIX even with the --enable-shared flag.  The
addition of the LDLIBRARY and RUNSHARED variables in
the patch should fix this.

If I create my own version of the Python engine in a
shared library, that version is not able to load any
modules.  My understanding is that this is because the
import directives used when building the modules say
that symbols should come from ".", which means the main
program.  In the patch I replace that with "..", which
should look both in the main program and loaded shared
libraries.

Strictly speaking you could argue that these are two
different problems, and could motivate two separate
reports.  But since they are closely related, both
having to do with dynamic linking on AIX, I submit them
together.
msg84487 - (view) Author: Daniel Diniz (ajaksu2) Date: 2009-03-30 03:52
Göran: do you still need this?
msg84531 - (view) Author: Göran Uddeborg (goeran) Date: 2009-03-30 09:44
It is a bit unclear.

We are currently still using Python 2.4 with my patch for the active
releases of our products.  It is at this time not quite clear if we will
continue to support AIX in future releases.  If we do, we will also have
to upgrade to a newer Python version.  But right now I do not know if we
will.  Nor, if so, when we will do this upgrade.
msg84727 - (view) Author: Antoine Pitrou (pitrou) Date: 2009-03-31 00:09
I suggest keeping the issue open since building on AIX with proper
extension module support can be tricky, and it's good to have an idea of
what a possible patch looks like.
(especially if snakebite finally gets an AIX machine)
msg84728 - (view) Author: Daniel Diniz (ajaksu2) Date: 2009-03-31 00:29
OK :)
History
Date User Action Args
2009-03-31 00:29:12ajaksu2setstatus: pending -> open

messages: + msg84728
2009-03-31 00:09:48pitrousetnosy: + pitrou
messages: + msg84727
2009-03-30 09:44:17goeransetmessages: + msg84531
2009-03-30 03:52:22ajaksu2setstatus: open -> pending


nosy: + ajaksu2
versions: + Python 3.1, Python 2.7, - Python 2.4
messages: + msg84487
priority: normal -> low
type: feature request
stage: test needed
2006-08-18 11:03:33goerancreate