When I try to install py27-bottleneck on OS X 10.5.8 PPC I get

cc1(20925) malloc: *** mmap(size=1429282816) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

cc1: out of memory allocating 1429279824 bytes after a total of 0 bytes

when the following command is executed

/usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 - fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt45/ local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ site-packages/numpy/core/include -I/opt45/local/Library/Frameworks/ Python.framework/Versions/2.7/include/python2.7 -c bottleneck/src/func/ 32bit/func.c -o build/temp.macosx-10.5-ppc-2.7/bottleneck/src/func/ 32bit/func.o


I've reported this issue upstream

https://github.com/kwgoodman/bottleneck/issues/66

but I will likely need to take an active role in debugging it, since it it rather unique to my platform. Any ideas on what I can do to help debug this?

I've manually tried the compile statement with other compilers:

        Apple gcc-4.2 also fails with malloc error.

        gcc-mp-4.5 succeeds, but I don't know what this gives me.

I have the same problem when I build the latest git source.

I've succeeded in attaching Instruments to the cc1 process. At the moment, it is stiill executing.

Thanks,
John
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to