This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Make error 255 bug


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]