Core dumps building Python on AIX
Guido van Rossum <[email protected]> Wed, 14 Aug 2002 11:05:28 -0400
| Newsgroups | gmane.comp.python.snake-farm.user |
|---|---|
| Message-ID | <[email protected]> |
The AIX builds fail in the phase where it's building the extensions using setup.py: > case $MAKEFLAGS in \ > *-s*) CC='gcc' LDSHARED='../python/dist/src/Modules/ld_so_aix gcc -bI:Modules/python.exp' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ../python/dist/src/setup.py -q build;; \ > *) CC='gcc' LDSHARED='../python/dist/src/Modules/ld_so_aix gcc -bI:Modules/python.exp' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ../python/dist/src/setup.py build;; \ > esac > make: *** [sharedmods] Segmentation fault (core dumped) Can someone with access to the snake farm try to find out what's going on here? One suggestion I have is to try to rebuild without -O3. It seems Python is dumping core, and a broken optimizer is a likely cause. (Thanks for the HP fix, BTW! Again the snake-farm has proved useful -- I've decided that the test had no business trying to open 1000 files simultaneously, and changed it to 100.) --Guido van Rossum (home page: http://www.python.org/~guido/)