From nobody Wed Aug 4 18:42:53 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 00B5712DF85B for ; Wed, 4 Aug 2021 18:42:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gg0wr657Jz4jk2 for ; Wed, 4 Aug 2021 18:42:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B97873D3C for ; Wed, 4 Aug 2021 18:42:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 174Igqco056158 for ; Wed, 4 Aug 2021 18:42:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 174Igqjv056157 for bugs@FreeBSD.org; Wed, 4 Aug 2021 18:42:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257616] WITH_META_MODE=yes, toolchain is rebuilt each make buildworld Date: Wed, 04 Aug 2021 18:42:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257616 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #3 from Mark Millard --- I'll note that if #define __FreeBSD_version in src/tree/sys/sys/param.h has changed, rebuilds are expected behavior. So I'm assuming that has not changed. Are you saying that the following wort of sequence rebuilds the toolchain 3 times? # cd /usr/src/ # env WITH_META_MODE=3Dyes make buildworld # env WITH_META_MODE=3Dyes make buildworld # env WITH_META_MODE=3Dyes make buildworld Note that lack of any other activity between buildworld's. I do not expect the above would rebuild the toolchain 3 times. By constrast it is expected that the below sort of sequence will rebuild (or relink) more than the the above would overall: # cd /usr/src/ # env WITH_META_MODE=3Dyes make buildworld # env WITH_META_MODE=3Dyes make installworld # env WITH_META_MODE=3Dyes make buildworld # env WITH_META_MODE=3Dyes make installworld # env WITH_META_MODE=3Dyes make buildworld This is because the installworld activity will update file dates on files that WITH_META_MODE checks as an example of a dependency. WITH_META_MODE has some examples of dependency recording that could be avoided with appropriate safety. An example would be avoiding checking in the rm command having been updated, even when rm was used in the command sequence for regenerating a file. You may need to be more explicit about your sequence of steps that leads to the rebuilds that you object to. --=20 You are receiving this mail because: You are the assignee for the bug.=