Re: Do you see any chance to fix the "virtual memory exhausted" for nheko on mipsel VM

Mathieu Malaterre <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <CA+7wUswwgHU+wdPQ5uDfouSUuCUPU8F-v6nC-QoFdqCKDGYimg@mail.gmail.com>
On Wed, Sep 28, 2022 at 10:06 PM Andreas Tille <[email protected]> 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
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.