bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #35132] Side effects of .SECONDARY with no targets not document


From: Philip Guenther
Subject: Re: [bug #35132] Side effects of .SECONDARY with no targets not documented
Date: Tue, 20 Dec 2011 21:36:01 -0800

On Tue, Dec 20, 2011 at 2:07 PM, anonymous <address@hidden> wrote:
> There are some side effects associated with intermediate/secondary targets
> that aren't documented in any real detail in the documentation.
>
> The documentation for .SECONDARY gives the impression you can use .SECONDARY
> to disable automatic deletion of intermediate targets, but doing so causes a
> number of side effects that produce unpredictable behavior in a build.
>
> Unfortunately, I do not have a concise or publishable example demonstrating
> the problem; however, I outlined it on this thread:
>
> http://groups.google.com/group/gnu.utils.bug/browse_frm/thread/d882703f60b20ea5?hl=en#

To confirm, when you say "thread", you mean "my single post", right?
I want to be sure that link isn't leaving off replies or something...

That said, your post references rules that build symlinks to other
files...and then you leave out important details of the cases that
cause problems.  If you don't have the time to find a minimal test
case, can you at least spend the time to figure out the conditions
under which the problem occurs?  If not, how are we, who don't have
access to your system, supposed to figure that out?  You might get
lucky...or you might just be pissing into the wind.

So: does the problem only occur when the symlink already exists?  Or
when the symlink *doesn't* exist?  Is this a recursive make setup?  If
so, which makefiles have which rules?  How can we debug this when you
don't provide *ANY* examples of a rule for building one of those
symlinks?

As for issue problem with .PRECIOUS, well, it works with patterns for
me; please provide an actual example.


Philip Guenther



reply via email to

[Prev in Thread] Current Thread [Next in Thread]