egcs_update problem

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Wed Jan 13 08:02:00 GMT 1999


On Tue, 12 Jan 1999, Mark Mitchell wrote:
>   When using egcs_update on sgi-irix-6.5, I get:
> 
> Pass 1: Updating autoconf and bison generated files
> xargs: environment is too large for exec
> 
>   Perhaps you could modify the script not to use xargs?

Mark, can you please report the output of egcs_update on that
system after applying the first patch below?

I have a vague feeling that the problem might be with find, not xargs,
i.e., it might have happened that find returns the entire egcs tree
instead of the files intended, thus causing that error you see.

If that is not the case, please give the second patch a try and let
me know whether it solves your problem.


In any case, I have found a problem with find on Solaris and will 
submit a fix as soon as we have resolved the current problem.

Gerald


Index: egcs_update
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/contrib/egcs_update,v
retrieving revision 1.11
diff -r1.11 egcs_update
57c57
< done | xargs cvs -q update
---
> done


Index: egcs_update
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/contrib/egcs_update,v
retrieving revision 1.11
diff -r1.11 egcs_update
53c53
< for i in `find . -name configure.in -o -name '*.y'`
---
> X=`for i in \`find . -name configure.in -o -name '*.y'\`
55,57c55,59
< 	D=`dirname $i`/CVS
< 	[ -f $i -a  -d $D ]  && echo $i  
< done | xargs cvs -q update
---
> 	D=\`dirname $i\`/CVS
> 	[ -f $i -a  -d $D ]  && echo $i
> done`
> echo $X
> cvs -q update $X




More information about the Gcc-bugs mailing list