[issue14374] Compiling Python 2.7.2 on HP11i PA-RISC ends with segmentation fault in Python executable
donchen
report at bugs.python.org
Tue Mar 20 16:34:54 CET 2012
New submission from donchen <don.chen at oracle.com>:
Hello,
I am compiling Python2.7 on a HP11i PA-RISC machine and received a segmentation fault.
Platform Information
"uname -a" = HP-UX hpdev2 B.11.11 U 9000/800 2280874925 unlimited-user license
Steps
1) uncompress Python tgz file
2) run "configure CC=aCC CXX=aCC"
3) make
Result: Segmentation fault at library generation time.
$> ranlib libpython2.7.a
aCC -Ae -Wl,-E -Wl,+s -o python \
Modules/python.o \
libpython2.7.a -lnsl -lrt -ldld -lpthread -lm
sh[3]: 15168 Bus error(coredump)
*** Error exit code 138
Analysis: core file generated by Python executable
$> file python
python: PA-RISC2.0 shared executable dynamically linked -not stripped
$> file libpython2.7.a
libpython2.7.a: archive file -PA-RISC2.0 relocatable library
$> strings core|more
<HP-UX
hpdev2
B.11.11
9000/800
2280874925
python
Modu
xxsu
LDSH
xsubtype.o -o
BCAc
runpy
(si)
path
__main__
warn
warnall
2.7.2
readline
...
There was an issue9178 (http://mail.python.org/pipermail/python-bugs-list/2010-July/104448.html) with a similar topic but the compiler generated segmentation fault instead. In this case the core file seems
to be from Python itself. I have attached Makefile for your reference.
Thank you for your help!
----------
components: Library (Lib)
files: Makefile
messages: 156420
nosy: donchen
priority: normal
severity: normal
status: open
title: Compiling Python 2.7.2 on HP11i PA-RISC ends with segmentation fault in Python executable
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file24967/Makefile
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14374>
_______________________________________
More information about the Python-bugs-list
mailing list