hi
i have a problem with building freeorion on armv7hl. the build stops because of exhausted memory ("virtual memory exhausted: Operation not permitted"). reducing %_smp_mflags to -j1 did not help (enough). maybe someone has any idea/solution.
the broken build with default smp_mflags: https://kojipkgs.fedoraproject.org//work/tasks/8543/30728543/build.log the broken build with smp_mflags set to -j1: https://kojipkgs.fedoraproject.org//work/tasks/9032/30759032/build.log
thanks joe
"jr" == josef radinger cheese@nosuchhost.net writes:
jr> i have a problem with building freeorion on armv7hl. the build jr> stops because of exhausted memory ("virtual memory exhausted: jr> Operation not permitted").
So I asked around and all of the 32bit ARM builders have the same configuration (2.5GB RAM, ~2GB swap).
So:
* Try using -g1 instead of -g: %global __global_compiler_flags %__global_compiler_flags -g1
* Try getting the upstream makefile to not force -O3.
* try adding -Wl,--no-keep-memory -Wl,--reduce-memory-overheads to %optflags: %global optflags %optflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
See if any of those help. (Thanks to folks in #fedora-releng for the info here, which I'm just passing on.)
- J<
thanks, will try your suggestions.
On Fri, 2018-11-09 at 12:26 -0600, Jason L Tibbitts III wrote:
"jr" == josef radinger cheese@nosuchhost.net writes:
jr> i have a problem with building freeorion on armv7hl. the build jr> stops because of exhausted memory ("virtual memory exhausted: jr> Operation not permitted").
So I asked around and all of the 32bit ARM builders have the same configuration (2.5GB RAM, ~2GB swap).
So:
Try using -g1 instead of -g: %global __global_compiler_flags %__global_compiler_flags -g1
Try getting the upstream makefile to not force -O3.
try adding -Wl,--no-keep-memory -Wl,--reduce-memory-overheads to %optflags: %global optflags %optflags -Wl,--no-keep-memory -Wl,--reduce-
memory-overheads
See if any of those help. (Thanks to folks in #fedora-releng for the info here, which I'm just passing on.)
- J<
packaging@lists.fedoraproject.org