On 22/07/2019 13:31, Martin Liška wrote:
On 7/17/19 12:25 PM, Michael Ströder wrote:
On 7/17/19 10:22 AM, Martin Liška wrote:
I'm happy to announce that latest ([1]) Tumbleweed release is a first snapshot that uses LTO by default.
I see some issue with pdns-recursor 4.1.13 getting restarted by systemd all the time due to seg fault. Starting directly on the command-line also leads to seg fault. IIRC this used to work before snapshot 20190713.
Can you please create a bugzilla issue for it?
Installing pdns-recursor 4.2.0 from devel project server:dns fixed it.
Now for tracking down whether it's related to LTO or not:
- Is LTO also enabled on all devel projects?
- Should I try to build the pdns-recursor 4.1.13 with %define _lto_cflags %{nil} ?
That does not work for some reason. It looks the package inherits somehow $optflags from a different package.
Martin
Ciao, Michael.
Before somebody pointed me to the wiki, I used sed to kill -flto= in the optflags: #Isolate number of threads %define tds %(rpm --eval %_smp_mflags|cut -b3) and #optflags filter out -flt= flag CXXFLAGS="`echo $CXXFLAGS|sed -- 's/-flto=%{tds}//'`" %define optflags $CXXFLAGS I've just tried the %define _lto_cflags %{nil} in the build section of jack and it works for me. Jack is also segfaulting with LTO see: https://bugzilla.suse.com/show_bug.cgi?id=1141762 LTO also appears to give build failure to ARM builds. Regards Dave P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org