python fails to build on -current, stack trace attached

From: leafy <leafy_at_leafy.idv.tw>
Date: Wed, 4 Feb 2004 15:31:46 +0800
libmap maps lc_r ->lpthreads, making Python in ports/lang/python 
results in 

case $MAKEFLAGS in  *-s*)  CC='cc' LDSHARED='cc -shared -lpthread' 
OPT='-DNDEBUG -O -pipe -march=pentium4  -DTHREAD_STACK_SIZE=0x20000' 
./python -E ./setup.py -q build;;  *)  CC='cc' LDSHARED='cc -shared 
-lpthread' OPT='-DNDEBUG -O -pipe -march=pentium4  
-DTHREAD_STACK_SIZE=0x20000' ./python -E ./setup.py build;;  esac
Bad system call (core dumped)

Stack trace:
#0  0x2825bddf in ksem_trywait () from /lib/libc.so.5
#1  0x28252330 in sem_trywait () from /lib/libc.so.5
#2  0x080b7343 in PyThread_acquire_lock ()
#3  0x080ab4fd in _PyImport_Fini ()
#4  0x080ad7e6 in PyImport_ImportModuleEx ()
#5  0x080ae33f in PyImport_Import ()
#6  0x080ad624 in PyImport_ImportModule ()
#7  0x08096560 in _PyExc_Init ()
#8  0x080b29da in Py_Initialize ()
#9  0x08054691 in Py_Main ()
#10 0x080540dd in main ()
#11 0x08054008 in _start ()

-- 
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming
Received on Tue Feb 03 2004 - 22:31:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC