Message ID | ydd4nw19q6c.fsf@manam.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
> 2011-02-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> > > PR target/47852 > * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS. > OK -benjamin
# HG changeset patch # Parent dc4f565925904068ffc3f7444fbc4f73ebfdcd07 Link libstdc++ with -lpthread on IRIX 6 (PR target/47852) diff -r dc4f56592590 libstdc++-v3/configure.host --- a/libstdc++-v3/configure.host Tue Feb 22 15:54:16 2011 +0000 +++ b/libstdc++-v3/configure.host Fri Feb 25 19:39:22 2011 +0100 @@ -252,6 +252,10 @@ os_include_dir="os/irix/irix6.5" atomicity_dir=os/irix atomic_word_dir=os/irix + # libstdc++.so relies on emutls on IRIX, which only works with the + # real functions implemented in libpthread.so, not with the stubs in + # libc, so always pass -lpthread. + OPT_LDFLAGS="${OPT_LDFLAGS} -lpthread" ;; mingw32*) os_include_dir="os/mingw32"