[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2012-07-03 Thread Bug Watch Updater
** Changed in: gcc
   Status: Incomplete => Fix Released

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/598462/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462]

2012-07-03 Thread Doko-v
the python builds works when built using -fprofile-correction

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/598462/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462]

2012-03-19 Thread Jakub-gcc
4.4 branch is being closed, moving to 4.5.4 target.

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/598462/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462]

2012-01-20 Thread Rguenth
We seem to miss a reproducer here.

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/598462/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2012-01-20 Thread Bug Watch Updater
** Changed in: gcc
   Status: Confirmed => Incomplete

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/598462/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462]

2011-08-30 Thread Pinskia
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.

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/598462/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462]

2011-06-28 Thread Rguenth
4.3 branch is being closed, moving to 4.4.7 target.

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/598462/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-02-28 Thread Michael Hope
Marked as wont-fix as the compiler is working as designed.

** Changed in: gcc-linaro
   Status: Triaged => Won't Fix

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-31 Thread Mounir Bsaibes
** Changed in: gcc-linaro
   Status: New => Triaged

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-28 Thread Ulrich Weigand
It turns out there is no other problem on 4.6.   The compiler in the
ubuntu-toolchain-r/test ppa does not build Python at all due to PR
47271.  After adding the fix for this PR to the ppa package, the
compiler runs into the exact same problem as described for 4.5 in the
previous comment.  By using -fprofile-correction as above, I was able to
successfully build the python3.2-3.2~rc1 package with profile-directed
feedback enabled (on i386).

So to summarize the problems discussed in this thread:

- GCC 4.6 had a regression where it failed to built Python at all.  This
is PR 47271, and is already fixed in mainline.

- GCC (any version!) uses thread-unsafe code to update profile counters,
which means they can always be slightly wrong when profiling multi-
threaded code, and therefore inconsistent with the flow graph.  This
will happen most frequently on multi-core machines, and in functions
that experience high thread contention.  The problem can be worked
around using -fprofile-correction.  Using this flag should enable
profiled builds of Python with (at least) GCC 4.5 and 4.6.

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-26 Thread Ulrich Weigand
I've now reproduced and analyzed the problem on i386 with GCC 4.5, i.e.
building python3.2-3.2~rc1 using the 4.5.1-1ubuntu3 compiler.

It turns out that there is no particular bug here (the CFG looks
identical in the -fprofile-generate and -fprofile-use cases), but
instead we're running in a known limitation of the profiling code: it is
not thread-safe.

This means that when using profiling in a multi-threaded application,
profile counters may not be fully accurate since counter updates may
have been skipped due to race conditions in accessing the counters.

This is consistent with the symptoms we're seeing: the problem
disappears on my (single-core) ARM board, but is present on
i386/amd64/ppc all of which presumably are built on multi-core machines,
which increases the chance of actually running into one of those race
conditions.  The functions where the problem shows up likewise tend to
be places where high thread contention is expected (e.g. synchronization
primitives).

The recommended way to deal with this problem is to use the -fprofile-
correction flag, which will employ heuristics to attempt to adjust
incorrect counters, instead of simply aborting compilation.   See the
manual page:

   -fprofile-correction
   Profiles collected using an instrumented binary for multi-threaded
   programs may be inconsistent due to missed counter updates. When
   this option is specified, GCC will use heuristics to correct or
   smooth out such inconsistencies. By default, GCC will emit an error
   message when an inconsistent profile is detected.

I've added the -fprofile-correction flag to the build_all_use_profile
rule in Makefile.pre.in, and with this change I was able to successfully
build the package (only i386 tested).

The issues with 4.6 must be some other problem (note that the profiling
code was significantly rewritten between 4.5 and 4.6, so we may well run
into new problems here).  I'll look into this next.

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-25 Thread Bug Watch Updater
Launchpad has imported 17 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2008-11-27T16:57:42+00:00 Matthias Klose wrote:

seen with a profiled build (make profile-opt
PROFILE_TASK='$(srcdir)/Lib/test/regrtest.py') building python-3.0rc3 on
i486-linux-gnu. Using pybench as the PROFILE_TASK doesn't show this
bug). Seen PR22471, but this one was reported long ago. What other
information should be provided for this kind of report?

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes  
-fprofile-use -I. -IInclude -I../Include   -DPy_BUILD_CORE -o Modules/config.o 
Modules/config.c
../Python/thread.c: In function 'PyThread_acquire_lock':
../Python/thread.c:419: error: corrupted profile info: number of executions for 
edge 16-3 thought to be -1
../Python/thread.c:419: error: corrupted profile info: number of executions for 
edge 16-17 thought to be 5657524
make[3]: *** [Python/thread.o] Error 1

Reply at: https://bugs.launchpad.net/gcc/+bug/598462/comments/0


On 2009-02-04T19:51:13+00:00 Jakub-gcc wrote:

Subject: Bug 38292

Author: jakub
Date: Wed Feb  4 19:50:58 2009
New Revision: 143937

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143937
Log:
PR tree-optimization/38977
PR gcov-profile/38292
* calls.c (special_function_p): Disregard __builtin_
prefix.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/calls.c


Reply at: https://bugs.launchpad.net/gcc/+bug/598462/comments/1


On 2009-02-12T13:04:21+00:00 Matthias Klose wrote:

still seen with a backport of the patch to the 4.3 branch and with trunk
20090211 on amd64. works on i486.

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes  -fprofile-use -I. -IInclude -I../Include   -DPy_BUILD_CORE 
-o Modules/config.o Modules/config.c
../Python/thread.c: In function 'PyThread_acquire_lock':
../Python/thread.c:423: error: corrupted profile info: profile data is not 
flow-consistent
../Python/thread.c:423: error: corrupted profile info: number of executions for 
edge 16-3 thought to be -7
../Python/thread.c:423: error: corrupted profile info: number of executions for 
edge 16-17 thought to be 4920917


Reply at: https://bugs.launchpad.net/gcc/+bug/598462/comments/2


On 2009-02-12T13:59:44+00:00 Rguenth wrote:

Can you check if moving the PR38977 fix to special_function_p (handling
plain fork there) fixes it?  What is the contents of thread.c?

Reply at: https://bugs.launchpad.net/gcc/+bug/598462/comments/3


On 2009-02-12T14:06:19+00:00 Matthias Klose wrote:

Created attachment 17286
thread.c source file

Reply at: https://bugs.launchpad.net/gcc/+bug/598462/comments/4


On 2009-02-12T14:09:39+00:00 Matthias Klose wrote:

Created attachment 17287
thread_pthread.h header

Reply at: https://bugs.launchpad.net/gcc/+bug/598462/comments/5


On 2009-02-12T15:40:13+00:00 Matthias Klose wrote:

a build with the suggested change doesn't show any change.

--- gcc/calls.c~2009-02-05 09:30:24.0 +0100
+++ gcc/calls.c 2009-02-12 15:17:08.0 +0100
@@ -530,6 +530,8 @@
}
   else if ((tname[0] == 'q' && tname[1] == 's'
&& ! strcmp (tname, "qsetjmp"))
+  || (tname[0] == 'f' && tname[1] == 'o'
+  && ! strcmp (tname, "fork"))
   || (tname[0] == 'v' && tname[1] == 'f'
   && ! strcmp (tname, "vfork"))
   || (tname[0] == 'g' && tname[1] == 'e'


Reply at: https://bugs.launchpad.net/gcc/+bug/598462/comments/6


On 2009-02-14T09:08:38+00:00 Matthias Klose wrote:

seen as well on sparc-linux, x86_64-linux and i486-linux (when built
with -mcpu=i686 -mtune=i586), although triggered in different files.


Reply at: https://bugs.launchpad.net/gcc/+bug/598462/comments/7


On 2009-07-24T14:37:56+00:00 Matthias Klose wrote:

same behaviour with the 4.4.1 release


Reply at:

[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-24 Thread Matthias Klose
 updated PR38292, still seen with trunk and the proposed fix for
PR47271.

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-19 Thread Matthias Klose
no, normal python build fails too, this is reported as upstream bug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47271


** Bug watch added: GCC Bugzilla #47271
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47271

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-19 Thread Matthias Klose
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 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-16 Thread Matthias Klose
no, 4.4 is not interesting anymore for this issue.


** Changed in: gcc-4.4 (Ubuntu)
   Status: Confirmed => Won't Fix

** Changed in: gcc-4.5 (Ubuntu)
   Status: New => Confirmed

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-16 Thread Matthias Klose
the just uploaded python3.2_3.2~rc1-1ubuntu1 fails with the current
Ubuntu/Linaro gcc-4.5 in natty on amd64, i386 and powerpc. armel is the
only architecture which seems to build.

Building with gcc-4.6 from the ubuntu-toolchain-r/test ppa fails to
build while running the setup.py with the just built python trying to
build the extensions.

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2011-01-14 Thread Ulrich Weigand
I just successfully completed a profiled build of python3.2_3.2~b2-1.dsc
on armel Natty using the Ubuntu/Linaro 4.5.1-10ubuntu3 system compiler,
so the problem seems to no longer exist on 4.5.

Do we still care about 4.4 at this point?

-- 
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


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-11-23 Thread Matthias Klose
** Also affects: gcc-4.5 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-11-18 Thread Michael Hope
Note that this is not Linaro specific, but we plan to get PGO working for ARM 
this cycle:
 https://blueprints.launchpad.net/gcc-linaro/+spec/profiler-driven-feedback

Medium priority so might happen.

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-09-09 Thread Loïc Minier
(Not a Linaro-specific regression)

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-09-08 Thread Matthias Klose
no change on armel:

http://launchpadlibrarian.net/55247507/buildlog_ubuntu-maverick-
armel.python3.2_3.2~a2-1ubuntu1~ppa2_FAILEDTOBUILD.txt.gz

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-07-21 Thread Matthias Klose
may turn into a blueprint on implementing profile guided optimization

** Changed in: gcc-4.4 (Ubuntu)
   Status: New => Confirmed

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-07-21 Thread Andrew Stubbs
** Also affects: gcc-linaro
   Importance: Undecided
   Status: New

** Changed in: gcc-linaro
   Importance: Undecided => Low

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-07-08 Thread Matthias Klose
failed armel build (from ppa:doko/toolchain):
http://launchpadlibrarian.net/51573890/buildlog_ubuntu-maverick-armel.python3.2_3.2~~20100707-0ubuntu2_FAILEDTOBUILD.txt.gz

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-06-30 Thread Barry Warsaw
Fails on amd64 too, building _ssl.c

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-06-25 Thread Bug Watch Updater
** Changed in: gcc
   Status: Unknown => New

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] Re: [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-06-25 Thread Matthias Klose
tagging for armel (but not specific for armel). the current python2.6
build in maverick does build, but not python3.1 when using the profiled
build.

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 598462] [NEW] [PR38292] corrupted profile info with -O[23] -fprofile-use

2010-06-25 Thread Matthias Klose
Public bug reported:

Binary package hint: gcc-4.4

seen with a profiled build (make profile-opt
PROFILE_TASK='$(srcdir)/Lib/test/regrtest.py') building python-3.0rc3 on
i486-linux-gnu. Using pybench as the PROFILE_TASK doesn't show this bug).

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes 
-fprofile-use -I. -IInclude -I../Include   -DPy_BUILD_CORE -o Modules/config.o
Modules/config.c
../Python/thread.c: In function 'PyThread_acquire_lock':
../Python/thread.c:419: error: corrupted profile info: number of executions for
edge 16-3 thought to be -1
../Python/thread.c:419: error: corrupted profile info: number of executions for
edge 16-17 thought to be 5657524
make[3]: *** [Python/thread.o] Error 1

** Affects: gcc
 Importance: Unknown
 Status: Unknown

** Affects: gcc-4.4 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: armel toolchain

** Bug watch added: GCC Bugzilla #38292
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292

** Also affects: gcc via
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292
   Importance: Unknown
   Status: Unknown

** Tags added: armel toolchain

-- 
 [PR38292] corrupted profile info with -O[23] -fprofile-use
https://bugs.launchpad.net/bugs/598462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs