Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2025 23:16:52 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        "Simon J. Gerraty" <sjg@juniper.net>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: WITH_META_MODE: base clang excessive compiles
Message-ID:  <CAFDf7UKQO0q=7DVoFpSbiw%2B%2B3jO7Ts1RXBpk82v0cX-7OieP1Q@mail.gmail.com>
In-Reply-To: <76824.1738104544@kaos.jnpr.net>
References:  <CAFDf7UK2DAUdkuB0PE_3-wP_CRMvATL%2BB=1-uEphpTbEai6%2BuQ@mail.gmail.com> <76824.1738104544@kaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000025f965062ccc64fe
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello!

So nice, I can see now:

Skipping meta for ...: ...
some_file.meta: 23: file 'other' is newer than the target...

This is great!

Thank you so much,

Simon J. Gerraty <sjg@juniper.net> escreveu (ter=C3=A7a, 28/01/2025 =C3=A0(=
s) 22:51):

> Nuno Teixeira <eduardo@FreeBSD.org> wrote:
> > Just to check that I'm using the correct setting for WITH_META_MODE
> > since almost everytime I update main tree, I got clang compiled.
> >
> > Is that normal?
>
> Quite possibly.  You can add -dM to your make command line and meta mode
> will explain why it thinks a target is out of date.
> If you see a target built without comment from meta mode, then the
> normal oodate rules said it was out-of-date.
>
> >
> > --
> > $ kldstat | grep filemon
> > 11    1 0xffffffff849f2000     3250 filemon.ko
> >
> > /etc/src-env.conf:
> > WITH_META_MODE=3Dyes
> > ---
> >
> > (maybe usefull to show this as well)
> > /etc/src.conf:
> > WITH_MALLOC_PRODUCTION=3Dyes
> > WITHOUT_LLVM_ASSERTIONS=3Dyes
> >
> > /etc/make.conf:
> > KERNCONF=3DGENERIC-NODEBUG
> > DEVELOPER=3Dyes
> > DEVELOPER_MODE=3Dyes
> > PORTSDIR=3D/home/nunotex/Work/freebsd/ports/main
> > DISTDIR=3D/Arq/DISTFILES
> >
> > Thanks,
>


--=20
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

--00000000000025f965062ccc64fe
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello!</div><div><br></div><div>So nice, I can see no=
w:</div><div><br></div><div>Skipping meta for ...: ...<br>some_file.meta: 2=
3: file &#39;other&#39; is newer than the target...</div><div><br></div><di=
v>This is great!</div><div><br></div><div>Thank you so much,<br></div></div=
><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" clas=
s=3D"gmail_attr">Simon J. Gerraty &lt;<a href=3D"mailto:sjg@juniper.net">sj=
g@juniper.net</a>&gt; escreveu (ter=C3=A7a, 28/01/2025 =C3=A0(s) 22:51):<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex">Nuno Teixeira &lt;=
eduardo@FreeBSD.org&gt; wrote:<br>
&gt; Just to check that I&#39;m using the correct setting for WITH_META_MOD=
E<br>
&gt; since almost everytime I update main tree, I got clang compiled. <br>
&gt; <br>
&gt; Is that normal?<br>
<br>
Quite possibly.=C2=A0 You can add -dM to your make command line and meta mo=
de<br>
will explain why it thinks a target is out of date.<br>
If you see a target built without comment from meta mode, then the<br>
normal oodate rules said it was out-of-date.<br>
<br>
&gt; <br>
&gt; --<br>
&gt; $ kldstat | grep filemon<br>
&gt; 11=C2=A0 =C2=A0 1 0xffffffff849f2000=C2=A0 =C2=A0 =C2=A03250 filemon.k=
o<br>
&gt; <br>
&gt; /etc/src-env.conf:<br>
&gt; WITH_META_MODE=3Dyes<br>
&gt; ---<br>
&gt; <br>
&gt; (maybe usefull to show this as well)<br>
&gt; /etc/src.conf:<br>
&gt; WITH_MALLOC_PRODUCTION=3Dyes<br>
&gt; WITHOUT_LLVM_ASSERTIONS=3Dyes<br>
&gt; <br>
&gt; /etc/make.conf:<br>
&gt; KERNCONF=3DGENERIC-NODEBUG<br>
&gt; DEVELOPER=3Dyes<br>
&gt; DEVELOPER_MODE=3Dyes<br>
&gt; PORTSDIR=3D/home/nunotex/Work/freebsd/ports/main<br>
&gt; DISTDIR=3D/Arq/DISTFILES<br>
&gt; <br>
&gt; Thanks,<br>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div>=
<div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div>

--00000000000025f965062ccc64fe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UKQO0q=7DVoFpSbiw%2B%2B3jO7Ts1RXBpk82v0cX-7OieP1Q>