Author jon.buller
Recipients jon.buller
Date 2010-03-11.03:31:49
SpamBayes Score 6.54363e-07
Marked as misclassified No
Message-id <4B98641F.9040706@bullers.net>
In-reply-to <1265735234.86.0.775645542448.issue7424@psf.upfronthosting.co.za>
Content
Sorry to not be able to follow up for so long, but I was moving 
cross-country.

I was playing with the tests a bit and ended up trying this:

$ ./python -E -tt -d -v -W all ./Lib/test/regrtest.py -l -v -s test_builtin

Which resulted (after quite a bit of output) in this:

# /usr/pkgsrc/lang/python26/work/Python-2.6.4/Lib/tempfile.pyc matches 
/usr/pkgsrc/lang/python26/work/Python-2.6.4/Lib/tempfile.py
import tempfile # precompiled from 
/usr/pkgsrc/lang/python26/work/Python-2.6.4/Lib/tempfile.pyc
dlopen("/usr/pkgsrc/lang/python26/work/Python-2.6.4/build/lib.netbsd-5.99.24-sparc-2.6/fcntl.so", 
2);
import fcntl # dynamically loaded from 
/usr/pkgsrc/lang/python26/work/Python-2.6.4/build/lib.netbsd-5.99.24-sparc-2.6/fcntl.so
import thread # builtin
test_builtin
[1]   Segmentation fault      ./python -E -tt -d -v -W all 
./Lib/test/regrtest.py -l -v -s test_builtin

So, is this perhaps a bug either in Python's thread usage, or NetBSD's 
thread
library?  Is there an easy way to tell python to build without any threads,
even if configure finds the proper system include files and libraries?  Is
it as simple as "./configure --without-threads" when starting the build?
(I'm about to try that...)

Jon
History
Date User Action Args
2010-03-11 03:31:52jon.bullersetrecipients: + jon.buller
2010-03-11 03:31:50jon.bullerlinkissue7424 messages
2010-03-11 03:31:49jon.bullercreate