it  "failed to build", but in the link they say it ran out of virtual
memory on their MIPS architecture build.

i would guess what happened is that gcc on their build machine ran out
of memory, on the file cgalutils.cc  . It is actually pretty normal to
have memory issues when building OpenSCAD on the files that use CGAL
intensively.

That is because CGAL (geometry library, www.cgal.org ) is a massive c++
template library which can use at least 1 Gigabytes of ram, during
compile time (not run time), for some of its functionality, depending on
optimizations and debug symbol options on the compiler. it can go higher
with various extra options added to the compiler switches, like -O2 -g.

Here is the log showing they crashed at cgalutils.cc:

https://buildd.debian.org/status/fetch.php?pkg=openscad&arch=mips&ver=2015.03-2%2Bdfsg-2%2Bb3&stamp=1516824703&raw=0

What they also did was to use parallell make. You can see they have
'make -j4' right there on the log. So they were trying to build multiple
files at once, alongside the massive CGAL file. That is going to also
use more memory than necessary.

Also it seems to be using gcc... clang uses a lot less memory than gcc.

i am trying to figure out how  much ram + swap they would have had on
their mips build machine, but i am not sure how to figure that out.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1766555

Title:
  openscad package missing from 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openscad/+bug/1766555/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to