[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #19226] False warning about a circular dependency
From: |
anonymous |
Subject: |
[bug #19226] False warning about a circular dependency |
Date: |
Wed, 07 Mar 2007 09:28:46 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 |
URL:
<http://savannah.gnu.org/bugs/?19226>
Summary: False warning about a circular dependency
Project: make
Submitted by: None
Submitted on: Mittwoch 07.03.2007 um 09:28 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: Any
Fixed Release: None
_______________________________________________________
Details:
We are using make 3.81 under CygWin (Windows XP SP2).
I have the following makefile: "test.make":
------------------8<---------------------
VPATH := ../dir/
all: a
.SECONDARY:
a: b b
@echo "compile"
../dir/b:
------------------8<---------------------
I am getting the following:
$ mkdir ../dir
$ touch ../dir/b
$ make -f test.make
make: Circular a <- b dependency dropped.
compile
$
Of course a depends on b, but why depends b on a?
When only one b is on the a line, the message isn't shown,
when the .SECONDARY: is missing it isn't shown and when
the b file is placed under ./dir the message is also not shown.
Paul Smith (address@hidden) confirmed this for Linux:
| I can confirm this on my Linux box. It's even stranger
| if you look at the debug output, since make appears to
| try to build "b" right after it considers "all", without
| first considering "a" (according to the output).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mittwoch 07.03.2007 um 09:28 UTC Name: test.make Size: 86B By: None
<http://savannah.gnu.org/bugs/download.php?file_id=12138>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19226>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #19226] False warning about a circular dependency,
anonymous <=