Linux bcache driver list
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Naresh Kamboju" <naresh.kamboju@linaro.org>,
	"Kent Overstreet" <kent.overstreet@linux.dev>
Cc: linux-bcache@vger.kernel.org,
	"open list" <linux-kernel@vger.kernel.org>,
	lkft-triage@lists.linaro.org,
	"Linux Regressions" <regressions@lists.linux.dev>,
	"Dan Carpenter" <dan.carpenter@linaro.org>,
	"Anders Roxell" <anders.roxell@linaro.org>
Subject: Re: riscv gcc-13 allyesconfig error the frame size of 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
Date: Fri, 23 May 2025 15:49:54 +0200	[thread overview]
Message-ID: <6247de76-d1f5-4357-83bd-4dd9268f44aa@app.fastmail.com> (raw)
In-Reply-To: <CA+G9fYsjBXvm9NNKRbVo_7heX1537K8yOjH7OaSEQhGRmkLvgA@mail.gmail.com>

On Fri, May 23, 2025, at 15:19, Naresh Kamboju wrote:
> On Thu, 22 May 2025 at 22:18, Kent Overstreet <kent.overstreet@linux.dev> wrote:
>>
>> On Thu, May 22, 2025 at 06:59:53PM +0530, Naresh Kamboju wrote:
>> > Regressions on riscv allyesconfig build failed with gcc-13 on the Linux next
>> > tag next-20250516 and next-20250522.
>> >
>> > First seen on the next-20250516
>> >  Good: next-20250515
>> >  Bad:  next-20250516
>> >
>> > Regressions found on riscv:
>> >  - build/gcc-13-allyesconfig
>> >
>> > Regression Analysis:
>> >  - New regression? Yes
>> >  - Reproducible? Yes
>> >
>> > Build regression: riscv gcc-13 allyesconfig error the frame size of
>> > 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
>>
>> Is this a kmsan build? kmsan seems to inflate stack usage by quite a
>> lot.

KMSAN is currently a clang-only feature.

> This is allyesconfig build which has KASAN builds.
>
> CONFIG_HAVE_ARCH_KASAN=y
> CONFIG_HAVE_ARCH_KASAN_VMALLOC=y
> CONFIG_CC_HAS_KASAN_GENERIC=y
> CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
> CONFIG_KASAN=y
> CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX=y
> CONFIG_KASAN_GENERIC=y
> # CONFIG_KASAN_OUTLINE is not set
> CONFIG_KASAN_INLINE=y
> CONFIG_KASAN_STACK=y

I reproduced the problem locally and found this to go down to
1440 bytes after I turn off KASAN_STACK. next-20250523 has
some changes that take the number down further to 1136 with
KASAN_STACK and or 1552 with KASAN_STACK.

I've turned bcachefs with kasan-stack on for my randconfig
builds again to see if there are any remaining corner cases.

     Arnd

  reply	other threads:[~2025-05-23 13:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-22 13:29 riscv gcc-13 allyesconfig error the frame size of 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] Naresh Kamboju
2025-05-22 16:48 ` Kent Overstreet
2025-05-23 13:19   ` Naresh Kamboju
2025-05-23 13:49     ` Arnd Bergmann [this message]
2025-05-23 14:08       ` Kent Overstreet
2025-05-23 15:17         ` Arnd Bergmann
2025-05-23 17:11           ` Kent Overstreet
2025-05-23 18:01             ` Arnd Bergmann
2025-05-25 17:18               ` David Laight
2025-05-25 17:36                 ` Kent Overstreet
2025-05-25 17:47                   ` David Laight
2025-05-25 18:10                     ` Kent Overstreet
2025-05-25 19:25                   ` Steven Rostedt
2025-05-25 20:04                     ` Kent Overstreet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6247de76-d1f5-4357-83bd-4dd9268f44aa@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=anders.roxell@linaro.org \
    --cc=dan.carpenter@linaro.org \
    --cc=kent.overstreet@linux.dev \
    --cc=linux-bcache@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkft-triage@lists.linaro.org \
    --cc=naresh.kamboju@linaro.org \
    --cc=regressions@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox