Re: [Buildroot] [PATCH] package: fix builds with $(PKG)_FLAT_STACKSIZE

Fengwei Tan <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <SY8P300MB0041DD7E48EB9FF02AB13414F8A22@SY8P300MB0041.AUSP300.PROD.OUTLOOK.COM>
Hi Thomas,

在 2026/8/22 04:24, Thomas Petazzoni 写道:

>> 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.

Since there is an ongoing discussion about removing noMMU support from
the Linux kernel[1], I do not plan to upstream the HPMicro platform
support there.

However, I will continue to submit any noMMU fixes to Buildroot whenever
I find them.

Thanks for your advice!

Best Regards,
Fengwei Tan

[1] https://lwn.net/Articles/1035727/
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.