thanks, will try your suggestions.
On Fri, 2018-11-09 at 12:26 -0600, Jason L Tibbitts III wrote:
> > > > > "jr" == josef radinger
<cheese(a)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<