LFS-6.0 testing make fails with "make: *** virtual memory exhausted. Stop"

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Thu Jul 22 12:27:48 PDT 2004


On Thu, 2004-07-22 at 19:20 +0000, Hai Zaar wrote:
> Hi, all!
> 
> It turns out that make-3.80 has (vital for me) bug:
> When you feed it with BIG makefile, it fails with
>        make: *** virtual memory exhausted.  Stop
> error. The error occures while it parses makefile itself, even before 
> starting to build any targets.
> 
> The thing means, that after compiling and installing make in chapter5, my 
> super-puper makefile that implemented the whole chapter5 chain just stopped 
> to work (since new bugged make in /tools/bin was preffered in the PATH). So 
> I've reinstalled make and installed it last in chain, and this way I've 
> completed the chain.
> My host system is Fedora Core 2.
> 
> For me it happened after declraring about 200 targets (mostly using eval 
> functions).
> I've searched various mail archives, and people that run BIG compilations on 
> build farms reported the same problem.
> 
> I've did not found any sane patches on the topic on make homepage 
> (http://savannah.gnu.org/projects/make). So what I did was to take fedora 
> core 2 make-3.80.src.rpm and grabbed make-3.80-cvs.patch from there.
> 
>     ../patch -i ../make-3.80-cvs.patch -N -p0
> Succeded. I've rebuild make and everything worked fine.
> 
> The thing I lack and some "official" information from make developers on the 
> topic.

Here is a patch included in the source package for depinit, I believe it
fixes the same issue...

-- 
Jeremy Huntwork
http://www.jenacon.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-3.80-eval.patch
Type: text/x-patch
Size: 1960 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20040722/1ff27b27/attachment.bin>


More information about the lfs-dev mailing list