make test segfaults with "--enable-shared" on Python 2.3.3
andymac at bullseye.apana.org.au
Tue Dec 30 03:42:06 CET 2003
On Mon, 29 Dec 2003, Berthold Höllmann wrote:
> make distclean
> env CFLAGS= CXXFLAGS= ./configure --with-thread --with-fpectl \
> --with-signal-module --with-pymalloc --enable-shared --with-cxx=g++
> env LANG=C CFLAGS= CXXFLAGS= make test
> make: *** [test] Segmentation fault
1. Just to confirm that the configure generated Makefile is what it
should be, what are the OPT and BASECFLAGS values?
2. Do a verbose run of the test_re test with the interpreter you built
above (ie with the default optimisations):
./python Lib/test/regrtest.py -v test_re >test_re.log 2>&1
3. If it coredumps (which I expect it to based on your advice above), use
gdb to get the backtrace.
The test log and the gdb backtrace should help isolate where things are
BTW, I'm not sure why you're explicitly using --with-thread,
--with-signal-module and --with-pymalloc as they are all enabled by
default. I'm also unsure as to whether you really need to specify
--with-cxx; it might be worth a try configure'ing without it.
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370
andymac at pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
More information about the Python-list