[SciPy-Dev] Segfaults building against numpy / scipy on OSX Lion

Matthew Brett matthew.brett@gmail....
Wed Jul 18 14:49:40 CDT 2012


Please forgive the half-baked question, but, I'm trying to build our
package nipy (nipy.org) against stock downloaded


I'm using latest XCode 4.3.3

$ clang --version
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix

on Lion:

$ uname -a
Darwin pis-macbook-air 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9
19:33:05 PDT 2012; root:xnu-1699.26.8~1/RELEASE_I386 i386

I believe the correct incantation for the build is:


CC=clang CXX=clang FFLAGS=-ff2c python setup.py build_ext -i

This does build, but during the tests, and only on this platform,
segfaults (report attached).

Is this build / link expected to work?  Did I get the right flags?

Thanks a lot,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lion-segmentation-crash.debug.gz
Type: application/x-gzip
Size: 11418 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-dev/attachments/20120718/bdf5ae79/attachment.gz 

More information about the SciPy-Dev mailing list