From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16273 invoked by alias); 19 Jan 2011 11:43:40 -0000 Received: (qmail 16262 invoked by uid 22791); 19 Jan 2011 11:43:39 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Jan 2011 11:43:34 +0000 From: "doko at ubuntu dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at ubuntu dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.3.6 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 19 Jan 2011 12:29:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg01910.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292 --- Comment #13 from Matthias Klose 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 XXX lineno: 39, opcode: 0 Aborted The build is ok with the normal build.