🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #968

execve problem on Aegis

#968
From: 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
Technical Details
Message-ID: <9209291933.AA14616@stesan.YP.attc>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!stesan.AUto-trol.COM!stesan

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!stesan.AUto-trol.COM!stesan
From: stesan@stesan.AUto-trol.COM (Stephen Sanford, Jr.)
Subject: execve problem on Aegis
Message-ID: <9209291933.AA14616@stesan.YP.attc>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 29 Sep 1992 19:33:03 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 31