make test segfaults with "--enable-shared" on Python 2.3.3

Berthold Hoellmann bhoel at
Sun Dec 28 20:16:58 CET 2003

Michael Hudson <mwh at> writes:

> bhoel at (Berthold Hoellmann) writes:
>> Hello,
>> When I use 
>>   ./configure  --with-thread --with-fpectl --with-signal-module \
>>      --with-pymalloc --enable-shared  --with-cxx=g++
>>   make test
> What platform, compiler, and versions thereof?

Sorry, of course:

SuSE Linux 9.0, 
gcc (GCC) 3.3.1 (SuSE Linux)

I always forget about my *FLAGS:

CXXFLAGS=-O3 -fstrict-aliasing -funroll-loops -fschedule-insns2 \
    -ffast-math -fno-math-errno -funsafe-math-optimizations     \
    -fno-trapping-math -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow

CFLAGS=-O3 -fstrict-aliasing -funroll-loops -fschedule-insns2   \
    -ffast-math -fno-math-errno -funsafe-math-optimizations     \
    -fno-trapping-math  -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow

(My Processor is a AMD Athlon(tm) XP 2000+, 512MB RAM)

> ...
> Well, there's a test in tes_sre that uses quite a lot of C stack.  I
> guess it's possible that something about shared library code uses more
> stack.  Can you run 'ulimit -s <something larger>' and try again?

Well, stacksize is unlimited (somehow)

cputime         unlimited
filesize        unlimited
datasize        unlimited
stacksize       unlimited
coredumpsize    unlimited
memoryuse       unlimited
vmemoryuse      unlimited
descriptors     1024 
memorylocked    unlimited
maxproc         4095 

bhoel at /
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.

More information about the Python-list mailing list