bug-make
[Top][All Lists]
Advanced

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

[bug #31002] make picks wrong pattern rule


From: Paul D. Smith
Subject: [bug #31002] make picks wrong pattern rule
Date: Thu, 09 Sep 2010 13:45:51 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8

Follow-up Comment #1, bug #31002 (project make):

This is due to this change, from the NEWS file:

* WARNING: Backward-incompatibility!
  The pattern-specific variables and pattern rules are now applied in the
  shortest stem first order instead of the definition order (variables
  and rules with the same stem length are still applied in the definition
  order). This produces the usually-desired behavior where more specific
  patterns are preferred. To detect this feature search for 'shortest-stem'
  in the .FEATURES special variable.


I'm assuming that your makefiles are more complex than this; can you explain
in what situation this capability is used by glibc?

In the example you give here, for example, the last two rules will NEVER be
chosen by GNU make 3.81 so you might as well just delete them.  Then your
makefile would work in both 3.81 and 3.82.

But maybe the glibc makefiles need both, and I'd like to understand why.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31002>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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