From owner-freebsd-current Thu Feb 21 16:11:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 6B35E37B402; Thu, 21 Feb 2002 16:11:10 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 395C3AE2DD; Thu, 21 Feb 2002 16:11:10 -0800 (PST) Date: Thu, 21 Feb 2002 16:11:10 -0800 From: Alfred Perlstein To: Luigi Rizzo Cc: Bruce Evans , "M. Warner Losh" , current@FreeBSD.ORG, msmith@FreeBSD.ORG Subject: Re: Proposed patch for "/bin/sh: Argument list too long" when compiling LINT ... Message-ID: <20020222001110.GI12136@elvis.mu.org> References: <20020218.174959.96666779.imp@village.org> <20020219193515.Y1320-100000@gamplex.bde.org> <20020219004144.A25474@iguana.icir.org> <20020219085306.GL12136@elvis.mu.org> <20020221151439.D53952@iguana.icir.org> <20020221234146.GH12136@elvis.mu.org> <20020221154743.B54262@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020221154743.B54262@iguana.icir.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Luigi Rizzo [020221 15:47] wrote: > On Thu, Feb 21, 2002 at 03:41:46PM -0800, Alfred Perlstein wrote: > > * Luigi Rizzo [020221 15:14] wrote: > > > So, in this thread a few days ago i reported that the > > > list of arguments passed to mkdep can become quite large > > > and exceed kern.argmax, especially if your sources are not in the > ... > > > Any better ideas ? > > > > Yes. :) > > > > $(MAKE) -V CFILES -V SYSTEM_CFILES -V |\ > > xargs env MKDEP_CPP="${CC} -E" CC="${CC}" mkdep -a -f .newdep ${CFLAGS} > > Nice one, didn't know about the -V option. > > Would you like to commit this or should I do it ? Go for it. > Also, do you know where to look for the same problem in RELENG_4 ? Not offhand, sorry. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message