public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dogcow at babymeat dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/26489] New: compilation of c++ fails in eh_alloc.cc on NetBSD Date: Mon, 27 Feb 2006 23:01:00 -0000 [thread overview] Message-ID: <bug-26489-12278@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2006-02-27 22:53 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-02-27 23:01 dogcow at babymeat dot com [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-26489-12278@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).