Hi,

I'd like to re-compile my icinga2 package with the new oi-userland gcc6
behaviour; secret masterplan was to finally prepare the pull request.
With the gcc-4.9 version of oi-userland I got a working package.

But using gcc-6 the package does not longer compile successfully; it
stops with the following error message:
[ 63%] Built target icinga-app

cc1plus: out of memory allocating 2727788 bytes after a total of 85975040 bytes
make[3]: *** 
[lib/icinga/CMakeFiles/icinga.dir/build.make:320:lib/icinga/CMakeFiles/icinga.dir/icinga_unity.cpp.o]
 Error 1
make[3]: Leaving directory 
'/scratch/oi-userland/components/sysutils/icinga2/build/amd64'
make[2]: *** [CMakeFiles/Makefile2:1656: lib/icinga/CMakeFiles/icinga.dir/all] 
Error 2
make[2]: Leaving directory 
'/scratch/oi-userland/components/sysutils/icinga2/build/amd64'
make[1]: *** [Makefile:163: all] Error 2 make[1]: Leaving directory 
'/scratch/oi-userland/components/sysutils/icinga2/build/amd64' gmake: *** 
[/scratch/oi-userland/make-rules/cmake.mk:167: 
/scratch/oi-userland/components/sysutils/icinga2/build/amd64/.built] Error 2

So what to do next? The host has 24GB RAM, 16 of them are available. No
strange ulimit settings as far as I can see - in fact it is a freshly
installed Hipster, no big changes made.

Any help or idea would be great :)

Thanks a lot,
  Marianne


-- 
"There's nothing wrong with having a tree as a friend."
- Bob Ross

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to