Solaris 7 and 64bit Python

Kent Polk kent at tiamat.goathill.org
Tue Oct 12 12:29:14 EDT 1999


I'm trying to build a 64bit Python for Solaris 7. I'm using :
-xtarget=ultra -xarch=v9 -xcode=pic32 as per instructions for
.so libraries. ld doesn't complain about the build and I can 
build other applications this way.  Unfortunately, the result
(python) just hangs when executed. Truss reports:

.
.
.
open("/dev/zero", O_RDWR)                       = 5
mmap(0x00000000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE,\
 5, 0) = 0xFFFFFFFF7F770000
close(5)                                        = 0
mprotect(0xFFFFFFFF7F770000, 8192, PROT_NONE)   = 0
lwp_create(0xFFFFFFFF7F789690, LWP_DETACHED|LWP_SUSPENDED, 0xFFFFFFFF7F779D14)\
 = 4
lwp_continue(4)                                 = 0
lwp_create()    (returning as new lwp ...)      = 0
lwp_schedctl(SC_STATE|SC_BLOCK, -1, 0xFFFFFFFF7F779B48) = 0
lwp_schedctl(SC_DOOR, 0, 0x00000000)            = 5
door_bind(5)                                    = 0
sigaction(SIGWAITING, 0xFFFFFFFF7F220CB0, 0x00000000) = 0
close(5)                                        = 0
time()                                          = 939679984
lwp_sema_wait(0x10018ACC8)      (sleeping...)
signotifywait()                 (sleeping...)
lwp_cond_wait(0xFFFFFFFF7F227178, 0xFFFFFFFF7F227188, 0xFFFFFFFF7F789A00) \
 (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)

This was from a previous Python build for std Solaris with threads
which runs correctly. I simply changed the cc options.

Has anyone had success at this?

Thanks





More information about the Python-list mailing list