[opensuse-packaging] Bug in -flto= flags combined with %limit_build -m
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 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
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@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (1)
-
Dave Plater