[SciPy-dev] newcore and gcc4/gfortran

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


Hi,

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
  scipy.test(10,10)
gives:

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_ ()
   from
/home/abaecker/BUILDS2/Build_83_gcc4/inst_scipy_newcore/lib64/python2.4/site-packages/scipy/special/_cephes.so
#7  0x00002aaab123b4cc in cdfbin_ ()
   from
/home/abaecker/BUILDS2/Build_83_gcc4/inst_scipy_newcore/lib64/python2.4/site-packages/scipy/special/_cephes.so
#8  0x00002aaab1208600 in cdfbin2_wrap (p=1, xn=3, pr=0.5) at
cdf_wrappers.c:98
#9  0x00002aaab120ba99 in PyUFunc_ddd_d (args=<value optimized out>,
dimensions=<value optimized out>,
    steps=<value optimized out>, func=0x2aaab1208580) at
ufunc_extras.c:303
#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
/usr/lib64/libpython2.4.so.1.0
#13 0x00002aaaaac5380d in PyEval_EvalFrame () from
/usr/lib64/libpython2.4.so.1.0

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

Best, Arnd




More information about the Scipy-dev mailing list