Hi, On Wed, 2016-07-27 at 06:30 +0000, Daniel Knezevic wrote: > Package dune-grid FTBFS on mips and mipsel with following error: > virtual memory exhausted: Cannot allocate memory > > build logs: > https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=mips&ve > r=2.4.1-1&stamp=1466966398 > https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=mipsel& > ver=2.4.1-1&stamp=1456760195 > > 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 dune-grid successfully for > both mips and mipsel.
Thanks for your patch, but I'm not happy with fiddling with GCC internals to get the package to compile. In addition upstream switched to CMake so the patch won't apply as-is to the next release. There is hopefully also a better solution coming upstream: the problematic test is test-yaspgrid.cc which is huge, but there is interest upstream to split it into multiple smaller tests[1]. I guess this would also fix the build failure on mips(el). Ansgar [1] <https://gitlab.dune-project.org/core/dune-grid/merge_requests/3>
signature.asc
Description: This is a digitally signed message part