PATCH: PR bootstrap/44315: 4.6 Regression] Circular build/gencondmd.o <- insn-flags.h dependency

H.J. Lu hjl.tools@gmail.com
Sat May 29 18:51:00 GMT 2010


On Sat, May 29, 2010 at 10:48 AM, Mike Stump <mikestump@comcast.net> wrote:
> On May 29, 2010, at 9:22 AM, H.J. Lu wrote:
>> build/gencondmd.o shouldn't depend on insn-flags.h.  This patch filters
>> out insn-flags.h.  OK to install?
>
> Doesn't this fail to filter out all the components of TM_H except for insn-flags.h?  Wasn't that file previously filtered out?

From:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44315

 insn-flags.h comes from dependency of FUNCTION_H on TM_H.

From "info make":

`$(filter-out PATTERN...,TEXT)'
     Returns all whitespace-separated words in TEXT that _do not_ match
     any of the PATTERN words, removing the words that _do_ match one
     or more.  This is the exact opposite of the `filter' function.

     For example, given:

          objects=main1.o foo.o main2.o bar.o
          mains=main1.o main2.o

     the following generates a list which contains all the object files
     not in `mains':

          $(filter-out $(mains),$(objects))

My patch removes  insn-flags.h from build/gencondmd.o dependency.

-- 
H.J.



More information about the Gcc-patches mailing list