-----Original Message----- From: Dave Plater <dplater.list@gmail.com> Sent: 24 July 2019 10:56 To: opensuse-factory@opensuse.org Subject: Re: [opensuse-factory] LTO is enabled in Tumbleweed
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.
One known problem on ARM is http://bugzilla.suse.com/show_bug.cgi?id=1140918 Cheers, Guillaume IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. N�����r��y隊Z)z{.���r�+�맲��r��z�^�ˬz��N�(�֜��^� ޭ隊Z)z{.���r�+��0�����Ǩ�