From nobody Thu May 28 15:16:50 2026 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 4gR97l1DPQz6fsnx for ; Thu, 28 May 2026 15:16:51 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gR97k5Sy6z3pkV for ; Thu, 28 May 2026 15:16:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779981410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3S91T44uwkg3KpugJNgcvV/n0kq1zNjBYap6lYMsQkI=; b=V/jTlOcB4pRTDq7iHVtToBButeLcTCqaM/mBKTXN5k68ryYacB05rcWAUpsPecU7lI2+UI cS/qjC1NB5qBw0IKt/poHWxa5BiUTxBq1Ftk0jKPxV8pLwCI6AV79AUPw0iiuj4hoFbeaQ wpquoapTJsCGjO/4L6wbshIgZgkjqf72xvVIp2KKKlredq2AgxwELqCX7/OEtKnDp9xW9L /7/6e26IzoGPrIxDsJUOqoz9uzAeB3308vUzDytvX7Bo0otaRsOc+iTwB14O+tDUiArh+Z mb48Giw6iMEOLLRHCqqlp3DnMlzeztYiEk/9XKDLxZv7T2qfVACxlheQ+fkY6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779981410; a=rsa-sha256; cv=none; b=bhPiHZXs7Ms1YS/hemPgTtoGwmiw3G2pNdjRapWfJOK0f9/USbsqtUN2dXmHpE45+tVuPm awKE4MfpL9D4q+Nu6IftMeUJR/9yeDfjqAPuZNjphh8zZNSS2ZD22CirWWpCi5TFT5O6QG 4Yk9QA8qrXzBK+iXxMJcHDivuO/a2NeN2QG2I8hm3AFc1r5qZ8SQgPINjSVZfun3tn8NCr Jt6C+v3PO276Uajiwy4WdmE4bNIzYsD60RcAd0INRVKUqkepbpC05CIsd1fO4m2onmzSpV neN0YqkUhCeU7MehRe8Fnnozg5u30ZaQPuJ8a7K7Ox2yLSOFL8sK6AMSF5yCOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779981410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3S91T44uwkg3KpugJNgcvV/n0kq1zNjBYap6lYMsQkI=; b=GbEB2VfnnHfmiL1s7xvh0ZHX9ir81XTuIqsymNwHTarhZZYFnA2Rvj4DHHmHDU834RtmxD +xyBE8Pl8Il3xWxc+gBhmWuII8lkHdeE2Cp0HBo47jVW6pzGdrFej8FMfnuQcfItLagdLZ JRaXy9liQZ9INLbi4YadtRVUYVWtXtnQvyxnwKUyWWcDMTXR9clUSICV/6Xnjcl4w606nA 6lkNEHHToZ9bMsHgTyo3EkTIPkvsw9Wiow2gGuOXwpWbBlwWpRe6Y8KaYcxZ2mYCZ+XbSA xKdFYM0eTdXaLLQoQmQDXgnM77GYQoIz9yZP+NGmL00k7vJ6aX5fQkyrojTgxQ== 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 4gR97k4pP9zrkt for ; Thu, 28 May 2026 15:16:50 +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 64SFGojw065413 for ; Thu, 28 May 2026 15:16:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 64SFGoBx065412 for bugs@FreeBSD.org; Thu, 28 May 2026 15:16:50 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 242835] concurrency issue when building kernel with 'make -j8': make[5]: make[5]: don't know how to make opt_global.h. Stop Date: Thu, 28 May 2026 15:16:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242835 --- Comment #7 from Martin Birgmeier --- I also still regularly get this with stable/15 at 6146c5962e5c. There seem to be two components to the issue: - opt_global.h is required in multiple parallel build branches, is determin= ed to be not up to date, and therefore must be (re)created. This seems to invo= lve removing the old/outdated file first if it exists. - Doing this via NFS seems to result in slightly different visibility of opt_global.h in these branches (filesystem state not fully synchronized or different timing) compared to doing it in a local filesystem. Possible race scenario: - Build branches A and B determine opt_global.h to be outdated. - Branch A removes the file. - Branch A creates the file. - Branch B removes the file. - Branch A does not find the file. Maybe the "remove" step could be left out somehow and any preexisting file = just be overwritten with the new contents. This might result in different issues, though (e.g., incomplete file seen by another process). Or opt_global.h cou= ld be generated without parallelism before make is allowed to continue with parallel branches. These are just the ideas of a non-expert, the actual cause and solution may= be totally different. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=