public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26489]  New: compilation of c++ fails in eh_alloc.cc on NetBSD
@ 2006-02-27 23:01 dogcow at babymeat dot com
  2006-02-27 23:09 ` [Bug libstdc++/26489] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: dogcow at babymeat dot com @ 2006-02-27 23:01 UTC (permalink / raw)
  To: gcc-bugs

With a freshly svn up'ed gcc to the 4.1.0 branch, and an empty obj dir, I get
the following compile error on NetBSD-current (3.99.15).

/aux/obj/gcc41/./gcc/xgcc -shared-libgcc -B/aux/obj/gcc41/./gcc -nostdinc++
-L/a
ux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/src
-L/aux/obj/gcc41/i38
6-unknown-netbsdelf3.99.15/libstdc++-v3/src/.libs
-B/usr/local//i386-unknown-net
bsdelf3.99.15/bin/ -B/usr/local//i386-unknown-netbsdelf3.99.15/lib/ -isystem
/usr/local//i386-unknown-netbsdelf3.99.15/include -isystem
/usr/local//i386-unknown-netbsdelf3.99.15/sys-include
-I/aux/src/gcc41/libstdc++-v3/../gcc
-I/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15
-I/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include
-I/aux/src/gcc41/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -c
/aux/src/gcc41/libstdc++-v3/libsupc++/eh_alloc.cc  -fPIC -DPIC -o eh_alloc.o
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'int __gthread_once(__gthread_once_t*, void (*)())':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:515:
error: '__gthrw_pthread_once' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'int __gthread_key_create(__gthread_key_t*, void (*)(void*))':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:523:
error: '__gthrw_pthread_key_create' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'int __gthread_key_delete(__gthread_key_t)':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:529:
error: '__gthrw_pthread_key_delete' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'void* __gthread_getspecific(__gthread_key_t)':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:535:
error: '__gthrw_pthread_getspecific' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:541:
error: '__gthrw_pthread_setspecific' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'int __gthread_mutex_lock(__gthread_mutex_t*)':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-n
etbsdelf3.99.15/bits/gthr-default.h:548: error: '__gthrw_pthread_mutex_lock'
was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'int __gthread_mutex_trylock(__gthread_mutex_t*)':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:557:
error: '__gthrw_pthread_mutex_trylock' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'int __gthread_mutex_unlock(__gthread_mutex_t*)':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:566:
error: '__gthrw_pthread_mutex_unlock' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:
In function 'int
__gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:580:
error: '__gthrw_pthread_mutexattr_init' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:582:
error: '__gthrw_pthread_mutexattr_settype' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:584:
error: '__gthrw_pthread_mutex_init' was not declared in this scope
/aux/obj/gcc41/i386-unknown-netbsdelf3.99.15/libstdc++-v3/include/i386-unknown-netbsdelf3.99.15/bits/gthr-default.h:586:
error: '__gthrw_pthread_mutexattr_destroy' was not declared in this scope

It looks like this might be attributable to the update from 110280 to 111412 of
gcc/gthr-posix.h.


-- 
           Summary: compilation of c++ fails in eh_alloc.cc on NetBSD
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dogcow at babymeat dot com
 GCC build triplet: i386-unknown-netbsdelf
  GCC host triplet: i386-unknown-netbsdelf
GCC target triplet: i386-unknown-netbsdelf


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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2006-03-14 23:08 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-27 23:01 [Bug c++/26489] New: compilation of c++ fails in eh_alloc.cc on NetBSD dogcow at babymeat dot com
2006-02-27 23:09 ` [Bug libstdc++/26489] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-28  0:08 ` dogcow at babymeat dot com
2006-02-28  1:10 ` pcarlini at suse dot de
2006-02-28  1:27 ` [Bug other/26489] " pinskia at gcc dot gnu dot org
2006-02-28  1:34 ` dogcow at babymeat dot com
2006-02-28  1:45 ` pinskia at gcc dot gnu dot org
2006-02-28  1:47 ` dogcow at babymeat dot com
2006-02-28  2:00 ` pinskia at gcc dot gnu dot org
2006-02-28  2:07 ` pinskia at gcc dot gnu dot org
2006-02-28  2:11 ` roger at eyesopen dot com
2006-02-28  3:23 ` dogcow at babymeat dot com
2006-02-28  3:25 ` roger at eyesopen dot com
2006-02-28  6:45 ` roger at eyesopen dot com
2006-02-28  7:42 ` dogcow at babymeat dot com
2006-02-28 20:49 ` mmitchel at gcc dot gnu dot org
2006-03-02  2:14 ` dogcow at babymeat dot com
2006-03-02  2:47 ` sayle at gcc dot gnu dot org
2006-03-02  3:27 ` [Bug other/26489] [4.1 " pinskia at gcc dot gnu dot org
2006-03-14 19:21 ` sayle at gcc dot gnu dot org
2006-03-14 23:08 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).