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

           Summary: [4.6 Regression] concurrence.h:292:9: error:
                    '__gthread_mutex_destroy' was not declared in this
                    scope
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dang...@gcc.gnu.org
              Host: hppa1.1-hp-hpux10.20
            Target: hppa1.1-hp-hpux10.20
             Build: hppa1.1-hp-hpux10.20


/xxx/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/xxx/gnu/gcc/objdir/./gcc
-nostdinc++ -L/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/src
-L/xxx
/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/src/.libs
-B/opt/gnu/g
cc/gcc-4.6/hppa1.1-hp-hpux10.20/bin/
-B/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/lib/ -isystem
/opt/gnu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/include -isystem /opt/g
nu/gcc/gcc-4.6/hppa1.1-hp-hpux10.20/sys-include  -threads -x c++-header
-nostdin
c++ -g -O2  -threads
-I/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/hppa1.1-hp-hpux10.20
-I/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/thr
eads/libstdc++-v3/include -I/xxx/gnu/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g
-std=
gnu++0x /xxx/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h \-o
hppa1.1-hp-hpux10.20/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++
-v3/include/memory:76:0,                 from
/xxx/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h
:81:
/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/ext/concurrence.h:
In destructor '__gnu_cxx::__mutex::~__mutex()':
/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/ext/concur
rence.h:171:35: error: '__gthread_mutex_destroy' was not declared in this scope
/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/ext/concur
rence.h: In static member function 'static typename
__gnu_cxx::__enable_if<std::
__are_same<_Rm, CMA_T_HANDLE>::__value, void>::__type
__gnu_cxx::__recursive_mutex::_S_destroy(_Rm*) [with _Rm = CMA_T_HANDLE,
typename __gnu_cxx::__enable_if<std::__are_same<_Rm, CMA_T_HANDLE>::__value,
void>::__type = void]':
/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/ext/concurrence.h:229:22:
  instantiated from here
/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/ext/concurrence.h:292:9:
error: '__gthread_mutex_destroy' was not declared in this scope
make[8]: *** [hppa1.1-hp-hpux10.20/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[8]: Leaving directory
`/xxx/gnu/gcc/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include'
make[7]: *** [all-recursive] Error 1

504 (hiauly1)dave> gcc/xgcc -Bgcc/ -v
Reading specs from gcc/specs
COLLECT_GCC=gcc/xgcc
COLLECT_LTO_WRAPPER=gcc/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: single
gcc version 4.6.0 20110216 (experimental) [trunk revision 170207] (GCC)

Reply via email to