http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292
--- Comment #13 from Matthias Klose <doko at ubuntu dot com> 2011-01-19 11:43:30 UTC --- trying to build python 3.2~rc1, I run into: I get (with the just built python (built with -fprofile-generate): build-static$ ./python XXX lineno: 1101, opcode: 0 Fatal Python error: Py_Initialize: Unable to get the locale encoding Traceback (most recent call last): File "/home/packages/python/3.2/python3.2-3.2~rc1/build-static/../Lib/encodings/__init__.py", line 31, in <module> XXX lineno: 39, opcode: 0 Aborted The build is ok with the normal build.