with gcc-4.6 from the ~ubuntu-toolchain-r/test PPA 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/598462 Title: [PR38292] corrupted profile info with -O[23] -fprofile-use -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs