From nobody Sat Jan 27 13:59:50 2024 X-Original-To: freebsd-current@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 4TMbmP0sz1z58HXh for ; Sat, 27 Jan 2024 14:00:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TMbmN4bNLz49BT for ; Sat, 27 Jan 2024 14:00:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40ee9e21f89so13299265e9.0 for ; Sat, 27 Jan 2024 06:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1706364002; x=1706968802; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=f242wnlvKGBzJ6AFkt8g7qrGUxPUFvjTA7n+V0hZ900=; b=NRAYZJ6sl6LoH438RajUxj5eXvq8fFsQjiVobwkuiCvo8vq1bElZFD2klNwe+sT3bO wQoZ7n+KLkDFpWo+rls6uHwQN6tLrMzl3RlfOSR95oFX3yMIJNQlNdtGr6Y3J3KBUfg0 6qtLmvn2m6O8S8cBQ/41IwDE/6nJAiD5fpBRJEEO5aHSZi8ypv4HmFGut2rmnrR72unk 9n2I5MzeTDomxpfk8iV3ZEL3q7Ad0PLbBguwhIrmddSen0JtVnunWdzqlRJmSsdao754 fUPyTY8fTpyFKl0XvMJxi0dISqDq0hgK9WbcgVYM6nEy2WRguFM1kcr8g/JiuaxCUNkr YiRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706364002; x=1706968802; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=f242wnlvKGBzJ6AFkt8g7qrGUxPUFvjTA7n+V0hZ900=; b=k24gub1NYVUKhy3wmndIpYPBFlDg4wFyzQFIMw/BTwyBGRGWeYX8BQbwO8jx+idkO+ UeYyroLuUpAqEK+6qvxGe4ekohqcPa7vJFWCVBQmxM8KtRPNs/vnqNOuEWvH3kFzsJkw heMalnLW4YYCyc4ekn778wDkxu3JygazbXnJeAypKqcWhPIBi5feLLOGMcAgms2HlUgw qvl+FOJEpA7FE0O77QSJLCra7NTDmierTICDJM996U3bOBDaTnlUxb68nS/l0/0GS5bw bHdvZCGPycgLKbiI5m/CnoEXD7ZCkpkySZlkAIkcZD/h3R5Oa8RgAz3+YQNagYX9lYko vE9w== X-Gm-Message-State: AOJu0Yxe+v7VisqssgBbSLq4E0q5ivLGhvfiHe4dz07AJUlridTedIyZ gPwev3pDXHHFe1uIbuhpZrhMJJFJ1xQPX2M7HT0/Pebt+EQauSSMGjRKauErQ5Q1wzmIXsNc8Fc pjobI9DFsPlzr7ZB+1aocPOUo0mdht2hOGlF2gS+BHD9TbwOl X-Google-Smtp-Source: AGHT+IF/0VDq+xxums4xxOhFWV+Nn27SGZHPg+MFYEBSsQudzCSayyGn/ugBlaD4woy6w5yXNexc80CEDBYE5dIUJNI= X-Received: by 2002:adf:e58b:0:b0:337:c5ef:3d2c with SMTP id l11-20020adfe58b000000b00337c5ef3d2cmr987221wrm.61.1706364002054; Sat, 27 Jan 2024 06:00:02 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <8c42cc06-d3de-432e-82ab-7fe040197223@app.fastmail.com> In-Reply-To: <8c42cc06-d3de-432e-82ab-7fe040197223@app.fastmail.com> From: Warner Losh Date: Sat, 27 Jan 2024 06:59:50 -0700 Message-ID: Subject: Re: meta mode To: void Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="0000000000003348c1060fedd49c" X-Rspamd-Queue-Id: 4TMbmN4bNLz49BT X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --0000000000003348c1060fedd49c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jan 27, 2024, 6:12=E2=80=AFAM void wrote: > Hi, > > I use meta-mode in /etc/src-env.conf so that if (for example) a small > change in the kernel config is made, the machine doesn't take hours > recompiling. > > Also, (I *think* it works this way) if src gets updated by git and > world/kernel rebuilt it won't recompile already compiled files provided > I don't delete /usr/obj/* > > But, from time to time, one might be required to make > cleanworld && make cleandir (to be sure) && make clean (to be *really* > sure) > > What circumstances & notices in /usr/src/UPDATING would require it? > Approximately never. The only time I've had issues were when the machine crashed due to sudden power failure during the build which lead to the last few .o files to be zero length with UFS. Non clean normal builds have lots of issues with moved files. But meta mode steers clear of them. Warner > --0000000000003348c1060fedd49c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, Jan 27, 2024, 6:12=E2=80=AFAM void <void@f-m.fm> wrote:
Hi,

I use meta-mode in /etc/src-env.conf so that if (for example) a small
change in the kernel config is made, the machine doesn't take hours rec= ompiling.

Also, (I *think* it works this way) if src gets updated by git and
world/kernel rebuilt it won't recompile already compiled files provided=
I don't delete /usr/obj/*

But, from time to time, one might be required to make
cleanworld && make cleandir (to be sure) && make clean (to = be *really* sure)

What circumstances & notices in /usr/src/UPDATING would require it?
=

Appr= oximately never. The only time I've had issues were when the machine cr= ashed due to sudden power failure during the build which lead to the last f= ew .o files to be zero length with UFS.

Non clean normal builds have lots of issues with moved file= s. But meta mode steers clear of them.

Warner=C2=A0
--0000000000003348c1060fedd49c--