diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-11-02 16:16:22 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2010-11-02 16:16:22 +0000 |
commit | f986c466006bbc888c5c44e3a435d33fdb1e65a7 (patch) | |
tree | 72342dc4c4873c1905ca504d7511056a0f8e6456 /libstdc++-v3 | |
parent | 3451f439c522889250a40e308848521c9cdded0b (diff) | |
download | gcc-f986c466006bbc888c5c44e3a435d33fdb1e65a7.zip gcc-f986c466006bbc888c5c44e3a435d33fdb1e65a7.tar.gz gcc-f986c466006bbc888c5c44e3a435d33fdb1e65a7.tar.bz2 |
re PR target/45693 (All Tru64 UNIX C++ EH tests fail)
PR target/45693
* configure.host (osf*): Set os_include_dir to os/generic.
Add -lpthread to OPT_LDFLAGS.
From-SVN: r166199
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/configure.host | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index aa98bfe..e2cfdaf 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2010-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR target/45693 + * configure.host (osf*): Set os_include_dir to os/generic. + Add -lpthread to OPT_LDFLAGS. + 2010-11-02 Paolo Carlini <paolo.carlini@oracle.com> * include/std/bitset (_Base_bitset<>_Base_bitset(unsigned long long)): diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index 30b28dc..73cf216 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 |