[Bug c++/33960] [4.3 Regression] r129030 breaks -fopenmp -static compile of tramp3d-v4
ian at airs dot com
gcc-bugzilla@gcc.gnu.org
Fri Nov 2 02:21:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list