Its on AIX os, trying to compile driver module which has around 575 *.c file using GNU makefile v3.81. Please note AIX driver compiles 32 and 64 bit object, archived togther as one driver instead of two. This same problem doen't happen on solaris where it compiles 32 and 64 bit has separate driver for both 32 and 64bit and not seeing this problem on solaris.
How it looks on our GNUmakefile, if sources specified within the limit around 450, this error occurs otherwise it reports error the parameter or environment list are too long. Sample GNUmakefile ..... sources := x1.c x2.c.......x555.c Also refer this link also regarding this: http://www.ibm.com/developerworks/forums/dw_thread.jsp?forum=905&thread= 170563&cat=72 gnumake[1]: execvp: /bin/sh: The parameter or environment lists are too long. Originally posted: 2007 July 30 06:39 AM [EMAIL PROTECTED] Post new reply Hello, Can someone help resolving the below problem. gnumake[1]: execvp: /bin/sh: The parameter or environment lists are too long. ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 131072 stack(kbytes) 32768 memory(kbytes) 32768 coredump(blocks) 2097151 nofiles(descriptors) 32767 -----Original Message----- From: Jon Grant [mailto:[EMAIL PROTECTED] On Behalf Of Jon Grant Sent: Saturday, August 11, 2007 9:55 PM To: Kothanda, Sathya Cc: [email protected] Subject: Re: gnumake[1]: execvp: /bin/sh: The parameter or environment lists are too long Hi, [EMAIL PROTECTED] wrote on 10/08/07 21:33: > gnumake[1]: execvp: /bin/sh: The parameter or environment lists are too > long. > gnumake[1]: *** [clean] Error 127 I've not seen this myself, looks like a hard coded system limit. is the environment list longer than 32KB? Too allow someone to look further, please provide steps to reproduce, including makefile, OS and make --version info. Kind regards Jon _______________________________________________ Bug-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-make
