This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug boehm-gc/34544] pthread_default_stacksize_np failed.
- From: "hainque at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Aug 2010 09:42:40 -0000
- Subject: [Bug boehm-gc/34544] pthread_default_stacksize_np failed.
- References: <bug-34544-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from hainque at gcc dot gnu dot org 2010-08-12 09:42 -------
(In reply to comment #7)
Hi John,
> PR boehm-gc/34544
> (__gthread_active_init): Use pthread_default_stacksize_np instead of
> pthread_create to determine if hpux pthreads are active.
> branches/gcc-4_3-branch/gcc/gthr-posix.h
After this change, our local 4.3 builds on PA HPUX 11.0 with
Ada fail producing intermediate binaries that aren't linked
with -lpthread (gnatbind to start with), with complaints like
<< /usr/ccs/bin/ld: Unsatisfied symbols: pthread_default_stacksize_np
(first referenced in .../libgcc_eh.a(unwind-dw2-fde.o)) (code)
>>
Presumably, this used to work because libc provides a dummy pthread_create.
Thoughts ?
I can provide more details on our configuration etc if need be.
MTIA,
Olivier
--
hainque at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hainque at adacore dot com,
| |hainque at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34544