[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)
report at bugs.python.org
Fri Nov 4 15:42:46 CET 2011
Lucas Sinclair <blastocyst at mac.com> added the comment:
I'm on 10.7.2, with XCode is 4.2 and the problem is still present. The command "ggc -v" produces the following output:
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
The command "./configure --with-pydebug && make -j2" fails with the following output:
Assertion failed: (compact->utf8_length == 0), function _PyUnicode_CheckConsistency, file Objects/unicodeobject.c, line 381.
make: *** [sysconfig] Abort trap: 6
The only solution seems to be to install macports and use it to get a more recent gcc like Oleg Plakhotnyuk suggested.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list