Re: freeorion build breaks on armv7hl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "jr" == josef radinger <cheese@xxxxxxxxxxxxxx> 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 mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux