Bug#1020642: webkit2gtk: FTBFS on mipsel: virtual memory exhausted

Mathieu Malaterre malat at debian.org
Sun Sep 25 09:03:15 BST 2022


On Sat, Sep 24, 2022 at 7:42 PM Simon McVittie <smcv at debian.org> wrote:
> webkit2gtk repeatedly failed to compile on the mipsel buildds:

Here is the trick I used on those arches for openvdb:

[...]
# Disable optimization on mipsel because the compiler is running out of memory
# see #847752 / #879636
ifneq (,$(filter $(DEB_BUILD_ARCH), armel armhf i386 mipsel hppa
riscv64 sh4 x32))
  CXXFLAGS:=$(filter-out -O2,$(CXXFLAGS)) --param ggc-min-expand=10 -O1
endif
[...]

https://salsa.debian.org/multimedia-team/openvdb/-/blob/debian/9.1.0-7/debian/rules#L22-26



More information about the Pkg-webkit-maintainers mailing list