On Mon, Jan 12, 2026 at 08:18:23PM +0100, John Paul Adrian Glaubitz wrote:

> After reading through the ReduceBuildMemoryOverhead article [2] on
> the Debian wiki, I discovered the option "-no-integrated-cpp" which
> helps work around the OOM issue above. Together with the "--param
> ggc-min-expand=10" option, the build suceeds:

I think that this is a good idea.

> But since armhf and i386 don't run out of memory, I suggest to use
> the workaorund on hppa, m68k, powerpc and sh4.

armhf and i386 don't run out of memory because they are using clang,
which does not have that problem.

However we need to stop using clang on armhf because the latest
version (clang-21) doesn't build webkit (#1124051) and the version
that we are currently using (clang-19) is going to be removed from
forky (#1124069).

So I think that we can start using gcc on armhf and work around the OOM
problems using these options that you are suggesting.

Jeremy, Emilio, what do you think?

> For sh4, an additional patch is required to disable the musttail
> attribute.

Do you have that patch?

Berto

Reply via email to