Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fengwei Tan <tfx2001@outlook.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package: fix builds with $(PKG)_FLAT_STACKSIZE
Date: Fri, 21 Aug 2026 22:24:58 +0200	[thread overview]
Message-ID: <aoizvh0-63Qk71KB@windsurf> (raw)
In-Reply-To: <SY8P300MB0041233A165784A8729859B2F8A32@SY8P300MB0041.AUSP300.PROD.OUTLOOK.COM>

Hello,

On Sat, Aug 22, 2026 at 01:26:13AM +0800, Fengwei Tan wrote:

> Sure. I would be glad to add a test case for this, and I will send it as
> a separate patch.

Excellent, thanks!

> I am working on a fork of Buildroot for HPMicro MCUs:
> https://github.com/hpm-rs/buildroot
> 
> I have ported Linux to a new RISC-V MCU called HPM6750 from HPMicro
> Semiconductor Ltd., and I am adding board support for it to Buildroot.
> 
> I ran into this problem when trying to run FFmpeg on it. Initially, it
> failed with a "stack smashing detected" error. To resolve this, I
> attempted to use FFMPEG_FLAT_STACKSIZE to allocate a larger FLAT stack,
> which led me to discover the build failure caused by this bug.

Nice! To be honest I had never heard of HPMicro, so it's nice to
discover.

Do not hesitate to send patches to add support for your
platform(s). However, for this, we will require that the support for
your platform is also in the upstream Linux kernel: we don't want to
carry dozens/hundreds of platform-specific patches in Buildroot.

But aside from your platform-specific support, do not hesitate to
submit any noMMU fixes you might have, like the one you already
submitted.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-08-21 20:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17 18:17 [Buildroot] [PATCH] package: fix builds with $(PKG)_FLAT_STACKSIZE Fengwei Tan
2026-08-20 19:20 ` Thomas Petazzoni via buildroot
2026-08-21 17:26   ` Fengwei Tan
2026-08-21 20:24     ` Thomas Petazzoni via buildroot [this message]
2026-08-22  9:14       ` Fengwei Tan
2026-08-22  9:23         ` Thomas Petazzoni via buildroot

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=aoizvh0-63Qk71KB@windsurf \
    --to=buildroot@buildroot.org \
    --cc=tfx2001@outlook.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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