[Python-Dev] python build failed on mac

Vijay Majagaonkar vijaymajagaonkar at gmail.com
Fri Jan 20 23:40:29 CET 2012


On 2012年01月20日, at 4:29 AM, Hynek Schlawack wrote:
> Hello Vijay 
>>> Am Freitag, 20. Januar 2012 um 00:56 schrieb Vijay N. Majagaonkar:
>>> I am trying to build python 3 on mac and build failing with following error can somebody help me with this
> It is a known bug that Apple's latest gcc-llvm (that comes with Xcode 4.1 by default as gcc) miscompiles Python: http://bugs.python.org/issue13241 
>> make clean
> CC=clang ./configure && make -s
>
Hi Hynek,
Thanks for the help, but above command need to run in different way
./configure CC=clang
make 
this allowed me to build the code but when ran test I got following error message
[363/364/3] test_io
python.exe(11411) malloc: *** mmap(size=9223372036854775808) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
python.exe(11411,0x7fff7a8ba960) malloc: *** mmap(size=9223372036854775808) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
python.exe(11411,0x7fff7a8ba960) malloc: *** mmap(size=9223372036854775808) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
I am using Mac OS-X 10.7.2 and insatlled Xcode 4.2.1 
Thanks
;)


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /