From: Rainer Orth Date: Fri, 10 Dec 2010 16:25:51 +0000 (+0000) Subject: libstdc++.exp (v3-build_support): Delete libtestc++.a before creation. X-Git-Tag: releases/gcc-4.4.6~225 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e20fb3cf3d8cac5b8326d984e5cc6d5f22419961;p=thirdparty%2Fgcc.git libstdc++.exp (v3-build_support): Delete libtestc++.a before creation. * testsuite/lib/libstdc++.exp (v3-build_support): Delete libtestc++.a before creation. From-SVN: r167693 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index eaee85c144bd..dd90a2fb4e7a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2010-12-10 Rainer Orth + + * testsuite/lib/libstdc++.exp (v3-build_support): Delete + libtestc++.a before creation. + 2010-10-01 Release Manager * GCC 4.4.5 released. diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 45e92d756ecf..2344885bfc50 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -554,6 +554,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 {