Re: maple_tree.c:3738:1: error: the frame size of 1040 bytes is larger than 1024 bytes

From: Christian Kujau

Date: Thu Dec 04 2025 - 19:55:52 EST


Hi Tiffany,

On Tue, 25 Nov 2025, Tiffany Yang wrote:
> Sorry to resurrect this old thread, but I wanted to reply in case you
> were still thinking about this for whatever reason. I was running into a

Sorry for the late response. And thanks for resurrecting!

> I'm not sure how you set your config initially, but what jumps out at me
> is that CONFIG_STACK_WARN=1024 even though
> CONFIG_64BIT=y. CONFIG_STACK_WARN defaults to 2048 for 64-bit builds,

Interesting. I really did "allnoconfig" and then turned on a few debug
options via "menuconfig", I did not set CONFIG_STACK_WARN manually. Thanks
for spotting this, I'll look into my cross-build routine if something
funny happens there.

> which is why other people don't seem to be running into this issue (at
> least from glancing over the mailing list).
>
> Obviously, this doesn't solve the actual problem, but from Liam's reply
> further up in the thread, it looks like he's working on a fix, so now
> you can keep your eye out for that!

Yes, a proper fix would be great too.

cheers,
Christian.
--
BOFH excuse #416:

We're out of slots on the server