From nobody Tue May 10 23:24:05 2022 X-Original-To: dev-commits-src-all@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 614D81AD7E34; Tue, 10 May 2022 23:24:07 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KyYyZ22tBz4btW; Tue, 10 May 2022 23:24:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652225046; 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=AzGbD28mVFKRk+7RhaYm+OkQKI0v3Vnq+pDEH+M2bgo=; b=fXAjhUd+/WGQMUdqyPNgd2Edr7kiOYOtvgSbg7z6kI0UKfNghzKwAKMJON4FtN30jSe/aB tc8nhPiXlXFaUCXiTckM+Hjxi4QoS89V6lhkElxlSMf41Sdeu4hecQLmI8Ae4lZvyagGIe Ql7yCKtZPQg7cEYSAVuQnrz9slT4Ljvas4HFWldupOxhNu+b0bYVTHmgtMhAI6LfYcOjGH 09emuKzSepRvmEy4HWiz5OLYts/e8TO+JwK3ZQEu1nEul87aCxbTHODrAn45t6GxdfC+Ba OcgCJQMbyGAld9XIq3s1xYwfrZ1/qDvWF8vnocQsuEN81XZ1IhH2ZPd62VRpaA== 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 D75A86CA4; Tue, 10 May 2022 23:24:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24ANO5ES072366; Tue, 10 May 2022 23:24:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24ANO5Zl072365; Tue, 10 May 2022 23:24:05 GMT (envelope-from git) Date: Tue, 10 May 2022 23:24:05 GMT Message-Id: <202205102324.24ANO5Zl072365@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: ed05f8fbeae7 - stable/13 - kernel: Disable errors for -Walloca-larger-than for GCC. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: ed05f8fbeae7eb63cc1e69c40b2a1351d4d42b52 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652225046; 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=AzGbD28mVFKRk+7RhaYm+OkQKI0v3Vnq+pDEH+M2bgo=; b=PL42+pOuvg+k95Q6LETEwlsPu2mPFUDGYwcCpS7Sw4Ow+DLW+4Z7N4fmkuPYlkPEMWCBxF VR8TBrA0K924TcPANBfdZ3B8uzXCxJnmV7ps9pm//sQ/aTT64gYYyMivS1YE/Tn9Kmcbdz QQtxcLx9BBzwNCGxziA7dgT7HoYRIaSmFkqJQA6hcmi/PDhbw/8pn5p7SNzHhmg0H31eKg JZv9FVjHqn6DB8I++qk7XUr9R7TGIeGCUupPF6+bDwrnyKyd2sERddzAhgMB+n2PSYMqGS h1iLNvMA2rff/gFgehyiDISMSL04tyEiIo5ACBNFUFKEnF507XHZYCz1vV0INw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652225046; a=rsa-sha256; cv=none; b=EmmrGY8iUmjFETSmM5vAmooXVmGbuCSQGjeBSwZW+l0RUWXM+8xJrc8AjO2JzZg0Kndi5E NfKF8qgihiJWYNRaPb0o5cfURMPhXwnedScAI4rrVYqCx5T7BY5zq1AojFzGnVi1NM6oVR SPbwy6Bog5XJpRhHJ/Deg2gcRg/HOkOQAK4AiXTVqCt9hlVqf0P7Z7d2SqHYOICL75KY7j GqCD/5WBP3RysxAz7uiHHN5ZDyL4yLSOiGGI/+PCYEiagsD9x5dL6CnIjWOdzOAqIwRCi/ Xbpqt59q8sgNlPFw3DRjGbY6dPnLNTa7rhw4gso0C4PI24itRHCY3aSWJ1v7Bw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ed05f8fbeae7eb63cc1e69c40b2a1351d4d42b52 commit ed05f8fbeae7eb63cc1e69c40b2a1351d4d42b52 Author: John Baldwin AuthorDate: 2021-09-25 18:24:35 +0000 Commit: John Baldwin CommitDate: 2022-05-10 22:51:49 +0000 kernel: Disable errors for -Walloca-larger-than for GCC. GCC complains about the use of alloca() with variable sizes (for XSAVE state len) in sendsig() for i386. Modern XSAVE state is probably getting a bit large for the i386 kstack, but downgrade the error to a warning. Reviewed by: kib, emaste Differential Revision: https://reviews.freebsd.org/D31934 (cherry picked from commit e72c7e2738ca9f5893ba5e5e9dc120dfc82fabfd) --- sys/conf/kern.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 476997bfa01f..34f3447b8572 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -72,7 +72,8 @@ CWARNEXTRA+= -Wno-error=memset-elt-size CWARNEXTRA+= -Wno-error=packed-not-aligned .endif .if ${COMPILER_VERSION} >= 90100 -CWARNEXTRA+= -Wno-address-of-packed-member +CWARNEXTRA+= -Wno-address-of-packed-member \ + -Wno-error=alloca-larger-than= .endif .endif # gcc