dellair jie added the comment:
Folks,
I am closing this bug as it seems to be fixed with a with a redownload of
original package.
Thanks for sharing the ideas.
Br,
Li
--
resolution: - fixed
status: open - closed
___
Python tracker
dellair jie added the comment:
I have rebuilt Python 3.3.2 with GCC 4.4.0 on AIX6.1.
There was no warning. But, still seeing the same import offset runtime error:
gcc -pthread -DNDEBUG -g -fwrapv -O0 -Wall -Wstrict-prototypes -IInclude -I.
-Iopenssl/include -Iopenssl/include
dellair jie added the comment:
It would be appreciated if someone could shed some lights on how to rebuild a
single module (ssl) from source code package and import it to python.
Thanks in advance!
--
___
Python tracker rep...@bugs.python.org
dellair jie added the comment:
Folks,
Is there a patch to apply on this, I tried to search online, found one similar
post but was solved until the poster switched to another version of xlc. Do we
need to use another compiler(I will have to build though)?
Please don't hesitate to contact me
dellair jie added the comment:
Still seeing the same error without optimization, the build log from HPUX
11.31IA is also attached for reference (maybe irrelevance though ^^):
AIX 6.1:
cc -qlanglvl=extc89 -O0 -IInclude -I. -I/usr/local/include -c
/aix/Modules/_ssl.c -o
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: Python: RuntimeError: invalid slot offset when importing a module -
AIX: Python: RuntimeError invalid slot offset when importing a module in _ssl
module
___
Python tracker
David Edelsohn added the comment:
Can you try compiling the module using xlc_r without -O ? One possible guess is
XLC optimizations can speculate through NULL pointers because AIX maps address
0 as valid in processes. I don't know why Python is finding an invalid value in
the structure.