[SciPy-dev] newcore and gcc4/gfortran

Arnd Baecker arnd.baecker at web.de
Fri Nov 18 09:35:20 EST 2005


On Fri, 18 Nov 2005, Travis Oliphant wrote:

[...]

> cdfbin_ is a Fortran-compiled subroutine so this looks like a compiler
> problem.  It doesn't look like the fortran compiler in gcc is really
> ready for primetime.
>
> At some point it may be possible to test the compiler on these fortran
> files in scipy and decide if it will work during configuration.  I'm not
> going to start debuggin the gcc fortran compiler at this point, though.

Which is perfectly understandable!
Just for the record - I also tried the gcc4/g77 variant, which gets beyond
the above point, but segfaults at another place:

check_choose (scipy.special.basic.test_basic.test_choose) ...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912509653888 (LWP 29558)]
0x00002aaaabdec67b in PyArray_Choose (ip=<value optimized out>,
    op=<value optimized out>) at multiarraymodule.c:1422
1422            for(i=0; i<n; i++) Py_XDECREF(mps[i]);
(gdb) bt
#0  0x00002aaaabdec67b in PyArray_Choose (ip=<value optimized out>,
    op=<value optimized out>) at multiarraymodule.c:1422
#1  0x00002aaaabdec8b2 in array_choose (self=0xd31730,
args=0x2aaab673e090)
    at arraymethods.c:646
#2  0x00002aaaaac5496a in PyEval_EvalFrame ()
   from /usr/lib64/libpython2.4.so.1.0
#3  0x00002aaaaac53b97 in PyEval_EvalFrame ()
   from /usr/lib64/libpython2.4.so.1.0
#4  0x00002aaaaac53b97 in PyEval_EvalFrame ()
   from /usr/lib64/libpython2.4.so.1.0
#5  0x00002aaaaac55404 in PyEval_EvalCodeEx ()
   from /usr/lib64/libpython2.4.so.1.0
#6  0x00002aaaaac0e9af in PyFunction_SetClosure ()
   from /usr/lib64/libpython2.4.so.1.0
#7  0x00002aaaaabfa760 in PyObject_Call () from
/usr/lib64/libpython2.4.so.1.0
#8  0x00002aaaaac532e2 in PyEval_EvalFrame ()
   from /usr/lib64/libpython2.4.so.1.0
#9  0x00002aaaaac55404 in PyEval_EvalCodeEx ()
   from /usr/lib64/libpython2.4.so.1.0
#10 0x00002aaaaac0e9af in PyFunction_SetClosure ()
   from /usr/lib64/libpython2.4.so.1.0
#11 0x00002aaaaabfa760 in PyObject_Call () from
/usr/lib64/libpython2.4.so.1.0
#12 0x00002aaaaac02131 in PyMethod_Fini () from
/usr/lib64/libpython2.4.so.1.0

So much for that...

Best, Arnd




More information about the SciPy-Dev mailing list