Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1900527

Summary: Qt application crashing due to miscompilation with LTO
Product: [Fedora] Fedora Reporter: Libor Pechacek <lpechacek>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 33CC: adscvr, aoliva, dvlasenk, fweimer, jakub, ngompa13, nickc, rdieter, sipoyare
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1873713    

Description Libor Pechacek 2020-11-23 09:47:54 UTC
OpenOrienteering Mapper (a Qt-based application built with CMake) fails to start on Fedora 33. The issue was tracked down by Mapper developers to be an instance of LTO induced miscompilation that was thoroughly discussed by experts in https://bugreports.qt.io/browse/QTBUG-86173 and https://bugzilla.opensuse.org/show_bug.cgi?id=1175278. The OO Mapper workaround for Fedora is to disable LTO for the moment.

Please revisit your LTO implementation and the toolchain so that Qt applications build correctly again.

Further reading:

binutils upstream report - https://sourceware.org/bugzilla/show_bug.cgi?id=26407

openSUSE report (where the issue was initially analyzed) - https://bugzilla.opensuse.org/show_bug.cgi?id=1175278

Qt upstream report (where the issue was more thoroughly discussed) - https://bugreports.qt.io/browse/QTBUG-86173

Clear Linux report  for Wireshark (identical crash as in Mapper) - https://github.com/clearlinux/distribution/issues/2169

Fedora fix of the same Wireshark bug - https://src.fedoraproject.org/rpms/wireshark/c/e14ec14401ade3c619c14b963b774480d1270b4e

temporary openSUSE fix in libqt5core - https://build.opensuse.org/request/show/845064

likely related Fedora bug report for libqt5core - https://bugzilla.redhat.com/show_bug.cgi?id=1873713