that was it -- assuring 'int' storage to be passed instead of npy_intp (which is long int on s390x and int on s390) resolves this issue...
now I wonder what would be the cleanest patch ;-) (also running unittests with this fix to see how many tests get "fixed") On Thu, 12 Jul 2012, Yaroslav Halchenko wrote: > and keeping things going forward -- building current head of scipy > at once gcc warnings already become informative > (once again diff from s390) and might be actually pointing to the issue we > are enjoing > 6509a6510,6526 > > In file included from scipy/optimize/_minpackmodule.c:7:0: > > scipy/optimize/__minpack.h: In function ‘minpack_hybrd’: > > scipy/optimize/__minpack.h:291:3: warning: passing argument 2 of ‘hybrd_’ > > from incompatible pointer type [enabled by default] > > scipy/optimize/__minpack.h:51:13: note: expected ‘int *’ but argument is of > > type ‘npy_intp *’ > > scipy/optimize/__minpack.h:291:3: warning: passing argument 19 of ‘hybrd_’ > > from incompatible pointer type [enabled by default] > > scipy/optimize/__minpack.h:51:13: note: expected ‘int *’ but argument is of > > type ‘npy_intp *’ > > scipy/optimize/__minpack.h: In function ‘minpack_hybrj’: > > scipy/optimize/__minpack.h:391:3: warning: passing argument 2 of ‘hybrj_’ > > from incompatible pointer type [enabled by default] > > scipy/optimize/__minpack.h:52:13: note: expected ‘int *’ but argument is of > > type ‘npy_intp *’ > > scipy/optimize/__minpack.h:391:3: warning: passing argument 17 of ‘hybrj_’ > > from incompatible pointer type [enabled by default] > > scipy/optimize/__minpack.h:52:13: note: expected ‘int *’ but argument is of > > type ‘npy_intp *’ > > scipy/optimize/__minpack.h: In function ‘minpack_lmdif’: > > scipy/optimize/__minpack.h:489:3: warning: passing argument 3 of ‘lmdif_’ > > from incompatible pointer type [enabled by default] > > scipy/optimize/__minpack.h:53:13: note: expected ‘int *’ but argument is of > > type ‘npy_intp *’ > > scipy/optimize/__minpack.h: In function ‘minpack_lmder’: > > scipy/optimize/__minpack.h:585:3: warning: passing argument 3 of ‘lmder_’ > > from incompatible pointer type [enabled by default] > > scipy/optimize/__minpack.h:54:13: note: expected ‘int *’ but argument is of > > type ‘npy_intp *’ > 6888a6906,6907 > > scipy/spatial/ckdtree.c: In function > > ‘__pyx_pf_5scipy_7spatial_7ckdtree_7cKDTree_2__dealloc__’: > > scipy/spatial/ckdtree.c:3737:17: warning: cast from pointer to integer of > > different size [-Wpointer-to-int-cast] -- Yaroslav O. Halchenko Postdoctoral Fellow, Department of Psychological and Brain Sciences Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org