Re: mame build OOMs on f24 and f25 i686, succeeds on other arches and branches

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

 



W dniu 07.06.2017 o 08:50, Dan Horák pisze:
> On Wed, 7 Jun 2017 06:42:21 +0200
> Julian Sikorski <belegdol@xxxxxxxxx> 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
Hi,

the build succeeded on i686 on f26 and f27 - could it be that gcc-7 is
more memory-efficient? It also succeeded on armv7hl on all supported
arches. Maybe it is just on the edge of 3 GB...
In any case, I am already at -g1:
RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e "s@-g@-g1@")
Does it make sense to go down further to -g0?

Best regards,
Julian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux