On Wed, 7 Jun 2017 06:42:21 +0200
Julian Sikorski <belegdol(a)gmail.com> wrote:
Hi list,
I have updated mame packages to 0.186 yesterday. The package built
fine on rawhide [1] and f26 [2], as well as on non-i686 on f25 and
f24. On f25 [3] and f24 [4] i686, the build has failed with the
following message: virtual memory exhausted: Operation not permitted
How much memory do the builders have?
it probably has nothing with the amount of memory in the builder (see
hw_info.log for the details), but rather it exhausts the 32-bit address
space for one process, where there are ~3GB user usable out of the
theoretical 4GB. Likely the sum (*.o) processed by ar is bigger than
the user usable portion. The workaround is usually to decrease the
debuginfo size with eg.
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
Dan