On Tuesday, 18 August 2020 17:12:02 CEST Jeff Law wrote:
So we're at a point where the F33 FTBFS issues related to LTO
that I'm aware
of
have been resolved (by opting the package out of LTO). I still expect
some LTO issues will pop up as packages fix things like missing
dependencies, cmake macros, etc. I continue to be available to investigate
potential LTO issues, but package maintainers will need to contact me as
I'm not actively looking for new LTO issues.
My focus is now turning to the packages with LTO opt-outs. I'll be
extracting
bug reports for upstream (primarily GCC), trying simple
workarounds for old style symbol versioning, identifying backports
from
upstream GCC that allow us to remove LTO opt-outs and the like. So there
should be a trickle of opt-outs removed, but otherwise should largely be
invisible to the F33 release process.
I'd like to thank everyone involved for being patient while we worked
through
various issues and I look forward to continuing to make
incremental improvements now that the bulk of the LTO work has
landed.
jeff
I have an issue with both Clementine and Strawberry (a fork of Clementine)
in F33 and above, users reported that disabling LTO fixes the problem.
The package builds but segfaults with:
Thread 1 "clementine" received signal SIGSEGV, Segmentation fault.
0x00007ffff77f7e5b in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
(gdb) bt
#0 0x00007ffff77f7e5b in void doActivate<false>(QObject*, int, void**) () at
/lib64/libQt5Core.so.5
#1 0x00007ffff6984ee2 in QGuiApplication::screenAdded(QScreen*) () at
/lib64/libQt5Gui.so.5
#2 0x00007ffff697523c in QWindowSystemInterface::handleScreenAdded(QPlatformScreen*,
bool) () at /lib64/libQt5Gui.so.5
#3 0x00007fffe3e992b0 in QXcbConnection::initializeScreens() () at
/lib64/libQt5XcbQpa.so.5
#4 0x00007fffe3e74bd0 in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool,
unsigned int, char const*) ()
at /lib64/libQt5XcbQpa.so.5
#5 0x00007fffe3e77853 in QXcbIntegration::QXcbIntegration(QStringList const&,
int&, char**) () at /lib64/libQt5XcbQpa.so.5
#6 0x00007ffff7fc746f in QXcbIntegrationPlugin::create(QString const&, QStringList
const&, int&, char**) ()
at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#7 0x00007ffff697df4b in QPlatformIntegrationFactory::create(QString const&,
QStringList const&, int&, char**, QString const&) ()
at /lib64/libQt5Gui.so.5
#8 0x00007ffff6988690 in QGuiApplicationPrivate::createPlatformIntegration() () at
/lib64/libQt5Gui.so.5
#9 0x00007ffff6989ca0 in QGuiApplicationPrivate::createEventDispatcher() () at
/lib64/libQt5Gui.so.5
#10 0x00007ffff77cff86 in QCoreApplicationPrivate::init() () at /lib64/libQt5Core.so.5
#11 0x00007ffff698c5f4 in QGuiApplicationPrivate::init() () at /lib64/libQt5Gui.so.5
#12 0x00007ffff6f4aef9 in QApplicationPrivate::init() () at /lib64/libQt5Widgets.so.5
#13 0x00007ffff6651fa7 in QtSingleApplication::QtSingleApplication(int&, char**, bool)
()
at /lib64/libQt5Solutions_SingleApplication-2.6.so.1
#14 0x0000555555819db4 in main(int, char**) (argc=<optimized out>,
argv=0x7fffffffe4d8)
at
/usr/src/debug/clementine-1.4.0-2.rc1.20200617gitedb8c3b.fc33.x86_64/src/main.cpp:330
So right at the beginning of the main function and call to QtSingleApplication.
Qtsingleapplication is old code, not touched in 8 years.
Any ideas as to why LTO won't work with these packages?
Best regards,
Robert-André