bin/61527: make -j2 changes $*
Albert Hofkamp
a.t.hofkamp at tue.nl
Sun Jan 18 06:10:13 PST 2004
>Number: 61527
>Category: bin
>Synopsis: make -j2 changes $*
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 18 06:10:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Albert Hofkamp
>Release: 4.7
>Organization:
>Environment:
>Description:
with a make rule like
foo/bar.o: foo/bar.cc
echo CC -o $*.o $<
(and an existing foo/bar.cc
'make' ouputs 'CC -o foo/bar.o foo/bar.cc' while
'make -j2' outputs 'CC -o bar.o foo/bar.cc', ie the target misses the directory part in parallel make
>How-To-Repeat:
construct a makefile like above, create a dummy foo/bar.cc, then type 'make' or 'make -j2'
>Fix:
Other than not using directories in targets or not using -j2, none
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list