[SciPy-dev] newcore and gcc4/gfortran

Arnd Baecker arnd.baecker at web.de
Fri Nov 18 02:49:59 CST 2005


just for the fun of it  I tried to install newcore using gcc4.
More precisely:
64 Bit opteron, gcc version 4.0.2 20050901 (prerelease) (SUSE Linux).
Newcore works fine!
However for newscipy, built with
  python setup.py config_fc --fcompiler=gnu95 build
  python setup.py install --prefix=$DESTDIR
, the following
  import scipy

check_bdtrik (scipy.special.basic.test_basic.test_cephes)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912509653888 (LWP 21533)]
0x00007fffffbcb0e0 in ?? ()
(gdb) bt
#0  0x00007fffffbcb0e0 in ?? ()
#1  0x00007fffffbcb0b0 in ?? ()
#2  0x0000000000000000 in ?? ()
#3  0x00007fffffbcb0b0 in ?? ()
#4  0x00007fffffbcb0a8 in ?? ()
#5  0x00007fffffbcb0d8 in ?? ()
#6  0x00002aaab1240d41 in dinvr_ ()
#7  0x00002aaab123b4cc in cdfbin_ ()
#8  0x00002aaab1208600 in cdfbin2_wrap (p=1, xn=3, pr=0.5) at
#9  0x00002aaab120ba99 in PyUFunc_ddd_d (args=<value optimized out>,
dimensions=<value optimized out>,
    steps=<value optimized out>, func=0x2aaab1208580) at
#10 0x00002aaaabf6c574 in PyUFunc_GenericFunction (self=0x721880,
args=<value optimized out>, mps=0x7fffffbcb840)
    at ufuncobject.c:1338
#11 0x00002aaaabf6c65c in ufunc_generic_call (self=0x721880,
args=0x2aaab5c825f0) at ufuncobject.c:2396
#12 0x00002aaaaabfa760 in PyObject_Call () from
#13 0x00002aaaaac5380d in PyEval_EvalFrame () from

Not sure if it is worth to start digging into gcc4/gfortran related
OTOH, gcc4/gfortran is the default for many recent distributions ....

Best, Arnd

More information about the Scipy-dev mailing list