[3dprinter-general] Bug#961373: slic3r-prusa FTBFS on armhf: cc1plus: out of memory

Adrian Bunk bunk at debian.org
Sat May 23 19:06:19 BST 2020


Source: slic3r-prusa
Version: 2.2.0+dfsg1-2
Severity: serious
Tags: ftbfs patch

This time it is armhf.

https://buildd.debian.org/status/fetch.php?pkg=slic3r-prusa&arch=armhf&ver=2.2.0%2Bdfsg1-2&stamp=1590129666&raw=0

...
cc1plus: out of memory allocating 9048820 bytes after a total of 77602816 bytes
make[3]: *** [src/libslic3r/CMakeFiles/libslic3r_cgal.dir/build.make:66: src/libslic3r/CMakeFiles/libslic3r_cgal.dir/MeshBoolean.cpp.o] Error 1


Reduce debug info also for all other 32bit architectures:

--- debian/rules.old	2020-05-22 10:28:59.914315778 +0000
+++ debian/rules	2020-05-22 10:32:03.024934364 +0000
@@ -5,6 +5,8 @@
 # less debug info to avoid running out of address space
 ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
 	export DEB_CXXFLAGS_MAINT_APPEND += --param ggc-min-expand=5 -g0
+else ifeq ($(DEB_HOST_ARCH_BITS), 32)
+	export DEB_CXXFLAGS_MAINT_APPEND += -g1
 endif
 
 ifneq (,$(filter $(DEB_HOST_ARCH), i386))



More information about the 3dprinter-general mailing list