diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index aa98bfed646f..e2cfdaf9f4dc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2010-11-02 Rainer Orth + + PR target/45693 + * configure.host (osf*): Set os_include_dir to os/generic. + Add -lpthread to OPT_LDFLAGS. + 2010-11-02 Paolo Carlini * include/std/bitset (_Base_bitset<>_Base_bitset(unsigned long long)): diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index 30b28dcd9f67..73cf2162cbc3 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -261,6 +261,13 @@ case "${host_os}" in netbsd*) os_include_dir="os/bsd/netbsd" ;; + osf*) + os_include_dir="os/generic" + # libstdc++.so relies on emutls on Tru64 UNIX, which only works with the + # real functions implemented in libpthread.so, not with the dummies in + # libgcc, so always pass -lpthread. + OPT_LDFLAGS="${OPT_LDFLAGS} -lpthread" + ;; qnx6.[12]*) os_include_dir="os/qnx/qnx6.1" c_model=c