public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-08 16:02 ` hubicka at gcc dot gnu.org
  2011-01-10 17:52 ` doko at ubuntu dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-08 16:02 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.01.08 15:32:01
                 CC|                            |hubicka at gcc dot gnu.org
     Ever Confirmed|0                           |1
      Known to fail|                            |

--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-08 15:32:01 UTC ---
Richard's reorg of profiling to SSA uncovered some of issues with pure&const
functions that are fixed in the current mainline. Can you, please, check if
that solves your problem?


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
  2011-01-08 16:02 ` [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use hubicka at gcc dot gnu.org
@ 2011-01-10 17:52 ` doko at ubuntu dot com
  2011-01-19 12:29 ` doko at ubuntu dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: doko at ubuntu dot com @ 2011-01-10 17:52 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

--- Comment #12 from Matthias Klose <doko at ubuntu dot com> 2011-01-10 17:24:03 UTC ---
I ran into bug #47248 trying to build a recent snapshot.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
  2011-01-08 16:02 ` [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use hubicka at gcc dot gnu.org
  2011-01-10 17:52 ` doko at ubuntu dot com
@ 2011-01-19 12:29 ` doko at ubuntu dot com
  2011-01-19 12:49 ` doko at ubuntu dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: doko at ubuntu dot com @ 2011-01-19 12:29 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-01-19 12:29 ` doko at ubuntu dot com
@ 2011-01-19 12:49 ` doko at ubuntu dot com
  2011-01-25  6:40 ` doko at ubuntu dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: doko at ubuntu dot com @ 2011-01-19 12:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

--- Comment #14 from Matthias Klose <doko at ubuntu dot com> 2011-01-19 11:53:54 UTC ---
no, normal python build fails too, this is reported as bug #47271.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-01-19 12:49 ` doko at ubuntu dot com
@ 2011-01-25  6:40 ` doko at ubuntu dot com
  2011-01-25  9:48 ` manu at gcc dot gnu.org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: doko at ubuntu dot com @ 2011-01-25  6:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

--- Comment #15 from Matthias Klose <doko at ubuntu dot com> 2011-01-25 05:21:24 UTC ---
hmm, can't set the status back to NEW, just to RESOLVED. ...

a normal build of 3.2rc1 succeeds with trunk r169142 and the proposed fix for
PR47271.

the profiled build still fails with:


gcc-4.6 -pthread -c  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
-fprofile-use  -I. -IInclude -I../Include    -DPy_BUILD_CORE -o
Python/bltinmodule.o ../Python/bltinmodule.c
../Python/bltinmodule.c: In function 'builtin___build_class__':
../Python/bltinmodule.c:40:23: warning: variable 'nbases' set but not used
[-Wunused-but-set-variable]
../Python/bltinmodule.c: In function 'builtin_exec':
../Python/bltinmodule.c:769:9: warning: variable 'plain' set but not used
[-Wunused-but-set-variable]
gcc-4.6 -pthread -c  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
-fprofile-use  -I. -IInclude -I../Include    -DPy_BUILD_CORE -o Python/ceval.o
../Python/ceval.c
../Python/ceval.c: In function 'PyEval_RestoreThread':
../Python/ceval.c:4472:1: error: corrupted profile info: profile data is not
flow-consistent
../Python/ceval.c:4472:1: error: corrupted profile info: number of executions
for edge 4-5 thought to be 2002859
../Python/ceval.c:4472:1: error: corrupted profile info: number of executions
for edge 4-1 thought to be -9
make[3]: *** [Python/ceval.o] Error 1


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-01-25  6:40 ` doko at ubuntu dot com
@ 2011-01-25  9:48 ` manu at gcc dot gnu.org
  2011-06-27 12:36 ` [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: manu at gcc dot gnu.org @ 2011-01-25  9:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |manu at gcc dot gnu.org

--- Comment #16 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-01-25 09:20:23 UTC ---
(In reply to comment #15)
> hmm, can't set the status back to NEW, just to RESOLVED. ...
> 

You have to use your gcc account (I think).


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6/4.7 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2011-01-25  9:48 ` manu at gcc dot gnu.org
@ 2011-06-27 12:36 ` rguenth at gcc dot gnu.org
  2011-08-24 21:12 ` [Bug gcov-profile/38292] [4.4/4.5/4.6/4.7 " pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-27 12:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.6                       |4.4.7

--- Comment #17 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-27 12:12:17 UTC ---
4.3 branch is being closed, moving to 4.4.7 target.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.4/4.5/4.6/4.7 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2011-06-27 12:36 ` [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
@ 2011-08-24 21:12 ` pinskia at gcc dot gnu.org
  2012-01-16 12:40 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-08-24 21:12 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

--- Comment #18 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-08-24 20:50:52 UTC ---
I don't think this is a regression now as we never had good thread support for
gcov/profiling.  That is we don't do atomic adds for the profiling.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.4/4.5/4.6/4.7 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2011-08-24 21:12 ` [Bug gcov-profile/38292] [4.4/4.5/4.6/4.7 " pinskia at gcc dot gnu.org
@ 2012-01-16 12:40 ` rguenth at gcc dot gnu.org
  2012-03-13 13:06 ` [Bug gcov-profile/38292] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
  2012-06-27 12:11 ` doko at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-16 12:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #19 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-16 12:25:26 UTC ---
We seem to miss a reproducer here.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.5/4.6/4.7/4.8 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2012-01-16 12:40 ` rguenth at gcc dot gnu.org
@ 2012-03-13 13:06 ` jakub at gcc dot gnu.org
  2012-06-27 12:11 ` doko at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-13 13:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.7                       |4.5.4

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 12:45:03 UTC ---
4.4 branch is being closed, moving to 4.5.4 target.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug gcov-profile/38292] [4.5/4.6/4.7/4.8 Regression] corrupted profile info with -O[23] -fprofile-use
       [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2012-03-13 13:06 ` [Bug gcov-profile/38292] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
@ 2012-06-27 12:11 ` doko at gcc dot gnu.org
  10 siblings, 0 replies; 11+ messages in thread
From: doko at gcc dot gnu.org @ 2012-06-27 12:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |doko at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #21 from Matthias Klose <doko at gcc dot gnu.org> 2012-06-27 12:10:26 UTC ---
the python builds works when built using -fprofile-correction


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-06-27 12:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-38292-4@http.gcc.gnu.org/bugzilla/>
2011-01-08 16:02 ` [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use hubicka at gcc dot gnu.org
2011-01-10 17:52 ` doko at ubuntu dot com
2011-01-19 12:29 ` doko at ubuntu dot com
2011-01-19 12:49 ` doko at ubuntu dot com
2011-01-25  6:40 ` doko at ubuntu dot com
2011-01-25  9:48 ` manu at gcc dot gnu.org
2011-06-27 12:36 ` [Bug gcov-profile/38292] [4.3/4.4/4.5/4.6/4.7 " rguenth at gcc dot gnu.org
2011-08-24 21:12 ` [Bug gcov-profile/38292] [4.4/4.5/4.6/4.7 " pinskia at gcc dot gnu.org
2012-01-16 12:40 ` rguenth at gcc dot gnu.org
2012-03-13 13:06 ` [Bug gcov-profile/38292] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
2012-06-27 12:11 ` doko at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).