RFA: bootstrap/16469: use of find without -print

Richard Sandiford rsandifo@redhat.com
Sun Jul 18 01:36:00 GMT 2004


PR 16469 is a 3.4.1 bootstrap failure on mips-sgi-irix5.3.  The problem
is that the "find" command in libstdc++-v3/scripts/create_testsuite_files
doesn't have an explicit -print argument, and IRIX 5.3 seems to be one
of those OSes where -print isn't implied.  The "exit 1" seen in the
patch then triggers, which causes configure to abort.

I'd install this as obvious if it was just needed on mainline, but I'm
not sure of the rules about the branch, sssoooo...

Bootstrapped & regression tested on i686-pc-linux-gnu (C, C++ only).
OK for mainline and branch?

Richard


	PR bootstrap/16469
	* scripts/create_testsuite_files: Pass -print to find.

Index: libstdc++-v3/scripts/create_testsuite_files
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/scripts/create_testsuite_files,v
retrieving revision 1.4
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.4 create_testsuite_files
--- libstdc++-v3/scripts/create_testsuite_files	28 May 2004 04:21:50 -0000	1.4
+++ libstdc++-v3/scripts/create_testsuite_files	17 Jul 2004 13:33:41 -0000
@@ -35,7 +35,7 @@ dlist=`echo [0-9][0-9]*`
 for d in [a-z]*; do
   test -d $d && dlist="$dlist $d"
 done
-find $dlist "(" -type f -o -type l ")" -name "*.cc" | sort > $tmp.1
+find $dlist "(" -type f -o -type l ")" -name "*.cc" -print | sort > $tmp.1
 if test ! -s "$tmp.1"; then
   exit 1
 fi



More information about the Gcc-patches mailing list