Mailinglist Archive: opensuse-packaging (31 mails)

< Previous Next >
[opensuse-packaging] Re: Bug in -flto= flags combined with %limit_build -m


On 22/09/2019 11:21, Dave Plater wrote:
Hi, where do I report a bug in the macro that creates the value for -flto=n which is greater than the reduced number of threads created by %limit_build -m n causing link time crashes in gcc.
Thanks
Dave P
As a work around, I've used:
%limit_build -m 3000
%define _lto_cflags -flto=%(rpm --eval %_smp_mflags|cut -b 3)
which seems to give the correct value to -flto=
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
References