🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Stephen Sanford, Jr. Tue, 29 Sep 1992 19:33
execve problem on Aegis
#968
Author: Stephen Sanford, Jr.
Date: Tue, 29 Sep 1992 19:33
30 lines
1716 bytes
A developer just discovered a problem using GNU make on the Apollo,
with Aegis SR10.3.5 operating system.  (We tried both version 3.59 and 3.62.7
of GNU make.)

One of his targets includes a system directive to rm all of the object
files in a directory.  GNU make prints out the expanded version of the
rm command, and then errors out, saying

gmake: execve: /bsd4.3/bin/rm: Arg list too long
gmake: *** [clean_all] Error 127

The execve man page on the Apollo machine explains this error:

     [E2BIG]
                     The number of bytes in the new process' argument list is
                     larger than the system-imposed limit.  The limit in the
                     system as released is 10240 bytes (NCARGS in
                     <sys/param.h>.

Since the arg list was larger than 10240 bytes, execve failed, so gmake
errored out.

Has anyone devised a workaround to avoid this problem?  Or are we stuck with
having to alter our makefiles to keep argument lists short?

Thanks for any help...
*********************************************************
Steve Sanford, Jr.       Auto-trol Technology Corporation
stesan@auto-trol.com              12500 N. Washington St.
(303) 252-2016                     Denver, CO  80241-2400
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads