Adam C Powell IV wrote:
There's something wrong here, either a g++ bug or a package bug. I don't see how a 58K .cpp file is taking that much memory to compile, when nothing else in the package seemed to take more than 30-40 MB.
It often depends on the optimisation settings, or the use of templated code. I suggest you try the compile with -O0 for that one file... there are a few other packages with similar issues that had to be fixed that way.