[SciPy-dev] Illegal instruction in ndimage test

Matthew Brett matthew.brett@gmail....
Thu Oct 18 05:38:06 CDT 2007


Excellent - thanks for sending this.  I will have a look.

Matthew

On 10/18/07, Brett Olivier <bgoli@sun.ac.za> wrote:
> On Thursday 27 September 2007 00:11:07 Stefan van der Walt wrote:
> > > generation of a binary structure 4 ... ok
> > > generic filter 1Illegal instruction
> > >
> > > Hunting around, I found the offending test in ndimage/tests.  If
> > > I rename this directory (so the tests are skipped), the tests
> > > proceed without crashing.
> >
> > This looks like
> >
> > http://projects.scipy.org/scipy/scipy/ticket/404
> >
> > I'd be grateful if you can help me narrow it down.
>
> Hi Stefan I've just run into this again with the new Mandriva (32bit) that
> uses: gcc version 4.2.2 20070909 (prerelease) (4.2.2-0.RC.1mdv2008.0)
>
> GCC 4.2 dumped some build errors that may be useful:
> (Python 2.5.1, ATLAS 3.8.0, NumPy 1.0.3.1, SciPy 0.6.0)
>
> ++++
> creating build/temp.linux-i686-2.5/scipy/ndimage
> creating build/temp.linux-i686-2.5/scipy/ndimage/src
> compile
> options: '-Iscipy/ndimage/src -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c'
> gcc: scipy/ndimage/src/ni_filters.c
> gcc: scipy/ndimage/src/nd_image.c
> scipy/ndimage/src/nd_image.c: In function 'Py_Filter1DFunc':
> scipy/ndimage/src/nd_image.c:273: warning: function called through a
> non-compatible type
> scipy/ndimage/src/nd_image.c:273: note: if this code is reached, the program
> will abort
> scipy/ndimage/src/nd_image.c:274: warning: function called through a
> non-compatible type
> scipy/ndimage/src/nd_image.c:274: note: if this code is reached, the program
> will abort
> scipy/ndimage/src/nd_image.c: In function 'Py_FilterFunc':
> scipy/ndimage/src/nd_image.c:351: warning: function called through a
> non-compatible type
> scipy/ndimage/src/nd_image.c:351: note: if this code is reached, the program
> will abort
> scipy/ndimage/src/nd_image.c: In function 'Py_Histogram':
> scipy/ndimage/src/nd_image.c:1100: warning: function called through a
> non-compatible type
> scipy/ndimage/src/nd_image.c:1100: note: if this code is reached, the program
> will abort
> ++++
>
> Cheers
> Brett
>
> --
> Brett G. Olivier PhD
> http://www.jjj.sun.ac.za/members#brett
> Stellenbosch University, South African National Bioinformatics Network
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>


More information about the Scipy-dev mailing list