python 2.5 build problem on AIX 5.3

G

George Trojan

Is there a known problem with ctypes module on AIX? Google did not help
me to find anything. Here is part of the output from "make":

building '_ctypes' extension
xlc_r -q64 -DNDEBUG -O -I.
-I/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/./Include
-Ibuild/temp.aix-5.3-2.5/libffi/include -Ibuild/temp.aix-5.3-2.5/libffi
-I/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/Modules/_ctypes/libffi/src
-I/u/wx22gt/tools/Python-2.5-cc/include -I./Include -I.
-I/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/Include
-I/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc -c
/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/Modules/_ctypes/libffi/src/powerpc/aix.S
-obuild/temp.aix-5.3-2.5/gpfs/m2/home/wx22gt/tools/src/Python-2.5-cc/Modules/_ctypes/libffi/src/powerpc/aix.o
Assembler:
line 1: 1252-162 Invalid -m flag assembly mode operand: PWR5X.
Valid values are:COM PWR PWR2 PPC 601 603 604 PPC64 620 A35
PWR4 PWR5 970 PPC970 PWR6 ANY

export OBJECT_MODE=64
cd $TOOLS/src/Python-2.5-cc
../configure --prefix=$TOOLS/Python-2.5-cc --with-gcc="xlc_r -q64"
--with-cxx="xlC_r -q64" --disable-ipv6 AR="ar -X64"

George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top