fix install-no-fixedincludes mishaps
Paolo Bonzini
bonzini@gnu.org
Thu May 24 14:01:00 GMT 2012
Il 24/05/2012 15:32, Olivier Hainque ha scritto:
> Hello Ian,
>
> On May 24, 2012, at 14:22 , Olivier Hainque wrote:
>> libgcc/
>> * Makefile.in: move dependency on install-unwind_h from
>> "install-leaf" to "install".
>
> Testing went fine for me. Here is what I checked:
>
> For a pristine tree:
>
> configure --enable-languages=c --disable-libada --disable-multilib --disable-bootstrap
> make
> find . -name unwind.h -ls > ls0
> make maintainer-clean-target-libgcc
> make (*)
> find . -name unwind.h -ls > ls1
>
> diff ls0 ls1 indeed shows
>
> < 4883963 12 -rw-r--r-- 1 hainque users 10246 May 24 14:42 ./gcc/include/unwind.h
> > 4883963 12 -rw-r--r-- 1 hainque users 10246 May 24 15:00 ./gcc/include/unwind.h
>
> (*) For this sequence to work, I had to change libgcc_tm.h into libgcc_tm.stamp
> in the list of files removed by "clean:" in libgcc/Makefile.in. Otherwise the
> second make fails to rebuild libgcc, complaining about libgcc_tm.h missing
> (removed by clean and not rebuilt because .stamp remained there).
I think you need to remove both files? Can you send a patch for that?
> On a tree with the patch applied, the difference on gcc/include/unwind.h before and after the
> rebuild disappears.
>
> I also checked that unwind.h remains copied by install-no-fixedincludes.
>
> OK to apply ?
Ok.
Paolo
More information about the Gcc-patches
mailing list