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 ;) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com