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.

Author dellair.jie
Recipients David.Edelsohn, dellair.jie, vstinner
Date 2013-11-21.10:28:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385029696.86.0.475950114401.issue19661@psf.upfronthosting.co.za>
In-reply-to
Content
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 build/temp.aix-6.1-3.3-pydebug/aix/Modules/_ssl.o
"/aix/Modules/_ssl.c", line 262.17: 1506-196 (W) Initialization between types "void*" and "struct _object*(*)(struct {...}*)" is not allowed.
/aix/Modules/ld_so_aix cc -qlanglvl=extc89 -bI:/aix/Modules/python.exp build/temp.aix-6.1-3.3-pydebug/aix/Modules/_ssl.o -L/usr/local/lib -lssl -lcrypto -o build/lib.aix-6.1-3.3-pydebug/_ssl.so
ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-224 WARNING: Duplicate symbol: .memcpy
ld: 0711-224 WARNING: Duplicate symbol: .memmove
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
*** WARNING: importing extension "_ssl" failed with build/lib.aix-6.1-3.3-pydebug/_ssl.so: <class 'RuntimeError'>: invalid slot offset: <traceback object at 0x30366038>

HPUX11.31:
building '_ssl' extension
cc +z -O0 -IInclude -I. -I/hpux/Include -I/hpux -c /hpux/Modules/_ssl.c -o build/temp.hp-ux-B.11.31-ia64-3.3-pydebug/hpux/Modules/_ssl.o
"/hpux/Modules/_ssl.c", line 383: warning #4232-D:
          conversion from "PyObject *" to a more strictly aligned type
          "PySocketSockObject *" may cause misaligned access
                    = (PySocketSockObject *) PyWeakref_GetObject(obj->Socket);
                      ^

"/hpux/Modules/_ssl.c", line 499: warning #4232-D:
          conversion from "PyObject *" to a more strictly aligned type
          "PySocketSockObject *" may cause misaligned access
        = (PySocketSockObject *) PyWeakref_GetObject(self->Socket);
          ^

"/hpux/Modules/_ssl.c", line 1220: warning #2111-D:
          statement is unreachable
      if (!_PyIsSelectable_fd(s->sock_fd))
      ^

"/hpux/Modules/_ssl.c", line 1253: warning #4232-D:
          conversion from "PyObject *" to a more strictly aligned type
          "PySocketSockObject *" may cause misaligned access
        = (PySocketSockObject *) PyWeakref_GetObject(self->Socket);
          ^

"/hpux/Modules/_ssl.c", line 1363: warning #4232-D:
          conversion from "PyObject *" to a more strictly aligned type
          "PySocketSockObject *" may cause misaligned access
        = (PySocketSockObject *) PyWeakref_GetObject(self->Socket);
          ^

"/hpux/Modules/_ssl.c", line 1484: warning #4232-D:
          conversion from "PyObject *" to a more strictly aligned type
          "PySocketSockObject *" may cause misaligned access
        = (PySocketSockObject *) PyWeakref_GetObject(self->Socket);
          ^

ld -b build/temp.hp-ux-B.11.31-ia64-3.3-pydebug/hpux/Modules/_ssl.o -L/usr/local/lib -lssl -lcrypto -o build/lib.hp-ux-B.11.31-ia64-3.3-pydebug/_ssl.so
*** WARNING: importing extension "_ssl" failed with <class 'RuntimeError'>: invalid slot offset

Please let me know if further information is required.

Br,
History
Date User Action Args
2013-11-21 10:28:16dellair.jiesetrecipients: + dellair.jie, vstinner, David.Edelsohn
2013-11-21 10:28:16dellair.jiesetmessageid: <1385029696.86.0.475950114401.issue19661@psf.upfronthosting.co.za>
2013-11-21 10:28:16dellair.jielinkissue19661 messages
2013-11-21 10:28:16dellair.jiecreate