This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR4082
- To: libstdc++ at gcc dot gnu dot org
- Subject: Re: PATCH: PR4082
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Wed, 29 Aug 2001 17:27:50 -0500 (CDT)
- CC: gcc-patches at gcc dot gnu dot org
- References: <200108242148.f7OLmBo78792@latour.rsch.comm.mot.com> <ory9o7ouy9.fsf@feijoada.lsd.ic.unicamp.br> <200108280654.f7S6sGZ56229@latour.rsch.comm.mot.com> <200108290208.f7T28VV45425@latour.rsch.comm.mot.com> <200108290556.f7T5uko87640@latour.rsch.comm.mot.com>
- Reply-to: rittle at labs dot mot dot com
>> To recap, it makes './configure; make bootstrap' work again and was
>> the change implied by Alex's comments on the situation. 'make check'
>> still reports more errors in libstdc++-v3 (however, none signal real
>> errors).
This nasty dejagnu patch addresses the currently known `make check'
differences in light of different configuration strategies (note that
my workaround code will only kick in when conditions would have been
broken anyways thus I think this is fairly safe to apply even if it is
otherwise broken with remote checking, etc - which it may well be).
With this patch, in-source and out-source configure now seen to have
the same `make check' results on 3.0.X branch.
I know of NO way to do this job properly within TCL exclusively since
'file copy' is broken (at least on some tested platforms and some TCL
versions - I have no idea what the TCL language specification says to
do in this case but seen behavior is quite useless) when working with
a source file that is a relative soft link and the target is in a
directory other than the source file.
If anyone knows a cleaner way to do it, please advise me before I
install this patch on mainline and the 3.0.X branch on Friday. Yes, I
will add TCL code comment and ChangeLog when I post the final version.
Index: testsuite/lib/libstdc++-v3-dg.exp
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp,v
retrieving revision 1.2.2.6
diff -c -r1.2.2.6 libstdc++-v3-dg.exp
*** libstdc++-v3-dg.exp 2001/08/28 21:19:09 1.2.2.6
--- libstdc++-v3-dg.exp 2001/08/29 22:15:05
***************
*** 39,47 ****
--- 39,55 ----
# Copy any required data files.
foreach tst [glob -nocomplain "$srcdir/*/*.tst"] {
file copy -force $tst $outdir
+ if { [file type $tst] == "link" } {
+ exec rm -f [file join $outdir [file tail $tst]]
+ exec cp $tst $outdir
+ }
}
foreach txt [glob -nocomplain "$srcdir/*/*.txt"] {
file copy -force $txt $outdir
+ if { [file type $txt] == "link" } {
+ exec rm -f [file join $outdir [file tail $txt]]
+ exec cp $txt $outdir
+ }
}
# set LD_LIBRARY_PATH so that libgcc_s, libstdc++ binaries can be found.