Make error 255 bug

Fodor Bertalan fodber@freemail.hu
Thu Sep 25 13:44:00 GMT 2003


So it looks like a bug either in cygwin or in cygwin make.

* Test command:

$ perl -e 'print "all:;\t\@true && \\\n"; foreach $i (0000..9999) { print
"\techo -n $i && \\\n"; } print "\ttrue\n";' | make -f -

* Cygwin 1.5
Make 3.80
Works only if number is not larger than 1989, otherwise
make: *** [all] Error 255

When long lines get into the way of make, it executes nothing, but stops
with this error.

Other systems:

* Solaris 2.7
GNU Make 3.76.1
...
-n 9999
-n 9999
-n 9999
-n 10000
--> Works correctly even with larger numbers.

* Linux 2.2.19
GNU Make 3.79.1
Works only if number is not larger than 7747
make: execvp: /bin/sh: Argument list too long
make: *** [all] Error 127

Bert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list