[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-14 Thread paolo dot carlini at oracle dot com
--- Comment #28 from paolo dot carlini at oracle dot com 2010-05-14 11:41 --- Fixed for 4.5.1. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-14 Thread paolo at gcc dot gnu dot org
--- Comment #27 from paolo at gcc dot gnu dot org 2010-05-14 11:40 --- Subject: Bug 43259 Author: paolo Date: Fri May 14 11:40:05 2010 New Revision: 159389 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159389 Log: 2010-05-14 Silvius Rus PR libstdc++/43259 *

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-11 Thread paolo at gcc dot gnu dot org
--- Comment #26 from paolo at gcc dot gnu dot org 2010-05-11 10:23 --- Subject: Bug 43259 Author: paolo Date: Tue May 11 10:23:20 2010 New Revision: 159269 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159269 Log: 2010-05-11 Silvius Rus PR libstdc++/43259 *

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-11 Thread paolo at gcc dot gnu dot org
--- Comment #25 from paolo at gcc dot gnu dot org 2010-05-11 10:22 --- Subject: Bug 43259 Author: paolo Date: Tue May 11 10:22:18 2010 New Revision: 159268 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159268 Log: 2010-05-11 Silvius Rus PR libstdc++/43259 *

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-09 Thread paolo dot carlini at oracle dot com
--- Comment #24 from paolo dot carlini at oracle dot com 2010-05-09 16:57 --- Silvius, can you prepare a simple patch vs current gcc-4_5-branch? We have time for mainline, but it is also safe to apply at the same time something simple to mainline too and then improve it. -- http://

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-07 Thread rus at google dot com
--- Comment #23 from rus at google dot com 2010-05-07 17:49 --- Subject: Re: ext/profile/all.cc fails on Solaris On Thu, May 6, 2010 at 11:53 PM, kgardas at objectsecurity dot com wrote: > > > --- Comment #22 from kgardas at objectsecurity dot com  2010-05-07 06:53 > --- > Vi

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-06 Thread kgardas at objectsecurity dot com
--- Comment #22 from kgardas at objectsecurity dot com 2010-05-07 06:53 --- Viola! Something happens now! Thanks for fixing this. $ cat test-profile-mode.cc #include using namespace std; int main() { vector v; for (int k = 0; k < 1024; ++k) v.insert(v.begin(), k); } $ c++ -D_G

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-06 Thread paolo dot carlini at oracle dot com
--- Comment #21 from paolo dot carlini at oracle dot com 2010-05-06 20:24 --- At your ease of course. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43259

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-06 Thread rus at google dot com
--- Comment #20 from rus at google dot com 2010-05-06 19:43 --- (In reply to comment #19) > Note that in all those patches, the open curly brackets are in the wrong > place: > in GCC, C++ runtime included, must *always* follow a newline. Just stylistic > issues, of course. > Thank you

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-06 Thread paolo dot carlini at oracle dot com
--- Comment #19 from paolo dot carlini at oracle dot com 2010-05-06 16:24 --- Note that in all those patches, the open curly brackets are in the wrong place: in GCC, C++ runtime included, must *always* follow a newline. Just stylistic issues, of course. -- http://gcc.gnu.org/bugzil

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-05 Thread rus at google dot com
--- Comment #18 from rus at google dot com 2010-05-06 02:18 --- Created an attachment (id=20575) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20575&action=view) Minor fix to previous patch. Here's a minor fix. It will not affect tests, but just in case you're trying it for real,

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-05 Thread rus at google dot com
--- Comment #17 from rus at google dot com 2010-05-06 02:03 --- Created an attachment (id=20574) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20574&action=view) Wrote custom algos, removed include algorithm, minor fixes. This should fix several issues. I still see failing tests

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-05 Thread kgardas at objectsecurity dot com
--- Comment #16 from kgardas at objectsecurity dot com 2010-05-05 10:46 --- (From update of attachment 20560) Hello, unfortunately your patch is still not working, but it seems you've solved originally reported issue. See attached log file for compilers complains with your patch applied

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-05 Thread kgardas at objectsecurity dot com
--- Comment #15 from kgardas at objectsecurity dot com 2010-05-05 10:45 --- Created an attachment (id=20560) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20560&action=view) Output of compiler patched with 43259-0504.patch on SunOS 5.11 snv_134 -- http://gcc.gnu.org/bugzilla/

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-05-04 Thread rus at google dot com
--- Comment #14 from rus at google dot com 2010-05-05 03:08 --- Created an attachment (id=20559) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20559&action=view) use ext/concurrence __mutex instead of pthread_mutex_t Could you please try this patch out on your system? It appears

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-04-28 Thread rus at google dot com
--- Comment #13 from rus at google dot com 2010-04-28 19:06 --- Subject: Re: ext/profile/all.cc fails on Solaris On Wed, Apr 28, 2010 at 11:36 AM, ro at gcc dot gnu dot org wrote: > > > --- Comment #12 from ro at gcc dot gnu dot org  2010-04-28 18:36 --- > Any progress on this

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #12 from ro at gcc dot gnu dot org 2010-04-28 18:36 --- Any progress on this? The bug is open for almost 2 months now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43259

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-04-09 Thread paolo dot carlini at oracle dot com
--- Comment #11 from paolo dot carlini at oracle dot com 2010-04-09 10:08 --- *** Bug 43683 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-21 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2010-03-21 19:15 --- *** Bug 43468 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43259

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-21 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-03-21 11:13 --- Excellent, Silvius. Note, I'm not 100% sure about possible deadlines for 4.5.0: I think the second week of April will be still ok, but I would suggest keeping an eye to the gcc list and be prepared to move earl

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-20 Thread rus at google dot com
--- Comment #8 from rus at google dot com 2010-03-21 04:52 --- Good point. I don't think that setenv should be there in the first place actually. I'll try to fix that as well. Just FYI, I'm planning to fix all the reported libstdc++ profile issues around second week of April. -- h

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-20 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2010-03-21 01:59 --- Silvius, when you will go through the various roblems on non-linux systems for this test, also remember that setenv, as used in profiler_trace.h for example, isn't always available, must be wrapped in #ifdef _G

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-20 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-03-21 01:44 --- *** Bug 43457 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2010-03-05 23:17 --- For the sake of completeness, the error on Solaris 8 is the same as on Solaris 9. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43259

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-05 Thread ro at gcc dot gnu dot org
--- Comment #4 from ro at gcc dot gnu dot org 2010-03-05 18:40 --- Assigned to Silvius as requested. -- ro at gcc dot gnu dot org changed: What|Removed |Added Ass

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-05 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-03-05 10:07 --- Adding Silvius in CC. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-04 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2010-03-04 17:45 --- Same on SPARC/Solaris 10: http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg00295.html Present on SPARC/Solaris 9: http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg00294.html but the error is different: /nile

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris 11/x86

2010-03-04 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2010-03-04 17:44 --- The problematic line expands to: static pthread_mutex_t __global_lock(PTHREAD_MUTEX_INITIALIZER); which is clearly wrong when PTHREAD_MUTEX_INITIALIZER is of the form {...} As you suggest, it should be using gthrea