[Bug boehm-gc/34544] pthread_default_stacksize_np failed.

hainque at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 12 09:42:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list