From nobody Mon Sep 15 03:04:11 2025 X-Original-To: dev-commits-src-main@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 4cQ8y35xFrz67w1y; Mon, 15 Sep 2025 03:04:11 +0000 (UTC) (envelope-from git@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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cQ8y34CfFz3w37; Mon, 15 Sep 2025 03:04:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757905451; 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; bh=wmXQG1dDWgnoL47x3VA7eEKgQY70wx/f78TwmpOw+2s=; b=Bgr+NF9kW9l6kBDNDUR+BmFMdo6T8ENsoj2EUkwn936XOhlHfQuJ1B+QcscOui5fU31nTf u9i+iODKzHpNT/ZdgsxPE8P4x72dz34O30BPrSKb2W7F0nP8x2FI5qvHce63yWFENTEFxc vjcyX96/wOmCN241nlLhQXso1tBglhXPf6OCFykWdgyqZ/IZbVuQij2PyLytHHslv/WYjj 5iEI+SsM76R6JBgCe5uq3WUV2s1AojTlx/DkBQVoLEnVowElJQbthVdIM2TBbN1t9R+GUD mT4E5CkKbX/DIdLWPMRQAI73Kx5bEqv1vHZwN6amZ3/Eq7ELTUBiaOQRDEjQBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757905451; 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; bh=wmXQG1dDWgnoL47x3VA7eEKgQY70wx/f78TwmpOw+2s=; b=E/GAkhHwl64AB250BxRmHQ3uy4zb5ZPiyD5JoTRFhHj/XH50V93LWzLUR3xAkp/Lp0d+j2 Ooy464CZvOGNAo8/5C4+gX21T60mSc86bnQd0ustSDrTdLB/mpbxnNkCuAUg0kmmMJP8At iyHSo43rjvNxLGb/GBBZiKs7HNlPiYVt5s/PqtFs1wmB8WZgPD/d7Bk30ZSrdKtMQllQmd ymjXsd+RluUR/3AlPhLHBsXZlcI9CNdNesyY95DQWCyk+gIz7nh4Ah0DLF8j6jICKIdKMr E9GvXurzUI5U0C7/fo3mypDjlgtiCPbARIM3Vr2ppLtryk4DRQtGhMHjcqzorw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757905451; a=rsa-sha256; cv=none; b=j3bYCxALzXLMDanjHa9bHY4p2zBMjAYD6NfvYPaIvshT7ujYHMvR3Co8RqMxABGXa1F0m2 +/H6Vxp0yta7fN/LzRh7JWpe6mlxVRbsARiGKkETE1oY3QpcBieMKThSiN3c7g1hsHUlZ+ XKRhpfy4kXx1/wE20VUuA2P7UsqA/gct40ofJU8qaHPEVnsdNqbio1YzzI+QP8ROTUDU/c YgYioRiiHP7v6cXkfhjAncbO2HwcjcoCUnjus/Mgo5JcaW3MV9H+7vwkDOxHPKRVfsKaou XBDQL3Wy7Knz8qR7MRwBjA8+PHJKMikrFiDKppJCoYenmjXYp+WoIqfSS5Dpqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4cQ8y33nQtzcRN; Mon, 15 Sep 2025 03:04:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58F34B5T035105; Mon, 15 Sep 2025 03:04:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58F34BWJ035102; Mon, 15 Sep 2025 03:04:11 GMT (envelope-from git) Date: Mon, 15 Sep 2025 03:04:11 GMT Message-Id: <202509150304.58F34BWJ035102@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 5e0a4859f28a - main - iwlwifi: Don't compile for gcc before 14 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5e0a4859f28ad4869f7a73faf42debc355a370bf Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=5e0a4859f28ad4869f7a73faf42debc355a370bf commit 5e0a4859f28ad4869f7a73faf42debc355a370bf Author: Warner Losh AuthorDate: 2025-09-14 18:03:16 +0000 Commit: Warner Losh CommitDate: 2025-09-15 03:03:45 +0000 iwlwifi: Don't compile for gcc before 14 gcc 13 and earlier don't have __builtin_bitcountg. The linux wifi kpi uses this unconditionally. While in this one use, it might not be needed, I opted to not compile iwlwifi when building gcc12 or 13 rather than risk breaking it for everbody else. With this change gcc12 builds the kernel. Maybe this will stop jenkins email for every commit I make. Sponsored by: Netflix --- sys/modules/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 5315d518afd8..f9fdbca78869 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -576,7 +576,10 @@ _mlx5ib= mlx5ib ${MACHINE_CPUARCH} == "i386" _ena= ena _gve= gve +# gcc13 and earlier lack __builtin_bitcountg used by linux emulation +.if !(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 140000) _iwlwifi= iwlwifi +.endif _rtw88= rtw88 _rtw89= rtw89 _vmware= vmware