On Thu, Sep 29, 2022 at 9:14 AM Mathieu Malaterre <ma...@debian.org> wrote: > > On Wed, Sep 28, 2022 at 10:06 PM Andreas Tille <andr...@an3as.eu> wrote: > > > > Hi mips porters, > > > > in bug #1017752 a > > > > FTBFS on mipsel: virtual memory exhausted: Cannot allocate memory > > > > is reported. This remains for the new upstream version I've just > > uploaded to experimental[1]. Do you see any chance to fix the memory > > constraint for the autobuilder VM? If not I'll remove mipsel from the > > list of supported architectures to enable testing migration. > > 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
Here is another simpler one: * https://salsa.debian.org/webkit-team/webkit/-/blob/debian/2.38.0-1/debian/rules#L66