Date: Tue, 10 Jul 2012 19:19:21 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Kim Culhan <w8hdkim@gmail.com> Cc: Konstantin Belousov <kostikbel@gmail.com>, freebsd-current@freebsd.org Subject: Re: FreeBSD-current r238290 installworld failure Message-ID: <CAGH67wR24WMNtyM9y6yzYuRFKP6_AdYF1itGDzCFJjLS0UDXOg@mail.gmail.com> In-Reply-To: <CAKZxVQUXfof=7EZGAkDrEAqSQdvfAHitJtCFOBA71XBgxr9=7w@mail.gmail.com> References: <CAKZxVQX1Lb-1HNzCqAu7cHOooO32SKCqpKDVTQ6U-_htPg5VCg@mail.gmail.com> <20120710150040.GE2338@deviant.kiev.zoral.com.ua> <CAKZxVQVJJ8ZdpfL1HnGA85pWQac=kGAun6bK7c33k1emDR4djA@mail.gmail.com> <CAKZxVQU0FThnAUnaEjbRue_JC-QQ1B62RfC2igTMRXXdG_EWiw@mail.gmail.com> <CAGH67wR4frD7YmdOojq=F1XdyV=LMyhkT1sosH9sj5zC=hG7FQ@mail.gmail.com> <CAKZxVQUXfof=7EZGAkDrEAqSQdvfAHitJtCFOBA71XBgxr9=7w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 10, 2012 at 7:10 PM, Kim Culhan <w8hdkim@gmail.com> wrote: > On Tue, Jul 10, 2012 at 9:52 PM, Garrett Cooper <yanegomi@gmail.com> wrote: >> On Tue, Jul 10, 2012 at 6:22 PM, Kim Culhan <w8hdkim@gmail.com> wrote: >> >> ... >> >>> Ran another buildworld and on this run gcc was produced in >>> /usr/obj/usr/src/gnu/usr.bin/cc/cc >>> and installworld worked fine. >> >> I would be curious (if it happened again) if you updated your source >> tree but not your objdir, or see whether or not there was some clock >> skew at hand. > > Yes the objdir was unchanged from the the previous run which was ~30 days ago. > > Should probably have rm -r'd /usr/obj before the first run today. Indeed. Changing source directories and not cleaning out your objdir is certain to bring pain in certain cases because of dependency order `violations` if you using -DNO_CLEAN, -DKERNFAST, etc (sys/boot definitely hates it when things are in an inconsistent state, as does include/). `Hacks` or modifications to sources might be required to get things to work if you patch things on the fly as well [1]. Cheers, -Garrett 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/160646
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wR24WMNtyM9y6yzYuRFKP6_AdYF1itGDzCFJjLS0UDXOg>