* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
@ 2011-02-18 0:29 ` redi at gcc dot gnu.org
2011-02-18 0:32 ` redi at gcc dot gnu.org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: redi at gcc dot gnu.org @ 2011-02-18 0:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-18 00:16:20 UTC ---
probably caused by my fix for PR 46455
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
2011-02-18 0:29 ` [Bug libstdc++/47792] " redi at gcc dot gnu.org
@ 2011-02-18 0:32 ` redi at gcc dot gnu.org
2011-02-18 0:39 ` danglin at gcc dot gnu.org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: redi at gcc dot gnu.org @ 2011-02-18 0:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-18 00:23:32 UTC ---
why is __GTHREADS defined for thread model 'single' - is that normal?
and why isn't __gthread_mutex_destroy in gthr-single.h in scope?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
2011-02-18 0:29 ` [Bug libstdc++/47792] " redi at gcc dot gnu.org
2011-02-18 0:32 ` redi at gcc dot gnu.org
@ 2011-02-18 0:39 ` danglin at gcc dot gnu.org
2011-02-18 0:41 ` redi at gcc dot gnu.org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-02-18 0:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> 2011-02-18 00:29:38 UTC ---
504 (hiauly1)dave> ./xgcc -B./ -v -threads
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa1.1-hp-hpux10.20
Configured with: ../gcc/configure --with-gnu-as --with-as=/usr/local/bin/as
--enable-shared --prefix=/opt/gnu/gcc/gcc-4.6 --with-gmp=/opt/gnu/gcc/gcc-4.6
--enable-debug=no --disable-nls --enable-languages=c,c++,objc,fortran,obj-c++
Thread model: dce
gcc version 4.6.0 20110216 (experimental) [trunk revision 170207] (GCC)
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (2 preceding siblings ...)
2011-02-18 0:39 ` danglin at gcc dot gnu.org
@ 2011-02-18 0:41 ` redi at gcc dot gnu.org
2011-02-18 1:00 ` dave at hiauly1 dot hia.nrc.ca
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: redi at gcc dot gnu.org @ 2011-02-18 0:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-18 00:32:04 UTC ---
Aha! :)
There's a typo in gthr-dce.h
__gthread_mutx_destroy (__gthread_mutex_t *__mutex)
s/mutx/mutex/
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (3 preceding siblings ...)
2011-02-18 0:41 ` redi at gcc dot gnu.org
@ 2011-02-18 1:00 ` dave at hiauly1 dot hia.nrc.ca
2011-02-18 1:50 ` redi at gcc dot gnu.org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia.nrc.ca @ 2011-02-18 1:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #5 from dave at hiauly1 dot hia.nrc.ca 2011-02-18 00:38:54 UTC ---
> Aha! :)
>
> There's a typo in gthr-dce.h
>
> __gthread_mutx_destroy (__gthread_mutex_t *__mutex)
>
> s/mutx/mutex/
Good catch! I wonder how many years it has been there?
Dave
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (4 preceding siblings ...)
2011-02-18 1:00 ` dave at hiauly1 dot hia.nrc.ca
@ 2011-02-18 1:50 ` redi at gcc dot gnu.org
2011-02-18 2:08 ` dave at hiauly1 dot hia.nrc.ca
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: redi at gcc dot gnu.org @ 2011-02-18 1:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.02.18 00:40:54
Ever Confirmed|0 |1
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-18 00:40:54 UTC ---
I suppose the safe thing to would be add the right signature and leave that
there, but I can't imagine anyone's using it with that name
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (5 preceding siblings ...)
2011-02-18 1:50 ` redi at gcc dot gnu.org
@ 2011-02-18 2:08 ` dave at hiauly1 dot hia.nrc.ca
2011-02-18 3:03 ` danglin at gcc dot gnu.org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia.nrc.ca @ 2011-02-18 2:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #7 from dave at hiauly1 dot hia.nrc.ca 2011-02-18 01:00:35 UTC ---
On Fri, 18 Feb 2011, redi at gcc dot gnu.org wrote:
> I suppose the safe thing to would be add the right signature and leave that
> there, but I can't imagine anyone's using it with that name
I agree. Further, the name isn't present in other thread models.
Dave
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (6 preceding siblings ...)
2011-02-18 2:08 ` dave at hiauly1 dot hia.nrc.ca
@ 2011-02-18 3:03 ` danglin at gcc dot gnu.org
2011-02-18 10:18 ` redi at gcc dot gnu.org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-02-18 3:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> 2011-02-18 02:50:28 UTC ---
Correcting the typo fixes the error.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (7 preceding siblings ...)
2011-02-18 3:03 ` danglin at gcc dot gnu.org
@ 2011-02-18 10:18 ` redi at gcc dot gnu.org
2011-02-18 17:23 ` paolo.carlini at oracle dot com
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: redi at gcc dot gnu.org @ 2011-02-18 10:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-18 10:13:40 UTC ---
Great - I guess it's up to a gthreads maintainer whether they are happy to fix
the typo in the existing function name or want to fix it by adding a new
function
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (8 preceding siblings ...)
2011-02-18 10:18 ` redi at gcc dot gnu.org
@ 2011-02-18 17:23 ` paolo.carlini at oracle dot com
2011-02-18 17:58 ` [Bug target/47792] " danglin at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-02-18 17:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-18 17:11:58 UTC ---
... and the gthread maintainer is? (should be also in CC).
Arguably, this PR could be also re-categorized as something non-libstdc++, like
target or other, I don't know.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (9 preceding siblings ...)
2011-02-18 17:23 ` paolo.carlini at oracle dot com
@ 2011-02-18 17:58 ` danglin at gcc dot gnu.org
2011-02-18 19:11 ` danglin at gcc dot gnu.org
2011-02-18 19:13 ` danglin at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-02-18 17:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libstdc++ |target
--- Comment #11 from John David Anglin <danglin at gcc dot gnu.org> 2011-02-18 17:42:48 UTC ---
It appears gthr-dce.h is only used by the pa target.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (10 preceding siblings ...)
2011-02-18 17:58 ` [Bug target/47792] " danglin at gcc dot gnu.org
@ 2011-02-18 19:11 ` danglin at gcc dot gnu.org
2011-02-18 19:13 ` danglin at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-02-18 19:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
--- Comment #12 from John David Anglin <danglin at gcc dot gnu.org> 2011-02-18 19:02:34 UTC ---
Author: danglin
Date: Fri Feb 18 19:02:31 2011
New Revision: 170281
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170281
Log:
PR target/47792
* gthr-dce.h (__gthread_mutx_destroy): Fix typo in name.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gthr-dce.h
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope
2011-02-18 0:23 [Bug libstdc++/47792] New: [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope danglin at gcc dot gnu.org
` (11 preceding siblings ...)
2011-02-18 19:11 ` danglin at gcc dot gnu.org
@ 2011-02-18 19:13 ` danglin at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-02-18 19:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #13 from John David Anglin <danglin at gcc dot gnu.org> 2011-02-18 19:09:38 UTC ---
Fixed by change.
^ permalink raw reply [flat|nested] 14+ messages in thread