On Wed, Mar 02, 2011 at 04:58:41AM +0000, Dave Korn wrote: > On 02/03/2011 03:23, Jack Howarth wrote: > > Is anyone else building java with lto-bootstrap? At r170606 I am seeing > > a bootstrap > > failure which appears as... > > > make[4]: *** No rule to make target `.deps/gij.Plo'. Stop. > > make[3]: *** [all-multi] Error 2 > > make[3]: *** Waiting for unfinished jobs.... > > > > Could this be related to the recent lto-streamer changes? > > Seems more likely something went wrong earlier, while making > configure-target-libjava; config.status is supposed to create blank dummy > dependency files to get the build going. > > Any trace of that earlier failure? Does running "rm .deps/gij.Plo && > ./config.status Makefile depfiles" in the failing directory regenerate > .deps/gij.Plo with the content "# dummy"? > > > on x86_64-apple-darwin10 with 'make -j 8'. Oddly, after the failed > > bootstrap, if I just use 'make' > > the build completes successfully. > > The .Plo files are generated as a side-effect of compiling the .o files, so > one of the "unfinished jobs" was presumably busy compiling gij.lo which is a > target that there is a separate pattern rule to cause to build. So next time > you compiled, the required .Plo file was already there. > > cheers, > DaveK
Dave, I tried again without --enable-build-with-cxx and it worked. I'll see if I can reproduce it again with --enable-build-with-cxx. Jack