🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1749

GMAKE error with many variables

#1749
From: Shaun Smith
Date: Thu, 22 Feb 1990 19:11
27 lines
1527 bytes
I'm posting this for someone without access to news:

---------------------------

platform: SUN-3/60
os: SUNOS 4.0.1

I have a medium sized makefile with a large number of variables defined (258).
When I run the makefile it attempts to rebuild my targets but gets an
error from execve indicating too many parameters have been sent. If I comment
out some of my variable definitions then the problem goes away and the shell
is exec'd correctly. Sometimes /bin/sh or /bin/cc complain about the number
of parameters instead of execve. In any event it seems to be directly related
to either the number of variables defined or the amount of text stored in
the variables. Possible memory overwrite problem?

Thanks for your time.
Reid.

------------------

   Shaun

Shaun M. Smith                  | ssmith@joplin.mpr.ca
Microtel Pacific Research       | joplin.mpr.ca!ssmith@uunet.uu.net
8999 Nelson Way, Burnaby, BC    | ssmith%joplin.mpr.ca@relay.ubc.ca
Canada, V5A 4B5, (604) 293-5345 | ...!ubc-vision!joplinmpr.ca!ssmith
Technical Details
Message-ID: <2069@kiwi.mpr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!kiwi!joplin!ssmith

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!kiwi!joplin!ssmith
From: ssmith@joplin.mpr.ca (Shaun Smith)
Newsgroups: gnu.utils.bug
Subject: GMAKE error with many variables
Keywords: GMAKE, variables
Message-ID: <2069@kiwi.mpr.ca>
Date: 22 Feb 90 19:11:31 GMT
Sender: news@eric.mpr.ca
Reply-To: ssmith@rhumba.mpr.ca (Shaun Smith)
Organization: Microtel Pacific Research Ltd., Burnaby, B.C., Canada
Lines: 27