Issue 71704 - Mixing -S and -P (MAXPROCESS) together trigger a fatal error
Summary: Mixing -S and -P (MAXPROCESS) together trigger a fatal error
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: dmake (show other issues)
Version: current
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-18 16:36 UTC by quetschke
Modified: 2013-08-07 15:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2006-11-18 16:36:42 UTC
(Followup to issue 71701)

Mixing -S and -P2 on the command line creates problems.

This example makefile.mk:

- - - - - - - - - -
SHELL=/bin/sh
SHELLFLAGS=-c

my.inc :
	+echo "# MAXPROCESS=$(MAXPROCESS):" > my.inc

.INCLUDE : my.inc

all:
	+echo all
- - - - - - - - - -

Gives this error:

$ rm my.inc ; dmake.exe -S -P2 -r all
echo "# MAXPROCESS=2:" > my.inc
echo all
dmake:  Error: -- MAXPROCESS changed after a command was executed!
all
Comment 1 quetschke 2006-11-19 05:28:42 UTC
Committed a patch to dmake47.
Comment 2 quetschke 2006-11-19 21:11:33 UTC
Committed testcase and documentation.
Comment 3 quetschke 2006-11-19 21:12:01 UTC
Please verify.
Comment 4 hjs 2007-01-17 16:30:53 UTC
i'm not able to reproduce the error at all. so i have no way to verify...
tried linux/solaris/windows native/cygwin.
last resort: does it happen only on multicore machines with cygwin?
Comment 5 hjs 2007-01-17 17:24:56 UTC
gone
Comment 6 hjs 2007-01-23 14:45:38 UTC
seen in MWS