Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2011 23:19:48 GMT
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/156729: make(1) do not respect.ORDER not in non-parallel mode
Message-ID:  <201104292319.p3TNJmGW087051@red.freebsd.org>
Resent-Message-ID: <201104292320.p3TNK78c002540@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104292319.p3TNJmGW087051>