Package: quantlib-swig
Version: 1.8-1
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch

Hello,
Package quantlib-swig FTBFS on mips and mipsel with following error:
virtual memory exhausted: Cannot allocate memory
error: command 'g++' failed with exit status 1

build logs:
https://buildd.debian.org/status/fetch.php?pkg=quantlib-swig&arch=mips&ver=1.8-1&stamp=1464237100
https://buildd.debian.org/status/fetch.php?pkg=quantlib-swig&arch=mipsel&ver=1.8-1&stamp=1464237390

I tried to reduce ggc-min-expand to 20, and with this change package compiles 
for me.

With attached patch I was able to build quantlib-swig successfully for both 
mips and mipsel.

Regards,
Daniel
--- orig/quantlib-swig-1.8/debian/rules	2016-06-23 11:48:51.000000000 +0000
+++ quantlib-swig-1.8/debian/rules	2016-06-23 09:21:51.000000000 +0000
@@ -62,7 +62,7 @@
 ## edd 06 Dec 2014      patch by Dejan Latinovic (see #772028) to add -mxgot
 ifneq "$(findstring $(cpu), mipsel mips)" ""
 #compilerflags   = -O2 -g0 
-compilerflags   = -O0 -g0 -mxgot
+compilerflags   = -O0 -g0 -mxgot --param ggc-min-expand=20
 endif
 
 ## edd 25 Dec 2002  g++-3.2 for s390

Reply via email to