bin/156729: make(1) do not respect.ORDER not in non-parallel mode
Arnaud Lacombe
lacombar at gmail.com
Fri Apr 29 23:20:07 UTC 2011
>Number: 156729
>Category: bin
>Synopsis: make(1) do not respect.ORDER not in non-parallel mode
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 29 23:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Arnaud Lacombe
>Release: 8.2-STABLE
>Organization:
n
>Environment:
>Description:
Considering the following `Makefile.test':
all: a b
a: .PHONY
@echo after
b: .PHONY
@echo before
.ORDER: b a
Triggers the following default behavior:
% make -f Makefile.test
after
before
While when the invoked with `-j', the .ORDER directive is respected.
% make -j 2 -f Makefile.test
before
after
Removing the .ORDER directive trigger the default behavior.
This could be fixed by making `a' depend on `b', but this may not be possible when dealing with dynamically generated rules.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list