bug-make
[Top][All Lists]
Advanced

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

PATCH: virtual memory exhausted when xmalloc(0) returns 0


From: John Jenniskens
Subject: PATCH: virtual memory exhausted when xmalloc(0) returns 0
Date: Wed, 9 Mar 2005 11:00:37 +0100

Hello,
 
Given the following very small makefile:
 
all:
        @echo TEST Succesfull!!
 
make-3.80  with --no-builtin-rules fails:
 
/home/huminf/johnj> make --no-builtin-rules -f test.mak
make: *** virtual memory exhausted.  Stop.
 
This occurs on platforms where malloc(0) returns 0. I've found the error
on AIX and on TRU64 (dec-osf) platforms.
 
Enclosed you'll find the patch for implicit.c
 
When using my patch, the result is:
 
/home/huminf/johnj> make-3.80/make --no-builtin-rules -f test.mak
TEST Succesfull!!

Kind regards,
 
John Jenniskens
 

Attachment: implicit.patch
Description: implicit.patch


reply via email to

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