This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Build on 2.6 on AIX 5.3 fails (syntax error / undeclared identifier subtract)
Type: compile error Stage:
Components: Build Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gerard, loewis
Priority: normal Keywords:

Created on 2008-10-06 11:30 by gerard, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg74365 - (view) Author: Gerard (gerard) Date: 2008-10-06 11:30
I'm using an IBM compiler running in AIX 5.3.
Compilation of Python 2.6 fails (see explanation below).
Compilation of Python 2.5.2 is ok.

/home/xyz/python/Python-2.6$ lslpp -L | grep vac
  vac.C                     10.1.0.0    C     F    IBM XL C Compiler
  vac.aix53.lib             10.1.0.0    C     F    XL C for AIX
Libraries for AIX
  vac.include               10.1.0.0    C     F    IBM XL C Compiler Include
  vac.lib                   10.1.0.0    C     F    XL C for AIX Libraries
  vac.lic                   10.1.0.0    C     F    XL C for AIX Licence
Files
  vacpp.cmp.rte             10.1.0.0    C     F    IBM XL C/C++ Compiler
  vacpp.cmp.tools           10.1.0.0    C     F    IBM XL C/C++ Tools
  vacpp.licAgreement        10.1.0.0    C     F    IBM XL C++ Electronic
License
  vacpp.memdbg.aix53.rte    10.1.0.0    C     F    IBM XL C/C++ User
Heap/Memory
  vacpp.memdbg.rte          10.1.0.0    C     F    IBM XL C/C++ User
Heap and

Configure --prefix <some path> 
runs ok.
Then, make fails:

/home/xyz/python/Python-2.6$ make
        cc_r -qlanglvl=extc89 -c  -DNDEBUG -O  -I. -IInclude -I./Include
-I/usr/local/include/  -DPy_BUILD_CORE -o Objects/frameobject.o
Objects/frameobject.c
"Objects/frameobject.c", line 520.9: 1506-046 (S) Syntax error.
"Objects/frameobject.c", line 520.12: 1506-045 (S) Undeclared identifier
subtract.
make: The error code from the last command is 1.
msg74387 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-10-06 19:26
This has been fixed in r66739.
History
Date User Action Args
2022-04-11 14:56:40adminsetgithub: 48302
2008-10-06 19:26:12loewissetstatus: open -> closed
resolution: fixed
messages: + msg74387
nosy: + loewis
2008-10-06 11:30:39gerardcreate