Source: pmix
Version: 4.2.0~rc2-1
Severity: normal

mipsel has started failing to build pmix 4.2.0. It's running out of
memory building the python extensions:

 creating build/temp.linux-mips-3.10/<<PKGBUILDDIR>>/bindings/python
 mipsel-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 
-Wall -g -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC -fPIC 
-finline-functions -fvisibility=hidden -Wformat -Werror=format-security 
-iquote/<<PKGBUILDDIR>>/debian/static-build -iquote/<<PKGBUILDDIR>> 
-iquote/<<PKGBUILDDIR>>/src -iquote/<<PKGBUILDDIR>>/debian/static-build/include 
-I/<<PKGBUILDDIR>>/include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -fPIC 
-I/<<PKGBUILDDIR>>/debian/static-build/include -I/<<PKGBUILDDIR>>/include 
-I/usr/include/python3.10 -c /<<PKGBUILDDIR>>/bindings/python/pmix.c -o 
build/temp.linux-mips-3.10/<<PKGBUILDDIR>>/bindings/python/pmix.o
 
 cc1: out of memory allocating 65524 bytes after a total of 23920640 bytes
 error: command '/usr/bin/mipsel-linux-gnu-gcc' failed with exit code 1


I've had memory issues in some of my packages, most recently with
dolfinx 0.4.0.  With some discussion on the MIPS mailing list from
https://lists.debian.org/debian-mips/2022/06/msg00000.html we resolved
it mainly with the -mxgot build flag (similar to -mcmodel=medium on
other arches).

-Os -g0 can also help if memory exhaustion happens due to heavily
templated C++ header files but I guess that's not the issue in the case
of pmix.

You might have a a better fix for the problem but -mxgot is my
suggestion!

Reply via email to