Re: WITH_META_MODE: any effect? Tree built twice!

From: O. Hartmann <o.hartmann_at_walstatt.org>
Date: Thu, 13 Dec 2018 18:17:32 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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

Hello,

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).
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCXBKUSAAKCRDS528fyFhY
lJUCAgCMzwlE95D68PBLoQRlR1FtO8M4xqexhueOCLVrFm9RfvrMWM/NjJb7jQGN
y4HgdVlSLfmt1nLFuVXwwBhDOPdoAf4/agCSRz0aOaWceBl0z0qTlaqSyv8g3Oif
sVMeo1jynFFuICbxcqiVSJxlc2nIdH8GEyCKxF5UIeVM7hjpQM/7
=o0WF
-----END PGP SIGNATURE-----
Received on Thu Dec 13 2018 - 16:18:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC