This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

eh_globals.cc compilation errors with -threads under hpux 10.20


The following errors occured compiling eh_globals.cc:

/xxx/gnu/gcc-3.0/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.0/objdir/gcc/ -nostdinc++ -L/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/src -L/xxx/gnu/gcc-3.0/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 -I../../../../../libstdc++-v3/../gcc -I../../../../../libstdc++-v3/../include -I../../../../../libstdc++-v3/include -I../../../../../libstdc++-v3/include/std -I../../../../../libstdc++-v3/include/c_std -I../include -I../../../../../libstdc++-v3/libsupc++ -g -O2 -threads -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../../../../../libstdc++-v3/libsupc++/eh_globals.cc  -fPIC -DPIC -o eh_globals.o
../../../../../libstdc++-v3/libsupc++/eh_globals.cc: In function 
   `__cxxabiv1::__cxa_eh_globals* __cxa_get_globals()':
../../../../../libstdc++-v3/libsupc++/eh_globals.cc:102: `eh_threads_initialize'
   undeclared (first use this function)
../../../../../libstdc++-v3/libsupc++/eh_globals.cc:102: (Each undeclared 
   identifier is reported only once for each function it appears in.)
../../../../../libstdc++-v3/libsupc++/eh_globals.cc:109: cannot convert `void*' 
   to `__cxxabiv1::__cxa_eh_globals*' in assignment
../../../../../libstdc++-v3/libsupc++/eh_globals.cc:110: `eh_context_key' 
   undeclared (first use this function)
make[8]: *** [eh_globals.lo] Error 1
make[8]: Leaving directory `/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/threads/libstdc++-v3/libsupc++'

Note that this is with '-threads'.  Under hppa1.1-hp-hpux10.20 when DCE
threads are installed, gcc thread support is multilib'd and builds
automatically using gthr-dce.h.

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]