------- Comment #7 from ian at airs dot com  2007-11-02 02:20 -------
It seems that this is only a problem for a static link.  And it would
presumably work fine if we had strong references to the functions we need.  So
let's just do this at the end of guard.cc:

#if !defined(__PIC__) && defined(__GLIBC__) && defined(__GTHREAD_HAS_COND)
asm(".globl pthread_cond_wait");
asm(".globl pthread_cond_broadcast");
#endif

Seems like that should work.


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com


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

Reply via email to