This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libstdc++ build failure: __GTHREAD_MUTEX_INIT' was not declared in this scope


With yesterdays main on hppa1.1-hp-hpux10.20 the following build failure
occurs in libstdc++:

/xxx/gnu/gcc-3.1/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.1/objdir/gcc/ -nostdinc++ -L/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/src -L/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/src/.libs -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -B/usr/local/hppa1.1-hp-hpux10.20/lib/ -isystem /usr/local/hppa1.1-hp-hpux10.20/include -threads -nostdinc++ -I/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/hppa1.1-hp-hpux10.20 -I/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include -I../../../../../libstdc++-v3/libsupc++ -I../../../../../libstdc++-v3/libmath -g -O2 -threads -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c ../../../../../libstdc++-v3/src/concept-inst.cc  -fPIC -DPIC -o .libs/concept-inst.o
/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/bits/stl_threads.h: In instantiation of `__gthread_mutex_t std::_Swap_lock_struct<0>::_S_swap_lock':
/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/bits/stl_threads.h:220:   instantiated from here
/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/include/bits/stl_threads.h:214: `
   __GTHREAD_MUTEX_INIT' was not declared in this scope
make[8]: *** [concept-inst.lo] Error 1
make[8]: Leaving directory `/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/src'

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]