Bug#832575: dune-grid FTBFS on mips, mipsel (virtual memory exhausted)

Ansgar Burchardt Ansgar.Burchardt at tu-dresden.de
Wed Jul 27 07:35:35 UTC 2016


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160727/16576ac0/attachment.sig>


More information about the debian-science-maintainers mailing list