public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: dave.anglin@nrc.ca
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/3156: gthr-default.h:424: `pthread_key_delete' undeclared
Date: Tue, 12 Jun 2001 20:56:00 -0000	[thread overview]
Message-ID: <20010613035406.30404.qmail@sourceware.cygnus.com> (raw)

>Number:         3156
>Category:       bootstrap
>Synopsis:       gthr-default.h:424: `pthread_key_delete' undeclared
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 20:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Anglin
>Release:        gcc 3.0 prerelease
>Organization:
>Environment:
hppa1.1-hp-hpux10.20
>Description:
/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/h ppa1.1-hp-hpux10.20/bin/ -B/usr/local/hppa1.1-hp-hpux10.20/lib/ -isystem /usr/lo cal/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-im plicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-sho w-location=once -g -c ../../../../../libstdc++-v3/libsupc++/eh_alloc.cc  -fPIC -DPIC -o eh_alloc.o
In file included from ../include/bits/gthr.h:98,
                 from ../../../../../libstdc++-v3/libsupc++/eh_alloc.cc:39:
../include/bits/gthr-default.h: In function `int __gthread_key_delete(int)':
../include/bits/gthr-default.h:424: `pthread_key_delete' undeclared (first use
   this function)
../include/bits/gthr-default.h:424: (Each undeclared identifier is reported
   only once for each function it appears in.)

This error is fault out from the recent v3 changes which
now use the GTHREAD implementation.  However, the problem
lies in gthr-dce.h which incorrectly uses pthread_key_delete.
This function is not available in the HP DCE thread implementation.
>How-To-Repeat:
Configure: --enable-threads --with-gnu-as --enable-shared
>Fix:
See
< http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00879.html >.
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-06-12 20:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-12 20:56 dave.anglin [this message]
2001-06-13 10:15 mmitchel

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=20010613035406.30404.qmail@sourceware.cygnus.com \
    --to=dave.anglin@nrc.ca \
    --cc=gcc-gnats@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: link
Be 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).