summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2010-12-10 16:24:48 +0000
committerRainer Orth <ro@gcc.gnu.org>2010-12-10 16:24:48 +0000
commitc962817c04bff076bb2e8696275bde5fc76fa233 (patch)
treefc242f3e9385a2a0ee922bc2a04b7e162d95cd54 /libstdc++-v3
parent7f701cc10784bd46461918119f93f5d5c28423fc (diff)
downloadgcc-c962817c04bff076bb2e8696275bde5fc76fa233.tar.gz
libstdc++.exp (v3-build_support): Delete libtestc++.a before creation.
* testsuite/lib/libstdc++.exp (v3-build_support): Delete libtestc++.a before creation. From-SVN: r167692
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp9
2 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index b11c4c52596..4faa52defc3 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * testsuite/lib/libstdc++.exp (v3-build_support): Delete
+ libtestc++.a before creation.
+
2010-12-10 Jack Howarth <howarth@bromo.med.uc.edu>
Iain Sandoe <iains@gcc.gnu.org>
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index d94abfd8b60..2b96e29048d 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -589,6 +589,15 @@ proc v3-build_support { } {
}
# Collect into libtestc++.a
+ # Delete libtestc++.a first. Mixed 32 and 64-bit archives cannot be
+ # linked on IRIX 6.
+ # Use same procedure as gcc-dg.exp (remove-build-file).
+ if [is_remote host] {
+ # Ensure the host knows the file is gone by deleting there
+ # first.
+ remote_file host delete "./libtestc++.a"
+ }
+ remote_file build delete "./libtestc++.a"
if [info exists env(AR)] {
set ar $env(AR)
} else {