Patchwork fix PR bootstrap/54642

login
register
mail settings
Submitter Jack Howarth
Date Sept. 21, 2012, 7:33 p.m.
Message ID <20120921193327.GA31979@bromo.med.uc.edu>
Download mbox | patch
Permalink /patch/185889/
State New
Headers show

Comments

Jack Howarth - Sept. 21, 2012, 7:33 p.m.
The attached patch solves the bootstrap failures in PR54642 where the
file lto-symtab.o is rebuilt during 'make install' by the system compiler
due to the dangling dependency left on gt-lto-symtab.h for lto-symtab.o.
Tested on x86_64-apple-darwin12 against clang/clang++ of Xcode 4.5.
Okay for gcc trunk?
          Jack

2012-09-21  Jack Howarth  <howarth@bromo.med.uc.edu>

	PR bootstrap/54642
	* Makefile.in (lto-symtab.o): Remove gt-lto-symtab.h dependency.
H.J. Lu - Sept. 21, 2012, 8:08 p.m.
On Fri, Sep 21, 2012 at 12:33 PM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
> The attached patch solves the bootstrap failures in PR54642 where the
> file lto-symtab.o is rebuilt during 'make install' by the system compiler
> due to the dangling dependency left on gt-lto-symtab.h for lto-symtab.o.
> Tested on x86_64-apple-darwin12 against clang/clang++ of Xcode 4.5.
> Okay for gcc trunk?
>           Jack
>
> 2012-09-21  Jack Howarth  <howarth@bromo.med.uc.edu>
>
>         PR bootstrap/54642
>         * Makefile.in (lto-symtab.o): Remove gt-lto-symtab.h dependency.
>
>

I checked it in for you.

Thanks.

Patch

Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in	(revision 191617)
+++ gcc/Makefile.in	(working copy)
@@ -2156,7 +2156,7 @@  lto-section-out.o : lto-section-out.c $(
    $(DATA_STREAMER_H)
 lto-symtab.o: lto-symtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
    $(TREE_H) $(GIMPLE_H) $(GGC_H) $(HASHTAB_H) \
-   $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) gt-lto-symtab.h
+   $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H)
 lto-opts.o: lto-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
    $(HASHTAB_H) $(GGC_H) $(BITMAP_H) $(FLAGS_H) $(OPTS_H) $(OPTIONS_H) \
    $(COMMON_TARGET_H) $(DIAGNOSTIC_H) $(LTO_STREAMER_H)