B20/B20.1: Odd problems w/ make: vfork & execvp

Josh Baudhuin joshb@Cadence.COM
Thu Jul 29 16:19:00 GMT 1999


I was using the B20 copy of make, and had a '-gz' rule for gunzipping
certain files in my Makefile. For whatever reason, recently, I've begun to
get this error message (one for each *-gz file targeted):

The heap has been split, CYGWIN can't fork this process.
Increase the heap_chunk_size in the registry and try again.
gnumake: vfork: Not enough space
rm -f ../src/lic/lmgr326b.dll ../src/lic/lmgr326b.dll-tmp ; \
mv -f ../src/lic/lmgr326b.dll-gz ../src/lic/lmgr326b.dll-tmp ; \
cp ../src/lic/lmgr326b.dll-tmp ../src/lic/lmgr326b.dll-gz ; \
gunzip -q -S -gz ../src/lic/lmgr326b.dll ; \
mv ../src/lic/lmgr326b.dll-tmp ../src/lic/lmgr326b.dll-gz ; \
chmod a+r,a-w ../src/lic/lmgr326b.dll

(The commands below the 'gnumake' line are what is supposed to be executed
for a given *-gz target, i.e., the rule reads:

-gz:
    rm -f $* $*-tmp ; \
    mv -f $*-gz $*-tmp ; \
    cp $*-tmp $*-gz ; \
    gunzip -q -S -gz $* ; \
    mv $*-tmp $*-gz ; \
    chmod a+r,a-w $*
)

I can't find an entry for 'heap_chunk_size' anywhere--I don't find it in any
of the documentation.

So I decided to upgrade to B20.1. I set MAKE_MODE to UNIX, and try again.
But now I get the following unsatisfactory result:

gnumake: execvp: /bin/sh.exe: Invalid argument
gnumake: *** [../src/winhelp/whatsnew_pcb.hlp] Error 127
rm -f ../src/lic/lmgr326b.dll ../src/lic/lmgr326b.dll-tmp ; \
mv -f ../src/lic/lmgr326b.dll-gz ../src/lic/lmgr326b.dll-tmp ; \
cp ../src/lic/lmgr326b.dll-tmp ../src/lic/lmgr326b.dll-gz ; \
gunzip -q -S -gz ../src/lic/lmgr326b.dll ; \
mv ../src/lic/lmgr326b.dll-tmp ../src/lic/lmgr326b.dll-gz ; \
chmod a+r,a-w ../src/lic/lmgr326b.dll

So something seems to be "up" with execvp().

This used to work pretty handily. Is my machine getting rotten or something?

____________________________
Josh Baudhuin
Cadence Design Systems, Inc.
joshb@cadence.com

Week of 28 June:
In office     Tu  Th    408/342-5586
at home     M   W   F   415/255-7585


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list