bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with recursive includes, resource limits, and make-3.81?


From: Garrett Cooper
Subject: Re: Issue with recursive includes, resource limits, and make-3.81?
Date: Wed, 21 May 2008 14:14:15 -0700

On May 21, 2008, at 1:27 PM, Paul Smith wrote:

On Wed, 2008-05-21 at 13:22 -0700, Garrett Cooper wrote:
Trying out a recursive include, I seem to have run into a resource
issue:

make[2]: Entering directory `/scratch/ltp-full-20080430/tools/apicmds
../Makefile.inc:4: ../Makefile.inc: Too many open files
make[2]: *** No rule to make target `all'.  Stop.

Running FC8 with a self-rolled copy of make-3.81. No patches or
functional changes apart from a few debug lines.

What sections of the make code (i.e. which parts in read.c?) should I
look into for solving this issue / finding "leaky filehandles", or is
this a known issue?

This looks like a bug in your makefile, where you're including the same file recursively, forever. I expect if you run with -d you'll see this.

You're absolutely right once again -_-... forgot that the a relative path isn't established for child makefiles. Fixed.
-Garrett




reply via email to

[Prev in Thread] Current Thread [Next in Thread]