WITH_META_MODE: any effect? Tree built twice!

O. Hartmann o.hartmann at walstatt.org
Thu Dec 13 17:18:19 UTC 2018

Hash: SHA512

Am Wed, 12 Dec 2018 16:25:56 -0800
"Simon J. Gerraty" <sjg at juniper.net> schrieb:


thanks for your resonse.

> O. Hartmann <ohartmann at walstatt.org> wrote:
> > delete-old|-libs afterwards, I started again a build (filemon loaded!). And, surprise,
> > surprise, compilation of all the long-haul taking LLVM/CLANG stuff starts again! That
> > is not funny.  
> If you have META_MODE enabled -dM will tell you if meta_oodate
> decided the target needs update - and if so exactly why.
> Eg. a command changed, a file is updated, missing etc.
> If it says nothing, then the target was out-of-date per normal make
> rules.
> > Why do I have to rebuild world twice to get WITH_META_MODE in effect?  
> I don't follow; why do you think that is the case?

I do not think that is the, it in fact the case!
I rebuild first everything after "make cleanworld"; then I did the same again, no update,
no nothing done after that build (filemon already loaded as it was prerequisite for the
first run!); surprisingly, the build ran again full time starting from scratch!

I'm able to reproduce this behaviour easily: make cleanworld; kldload filemon (if not
already loaded); make buildworld buildkernel

After the build has finished, install everything accordingly and reboot. Then kldload
filemon and make buildworld buildkernel in /usr/src - and be surprised.

> > These setting dind't change over the past time, except some WITHOUT_ tags.
> > 
> > Are there any unrevealed secrets?  
> If changing any of those knobs impacts CFLAGS etc - then pretty much
> everything will be out-of-date.
> Adding -dM to your build command should be very instructive.
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

- -- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).


More information about the freebsd-current mailing list