From nobody Fri Oct 17 06:50:58 2025 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 4cnwSz08M0z6ClRp; Fri, 17 Oct 2025 06:50:59 +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 4cnwSy6Y12z3cfH; Fri, 17 Oct 2025 06:50:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760683859; 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=1m/sJ7BlrV4/sAyCVQpVjBvOiEB8/1cJMkJ9EEGjacw=; b=dCxpqszGY7Agl8EkIZ8lp+inx5S88W9Pht7f73JDIucxUlbddM0JzDfRfNX6p45ct5X9dc wyUAZ1lUUxoogy8VFixn2ebwO5T//CRwWMcVMemoqXpV7fBW7vY39w9HcqEbRbm7UKUyZ4 Cs5phdQ1XruqGtYVqIok//O2yBYtrzshJ8SfrZwIV9xO1R1gZ3M8DfVZ0PEE3Z/WhvxD1c ld0GCEW24J852QQJa9VlwQiTsncA85KwwTs58AM90C0CvWQ2ralJIr/fQEUtSSIx7kD1+j WWr5JaFfLHUuZ6PrQI5boe+/MCrHG9bhZ9snQXG0AbKk1NrRgp+KG+VSo6TMPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760683859; 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=1m/sJ7BlrV4/sAyCVQpVjBvOiEB8/1cJMkJ9EEGjacw=; b=PZBGTWL94BGlgPfpD+YMY/34BkHbJ4Jeg7InB9Fg2lJEozcJozEVrA3zJc3DNtex6hs+2Q LO9wsJ/vRQGLXYWJ87TbtY4JEUqRaFZyevAjPCSq1DGZoSTm28Ks1BB8GybVgGNW9i9ONq qPCcD+GLkzLEB3aKwXvlqLqeBaGw4gsWfIOLtSfX2FJr+pONuC/U5ccj1PtlbvNlY6O5cm j24vLaswndzNPuTqh5Bs66/X51hT5T9GoAF+YurxmWU5GSe/e6gviSPD8M2LuYPakxg8kA 7VkdSXgIlK7l6dbmXbkWJaGYQ4g78DJUhGDluG5xeZFVotTkC5uAGhMOUg9MGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760683859; a=rsa-sha256; cv=none; b=J79ktaJz8vT31578fvN5vx4JkrMP/n40/RhfP46sCvE/DdFFaZtvgfzAJnRYQGl4mKDUAX uyVG40v5PhGN5LeDg+NLkQX92dlEfvmg3lrCbdddPmHjMlACaDw64qSoWXOfXgd8G8jq85 /rpBW7IUL668EkiYzLk8nrUyXb/0i1/NeCrZtDDfs2i1VtIu+LcyyyezPIN/Tjzkj4Q2Js GBjydjo5xaPFdz/AyCJB+emclcNeV6U/2g7VHRoqPeLBP0HHGstnnPf0Bd9ABUI1CvZ9uF /ciLmzdiC/zh/zlBSBpk7EDz3Nz63Rf2eixjkR+JczG5F6y/FsgEIKfunsK3ew== 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 4cnwSy5yMmzkpR; Fri, 17 Oct 2025 06:50:58 +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 59H6owg8035092; Fri, 17 Oct 2025 06:50:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59H6owhB035089; Fri, 17 Oct 2025 06:50:58 GMT (envelope-from git) Date: Fri, 17 Oct 2025 06:50:58 GMT Message-Id: <202510170650.59H6owhB035089@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ryan Libby Subject: git: c2fa94ad0868 - main - stand/i386: quiet gcc -Warray-bounds 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rlibby X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c2fa94ad0868378c420237d842308156d9133519 Auto-Submitted: auto-generated The branch main has been updated by rlibby: URL: https://cgit.FreeBSD.org/src/commit/?id=c2fa94ad0868378c420237d842308156d9133519 commit c2fa94ad0868378c420237d842308156d9133519 Author: Ryan Libby AuthorDate: 2025-10-17 06:49:22 +0000 Commit: Ryan Libby CommitDate: 2025-10-17 06:49:22 +0000 stand/i386: quiet gcc -Warray-bounds GCC has started to warn about memory accesses under address 0x1000. Tweak it to 0x400 for stand/i386 to avoid warnings for access to BIOS data area memory and above but still retain most of the warning value. Reviewed by: dab, imp Differential Revision: https://reviews.freebsd.org/D53036 --- stand/i386/boot2/Makefile | 3 ++- stand/i386/gptboot/Makefile | 3 ++- stand/i386/gptzfsboot/Makefile | 3 ++- stand/i386/isoboot/Makefile | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/stand/i386/boot2/Makefile b/stand/i386/boot2/Makefile index 313bb8030f3e..94dbd7af29d6 100644 --- a/stand/i386/boot2/Makefile +++ b/stand/i386/boot2/Makefile @@ -33,7 +33,8 @@ CFLAGS+=-fomit-frame-pointer \ CFLAGS.gcc+= -Os \ -fno-asynchronous-unwind-tables \ - --param max-inline-insns-single=100 + --param max-inline-insns-single=100 \ + --param min-pagesize=1024 CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} diff --git a/stand/i386/gptboot/Makefile b/stand/i386/gptboot/Makefile index a829be6c745d..366d82497819 100644 --- a/stand/i386/gptboot/Makefile +++ b/stand/i386/gptboot/Makefile @@ -34,7 +34,8 @@ CFLAGS+=-DBOOTPROG=\"gptboot\" \ -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \ -Wno-pointer-sign -CFLAGS.gcc+= --param max-inline-insns-single=100 +CFLAGS.gcc+= --param max-inline-insns-single=100 \ + --param min-pagesize=1024 LD_FLAGS+=${LD_FLAGS_BIN} diff --git a/stand/i386/gptzfsboot/Makefile b/stand/i386/gptzfsboot/Makefile index 0b67ff8cdaf4..ebdd4958c5f2 100644 --- a/stand/i386/gptzfsboot/Makefile +++ b/stand/i386/gptzfsboot/Makefile @@ -46,7 +46,8 @@ CFLAGS.clang+= -Wno-tentative-definition-incomplete-type NO_WCAST_ALIGN= -CFLAGS.gcc+= --param max-inline-insns-single=100 +CFLAGS.gcc+= --param max-inline-insns-single=100 \ + --param min-pagesize=1024 LD_FLAGS+=${LD_FLAGS_BIN} diff --git a/stand/i386/isoboot/Makefile b/stand/i386/isoboot/Makefile index 0049e7fd3e0a..bf22e0f21d59 100644 --- a/stand/i386/isoboot/Makefile +++ b/stand/i386/isoboot/Makefile @@ -29,7 +29,8 @@ CFLAGS+=-DBOOTPROG=\"isoboot\" \ -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \ -Wno-pointer-sign -CFLAGS.gcc+= --param max-inline-insns-single=100 +CFLAGS.gcc+= --param max-inline-insns-single=100 \ + --param min-pagesize=1024 CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} LD_FLAGS+=${LD_FLAGS_BIN}