From: Junio C Hamano Date: Mon, 04 Feb 2013 07:13:00 GMT Subject: Re: Segmentation fault with latest git (070c57df) Message-ID: <7vehgw5z7n.fsf@alter.siamese.dyndns.org> In-Reply-To: <12070540.431901359961105650.JavaMail.weblogic@epml10> Jongman Heo writes: > Jonathan Nieder wrote: >> Jongman Heo wrote: >> >>> Unfortunately, the patch didn't help to me. >> >>Thanks for testing. Did you apply the patch to the older version of >>git that generates builtin/.depend/fetch.o.d or the newer version that >>consumes it? >> >>Curious, >>Jonathan > > Hi, Jonathan, > > I applied the patch to newer version. > > This time, I tried to apply the patch to older version of Makefile, and now the issue is fixed~. > Thanks~! Yeah, that result is understandable, as .depend/*.o.d files will not be rebuilt when the rules to build them changes in the Makefile. Applying the patch to the Makefile in the pristine old tree, run the build (which will generate .depend/*.o.d files with the corrected rules), then checking out the new tree and running the build again without "make clean", with or with the patch applied, would validate that the patch fixes the issue for old ccache. Thanks Jonathan for diagnosing, fixing, and thanks Jongman for testing.