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: Configure error with 2.3.3 on AIX 5.2 using gcc 3.3.2
Type: Stage:
Components: Build Versions: Python 2.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: nnorwitz, wheelrl
Priority: normal Keywords:

Created on 2003-12-31 17:43 by wheelrl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
conftest.i.bz2 wheelrl, 2003-12-31 17:43 gcc .i file of the conftest.c
Messages (3)
msg19491 - (view) Author: Richard Wheeler (wheelrl) Date: 2003-12-31 17:43
aixth4(cmadmin)# gcc -v -save-temps -o conftest -g -
O2   conftest.c
Reading specs from /cmDevTest/Dev/local/bin/../lib/gcc-
lib/powerpc-ibm-
aix5.1.0.0/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --disable-nls
Thread model: aix
gcc version 3.3.2
 /cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm-
aix5.1.0.0/3.3.2/cc1 -E -
quiet -v -iprefix /
cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm-
aix5.1.0.0/3.3.2/ -
D__GNUC__=3 -D__GNUC_MINOR_
_=3 -D__GNUC_PATCHLEVEL__=2 conftest.c -O2 
conftest.i
ignoring nonexistent 
directory "/cmDevTest/Dev/local/bin/../powerpc-ibm-
aix5.1.0.0/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc-
lib/powerpc-ibm-
aix5.1.0.0/3.3.2/include"
ignoring nonexistent directory "/usr/local/powerpc-ibm-
aix5.1.0.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm-
aix5.1.0.0/3.3.2/include
 /usr/include
End of search list.
 /cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm-
aix5.1.0.0/3.3.2/cc1 -
fpreprocessed conftest
.i -quiet -dumpbase conftest.c -auxbase conftest -g -
O2 -version -o conftest.s
GNU C version 3.3.2 (powerpc-ibm-aix5.1.0.0)
        compiled by GNU C version 3.3.2.
GGC heuristics: --param ggc-min-expand=32 --param 
ggc-min-heapsize=4096
In file included from conftest.c:23:
/usr/include/pthread.h:554: error: parse error before '*' 
token
/usr/include/pthread.h:557: error: parse error before '*' 
token
/usr/include/pthread.h:561: error: parse error before '*' 
token
/usr/include/pthread.h:564: error: parse error before '*' 
token
/usr/include/pthread.h:567: error: parse error before '*' 
token
/usr/include/pthread.h:570: error: parse error before '*' 
token
/usr/include/pthread.h:573: error: parse error before '*' 
token
/usr/include/pthread.h:576: error: parse error before '*' 
token
/usr/include/pthread.h:579: error: parse error before '*' 
token
/usr/include/pthread.h:583: error: parse error before '*' 
token
msg19492 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2004-01-01 21:21
Logged In: YES 
user_id=33168

The problem is that pthread_rwlock_t is not defined.  I
don't have access to AIX 5.x.  Can you try to find if it is
defined in another header file or if something needs to be
#defined?
msg19493 - (view) Author: Richard Wheeler (wheelrl) Date: 2004-01-07 15:58
Logged In: YES 
user_id=249546

gcc 3.3.2 for AIX 5.2 must have AIX APAR IY46553 applied.  
It corrects the system header files in /include.
History
Date User Action Args
2022-04-11 14:56:01adminsetgithub: 39742
2003-12-31 17:43:40wheelrlcreate