Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2004 15:31:46 +0800
From:      leafy <leafy@leafy.idv.tw>
To:        freebsd-current@freebsd.org
Subject:   python fails to build on -current, stack trace attached
Message-ID:  <20040204073146.GA26340@chihiro.leafy.idv.tw>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040204073146.GA26340>