Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107579

qtwayland 5.15.6: issue on linking (missing symbols)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.15.6
    • Build System
    • None
    • Linux x86/64, All packages build with enabled LTO.
      I'm not sure what more Iand deliver from point of view details enough to identify cause of the issue.

    Description

      I've tested dist tar ball and dist + all patches from kde/5.15 branch anf in both cases linking fails

      [tkloczko@devel-g2v x86_64-redhat-linux-gnu]$ make -k
      cd src/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/src.pro 'QMAKE_AR=/usr/bin/gcc-ar cqs' QMAKE_CC=/usr/bin/gcc 'QMAKE_CFLAGS_DEBUG=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' 'QMAKE_CFLAGS_RELEASE=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' QMAKE_CXX=/usr/bin/g++ 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-exceptions -fno-rtti' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-exceptions -fno-rtti' 'QMAKE_LFLAGS_DEBUG=-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1' 'QMAKE_LFLAGS_RELEASE=-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1' QMAKE_RANLIB=/usr/bin/gcc-ranlib QMAKE_STRIP= ) && make -f Makefile
      make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/x86_64-redhat-linux-gnu/src'
      cd qtwaylandscanner/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/qtwaylandscanner/qtwaylandscanner.pro 'QMAKE_AR=/usr/bin/gcc-ar cqs' QMAKE_CC=/usr/bin/gcc 'QMAKE_CFLAGS_DEBUG=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' 'QMAKE_CFLAGS_RELEASE=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' QMAKE_CXX=/usr/bin/g++ 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-exceptions -fno-rtti' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-exceptions -fno-rtti' 'QMAKE_LFLAGS_DEBUG=-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1' 'QMAKE_LFLAGS_RELEASE=-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1' QMAKE_RANLIB=/usr/bin/gcc-ranlib QMAKE_STRIP= ) && make -f Makefile
      make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/x86_64-redhat-linux-gnu/src/qtwaylandscanner'
      make[2]: Nothing to be done for 'first'.
      make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/x86_64-redhat-linux-gnu/src/qtwaylandscanner'
      cd client/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/client.pro 'QMAKE_AR=/usr/bin/gcc-ar cqs' QMAKE_CC=/usr/bin/gcc 'QMAKE_CFLAGS_DEBUG=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' 'QMAKE_CFLAGS_RELEASE=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' QMAKE_CXX=/usr/bin/g++ 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-exceptions -fno-rtti' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-exceptions -fno-rtti' 'QMAKE_LFLAGS_DEBUG=-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1' 'QMAKE_LFLAGS_RELEASE=-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1' QMAKE_RANLIB=/usr/bin/gcc-ranlib QMAKE_STRIP= ) && make -f Makefile
      make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/x86_64-redhat-linux-gnu/src/client'
      rm -f libQt5WaylandClient.so.5.15.6 libQt5WaylandClient.so libQt5WaylandClient.so.5 libQt5WaylandClient.so.5.15
      g++ -Wl,--no-undefined -Wl,--version-script,QtWaylandClient.version -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,--enable-new-dtags -shared -Wl,-soname,libQt5WaylandClient.so.5 -o libQt5WaylandClient.so.5.15.6 .obj/qwaylandintegration.o .obj/qwaylandnativeinterface.o .obj/qwaylandshmbackingstore.o .obj/qwaylandinputdevice.o .obj/qwaylanddisplay.o .obj/qwaylandwindow.o .obj/qwaylandscreen.o .obj/qwaylandshmwindow.o .obj/qwaylandshellsurface.o .obj/qwaylandextendedsurface.o .obj/qwaylandsubsurface.o .obj/qwaylandsurface.o .obj/qwaylandtabletv2.o .obj/qwaylandtouch.o .obj/qwaylandqtkey.o .obj/qwaylandmimehelper.o .obj/qwaylandinputmethodeventbuilder.o .obj/qwaylandabstractdecoration.o .obj/qwaylanddecorationfactory.o .obj/qwaylanddecorationplugin.o .obj/qwaylandwindowmanagerintegration.o .obj/qwaylandinputcontext.o .obj/qwaylandshm.o .obj/qwaylandbuffer.o .obj/qwaylandclipboard.o .obj/qwaylandclientbufferintegration.o .obj/qwaylandclientbufferintegrationplugin.o .obj/qwaylandclientbufferintegrationfactory.o .obj/qwaylandserverbufferintegration.o .obj/qwaylandserverbufferintegrationplugin.o .obj/qwaylandserverbufferintegrationfactory.o .obj/qwaylandhardwareintegration.o .obj/qwaylandshellintegrationplugin.o .obj/qwaylandshellintegrationfactory.o .obj/qwaylandinputdeviceintegrationplugin.o .obj/qwaylandinputdeviceintegrationfactory.o .obj/qwaylandclientextension.o .obj/qwaylandvulkaninstance.o .obj/qwaylandvulkanwindow.o .obj/qwaylandcursor.o .obj/qwaylanddatadevice.o .obj/qwaylanddatadevicemanager.o .obj/qwaylanddataoffer.o .obj/qwaylanddatasource.o .obj/qwaylandprimaryselectionv1.o .obj/qwaylanddnd.o .obj/wayland-surface-extension-protocol.o .obj/wayland-touch-extension-protocol.o .obj/wayland-qt-key-unstable-v1-protocol.o .obj/wayland-qt-windowmanager-protocol.o .obj/wayland-wp-primary-selection-unstable-v1-protocol.o .obj/wayland-tablet-unstable-v2-protocol.o .obj/wayland-text-input-unstable-v2-protocol.o .obj/wayland-xdg-output-unstable-v1-protocol.o .obj/wayland-wayland-protocol.o .obj/wayland-server-buffer-extension-protocol.o .obj/wayland-hardware-integration-protocol.o .obj/qwayland-surface-extension.o .obj/qwayland-touch-extension.o .obj/qwayland-qt-key-unstable-v1.o .obj/qwayland-qt-windowmanager.o .obj/qwayland-wp-primary-selection-unstable-v1.o .obj/qwayland-tablet-unstable-v2.o .obj/qwayland-text-input-unstable-v2.o .obj/qwayland-xdg-output-unstable-v1.o .obj/qwayland-wayland.o .obj/qwayland-server-buffer-extension.o .obj/qwayland-hardware-integration.o .obj/moc_qwaylanddisplay_p.o .obj/moc_qwaylandwindow_p.o .obj/moc_qwaylandinputdevice_p.o .obj/moc_qwaylandshellsurface_p.o .obj/moc_qwaylandsurface_p.o .obj/moc_qwaylandtabletv2_p.o .obj/moc_qwaylandabstractdecoration_p.o .obj/moc_qwaylanddecorationplugin_p.o .obj/moc_qwaylandwindowmanagerintegration_p.o .obj/moc_qwaylandinputcontext_p.o .obj/moc_qwaylandclientbufferintegrationplugin_p.o .obj/moc_qwaylandserverbufferintegrationplugin_p.o .obj/moc_qwaylandshellintegrationplugin_p.o .obj/moc_qwaylandinputdeviceintegrationplugin_p.o .obj/moc_qwaylandclientextension.o .obj/moc_qwaylanddatadevice_p.o .obj/moc_qwaylanddatasource_p.o .obj/moc_qwaylandprimaryselectionv1_p.o  /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Core.so -lpthread -lwayland-cursor -lwayland-client /usr/lib64/libQt5FontDatabaseSupport.a -lfontconfig -lfreetype -lz /usr/lib64/libQt5EventDispatcherSupport.a -lgthread-2.0 -lglib-2.0 /usr/lib64/libQt5ThemeSupport.a /usr/lib64/libQt5VulkanSupport.a /usr/lib64/libQt5LinuxAccessibilitySupport.a /usr/lib64/libQt5AccessibilitySupport.a /usr/lib64/libQt5ServiceSupport.a /usr/lib64/libQt5XkbCommonSupport.a -lpthread /usr/lib64/libQt5Gui.so /usr/lib64/libQt5DBus.so /usr/lib64/libQt5Core.so -lGL -lxkbcommon
      ../../include/QtWaylandClient/5.15.6/QtWaylandClient/private/../../../../../src/client/wayland-wayland-client-protocol.h:1430:6: warning: type ‘wl_shm_format’ violates the C++ One Definition Rule [-Wodr]
       1430 | enum wl_shm_format {
            |      ^
      /usr/include/wayland-client-protocol.h:1459:6: note: an enum with different number of values is defined in another translation unit
       1459 | enum wl_shm_format {
            |      ^
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandIntegration::themeNames() const':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandintegration.cpp:286: undefined reference to `QGenericUnixTheme::themeNames()'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandIntegration::accessibility() const':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandintegration.cpp:250: undefined reference to `QSpiAccessibleBridge::QSpiAccessibleBridge()'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandVulkanInstance::~QWaylandVulkanInstance()':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandvulkaninstance.cpp:55: undefined reference to `QBasicPlatformVulkanInstance::~QBasicPlatformVulkanInstance()'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandIntegration::createPlatformVulkanInstance(QVulkanInstance*) const':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandvulkaninstance.cpp:50: undefined reference to `QBasicPlatformVulkanInstance::QBasicPlatformVulkanInstance()'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandvulkaninstance.cpp:52: undefined reference to `QBasicPlatformVulkanInstance::loadVulkanLibrary(QString const&)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandTextInput::zwp_text_input_v2_keysym(unsigned int, unsigned int, unsigned int, unsigned int)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandinputcontext.cpp:336: undefined reference to `QXkbCommon::lookupStringNoKeysymTransformations(unsigned int)'
      /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandinputcontext.cpp:337: undefined reference to `QXkbCommon::keysymToQtKey(unsigned int, QFlags<Qt::KeyboardModifier>)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandVulkanInstance::createOrAdoptInstance()':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandvulkaninstance.cpp:61: undefined reference to `QBasicPlatformVulkanInstance::initInstance(QVulkanInstance*, QList<QByteArray> const&)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandIntegration::reconfigureInputContext()':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandintegration.cpp:488: undefined reference to `QXkbCommon::setXkbContext(QPlatformInputContext*, xkb_context*)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandInputDevice::possibleKeys(QKeyEvent const*) const':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandinputdevice.cpp:571: undefined reference to `QXkbCommon::possibleKeys(xkb_state*, QKeyEvent const*, bool, bool)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandInputDevice::Keyboard::modifiers() const':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandinputdevice.cpp:594: undefined reference to `QXkbCommon::modifiers(xkb_state*)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandWindowManagerIntegration::QWaylandWindowManagerIntegration(QtWaylandClient::QWaylandDisplay*)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandwindowmanagerintegration.cpp:76: undefined reference to `QGenericUnixServices::QGenericUnixServices()'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandIntegration::QWaylandIntegration()':
      /usr/include/qt5/QtFontDatabaseSupport/5.15.6/QtFontDatabaseSupport/private/qfontconfigdatabase_p.h:61: undefined reference to `vtable for QFontconfigDatabase'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandIntegration::createEventDispatcher() const':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandintegration.cpp:190: undefined reference to `QtGenericUnixDispatcher::createUnixEventDispatcher()'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandIntegration::createPlatformTheme(QString const&) const':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandintegration.cpp:291: undefined reference to `QGenericUnixTheme::createUnixTheme(QString const&)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandVulkanInstance::~QWaylandVulkanInstance()':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandvulkaninstance.cpp:55: undefined reference to `QBasicPlatformVulkanInstance::~QBasicPlatformVulkanInstance()'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `non-virtual thunk to QtWaylandClient::QWaylandWindowManagerIntegration::openUrl(QUrl const&)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandwindowmanagerintegration_p.h:79: undefined reference to `QGenericUnixServices::openUrl(QUrl const&)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `non-virtual thunk to QtWaylandClient::QWaylandWindowManagerIntegration::openDocument(QUrl const&)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandwindowmanagerintegration_p.h:80: undefined reference to `QGenericUnixServices::openDocument(QUrl const&)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandWindowManagerIntegration::~QWaylandWindowManagerIntegration()':
      /usr/include/qt5/QtServiceSupport/5.15.6/QtServiceSupport/private/qgenericunixservices_p.h:59: undefined reference to `vtable for QGenericUnixServices'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandInputDevice::Keyboard::keyboard_keymap(unsigned int, int, unsigned int)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandinputdevice.cpp:1140: undefined reference to `QXkbCommon::verifyHasLatinLayout(xkb_keymap*)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandWindowManagerIntegration::openUrl(QUrl const&)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandwindowmanagerintegration.cpp:133: undefined reference to `QGenericUnixServices::openUrl(QUrl const&)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandWindowManagerIntegration::openDocument(QUrl const&)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandwindowmanagerintegration.cpp:142: undefined reference to `QGenericUnixServices::openDocument(QUrl const&)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandInputDevice::Keyboard::keyboard_key(unsigned int, unsigned int, unsigned int, unsigned int)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandinputdevice.cpp:1259: undefined reference to `QXkbCommon::keysymToQtKey(unsigned int, QFlags<Qt::KeyboardModifier>, xkb_state*, unsigned int, bool, bool)'
      /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandinputdevice.cpp:1260: undefined reference to `QXkbCommon::lookupString(xkb_state*, unsigned int)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o: in function `QtWaylandClient::QWaylandVulkanWindow::~QWaylandVulkanWindow()':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/client/qwaylandvulkanwindow.cpp:56: undefined reference to `QBasicPlatformVulkanInstance::destroySurface(VkSurfaceKHR_T*) const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x9b0): undefined reference to `QGenericUnixServices::desktopEnvironment() const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x9b8): undefined reference to `QGenericUnixServices::hasCapability(QPlatformServices::Capability) const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x9c0): undefined reference to `QGenericUnixServices::colorPicker(QWindow*)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x9c8): undefined reference to `QGenericUnixServices::portalWindowIdentifier(QWindow*)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e38): undefined reference to `QBasicPlatformVulkanInstance::supportedLayers() const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e40): undefined reference to `QBasicPlatformVulkanInstance::supportedExtensions() const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e50): undefined reference to `QBasicPlatformVulkanInstance::isValid() const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e58): undefined reference to `QBasicPlatformVulkanInstance::errorCode() const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e60): undefined reference to `QBasicPlatformVulkanInstance::vkInstance() const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e68): undefined reference to `QBasicPlatformVulkanInstance::enabledLayers() const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e70): undefined reference to `QBasicPlatformVulkanInstance::enabledExtensions() const'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e78): undefined reference to `QBasicPlatformVulkanInstance::getInstanceProcAddr(char const*)'
      /usr/bin/ld: /tmp/cc4zG79A.lto.o:(.data.rel.ro+0x2e98): undefined reference to `QBasicPlatformVulkanInstance::setDebugFilters(QVector<bool (*)(unsigned int, VkDebugReportObjectTypeEXT, unsigned long, unsigned long, int, char const*, char const*)> const&)'
      collect2: error: ld returned 1 exit status
      make[2]: *** [Makefile:373: ../../lib/libQt5WaylandClient.so.5.15.6] Error 1
      make[2]: Target 'first' not remade because of errors.
      make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/x86_64-redhat-linux-gnu/src/client'
      make[1]: *** [Makefile:76: sub-client-make_first] Error 2
      cd compositor/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/compositor/compositor.pro 'QMAKE_AR=/usr/bin/gcc-ar cqs' QMAKE_CC=/usr/bin/gcc 'QMAKE_CFLAGS_DEBUG=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' 'QMAKE_CFLAGS_RELEASE=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' QMAKE_CXX=/usr/bin/g++ 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-exceptions -fno-rtti' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-exceptions -fno-rtti' 'QMAKE_LFLAGS_DEBUG=-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1' 'QMAKE_LFLAGS_RELEASE=-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1' QMAKE_RANLIB=/usr/bin/gcc-ranlib QMAKE_STRIP= ) && make -f Makefile
      make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/x86_64-redhat-linux-gnu/src/compositor'
      rm -f libQt5WaylandCompositor.so.5.15.6 libQt5WaylandCompositor.so libQt5WaylandCompositor.so.5 libQt5WaylandCompositor.so.5.15
      g++ -Wl,--no-undefined -Wl,--version-script,QtWaylandCompositor.version -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,--enable-new-dtags -shared -Wl,-soname,libQt5WaylandCompositor.so.5 -o libQt5WaylandCompositor.so.5.15.6 .obj/qwaylandmimehelper.o .obj/qwaylandinputmethodeventbuilder.o .obj/qwaylandcompositorextension.o .obj/qwlbuffermanager.o .obj/qwlclientbuffer.o .obj/qwlregion.o .obj/qwldatadevice.o .obj/qwldatadevicemanager.o .obj/qwldataoffer.o .obj/qwldatasource.o .obj/qwlclientbufferintegration.o .obj/qwlclientbufferintegrationfactory.o .obj/qwlclientbufferintegrationplugin.o .obj/qwlserverbufferintegration.o .obj/qwlserverbufferintegrationfactory.o .obj/qwlserverbufferintegrationplugin.o .obj/qwlhwintegration.o .obj/qwlhardwarelayerintegration.o .obj/qwlhardwarelayerintegrationfactory.o .obj/qwlhardwarelayerintegrationplugin.o .obj/qwaylandcompositor.o .obj/qwaylandclient.o .obj/qwaylandsurface.o .obj/qwaylandseat.o .obj/qwaylandkeyboard.o .obj/qwaylandkeymap.o .obj/qwaylandpointer.o .obj/qwaylandtouch.o .obj/qwaylandoutput.o .obj/qwaylandoutputmode.o .obj/qwaylandbufferref.o .obj/qwaylanddestroylistener.o .obj/qwaylandview.o .obj/qwaylandresource.o .obj/qwaylandsurfacegrabber.o .obj/qwaylandinputmethodcontrol.o .obj/qwaylanddrag.o .obj/qwaylandquickcompositor.o .obj/qwaylandquicksurface.o .obj/qwaylandquickoutput.o .obj/qwaylandquickitem.o .obj/qwaylandquickhardwarelayer.o .obj/qwlqttouch.o .obj/qwlqtkey.o .obj/qwaylandshell.o .obj/qwaylandwlshell.o .obj/qwaylandtextinput.o .obj/qwaylandtextinputmanager.o .obj/qwaylandqtwindowmanager.o .obj/qwaylandviewporter.o .obj/qwaylandwlscaler.o .obj/qwaylandxdgshellv5.o .obj/qwaylandxdgshellv6.o .obj/qwaylandxdgshell.o .obj/qwaylandxdgdecorationv1.o .obj/qwaylandxdgoutputv1.o .obj/qwaylandshellsurface.o .obj/qwaylandidleinhibitv1.o .obj/qwaylandiviapplication.o .obj/qwaylandivisurface.o .obj/qwaylandquickshellintegration.o .obj/qwaylandquickshellsurfaceitem.o .obj/qwaylandivisurfaceintegration.o .obj/qwaylandwlshellintegration.o .obj/qwaylandquickxdgoutputv1.o .obj/qwaylandxdgshellv5integration.o .obj/qwaylandxdgshellv6integration.o .obj/qwaylandxdgshellintegration.o .obj/qwltexturesharingextension.o .obj/qwayland-server-xdg-shell-unstable-v5.o .obj/wayland-xdg-shell-unstable-v5-protocol.o .obj/wayland-wayland-protocol.o .obj/wayland-server-buffer-extension-protocol.o .obj/wayland-hardware-integration-protocol.o .obj/wayland-touch-extension-protocol.o .obj/wayland-qt-key-unstable-v1-protocol.o .obj/wayland-qt-windowmanager-protocol.o .obj/wayland-text-input-unstable-v2-protocol.o .obj/wayland-viewporter-protocol.o .obj/wayland-scaler-protocol.o .obj/wayland-xdg-shell-unstable-v6-protocol.o .obj/wayland-xdg-shell-protocol.o .obj/wayland-xdg-decoration-unstable-v1-protocol.o .obj/wayland-xdg-output-unstable-v1-protocol.o .obj/wayland-ivi-application-protocol.o .obj/wayland-idle-inhibit-unstable-v1-protocol.o .obj/wayland-qt-texture-sharing-unstable-v1-protocol.o .obj/qwayland-server-wayland.o .obj/qwayland-server-server-buffer-extension.o .obj/qwayland-server-hardware-integration.o .obj/qwayland-server-touch-extension.o .obj/qwayland-server-qt-key-unstable-v1.o .obj/qwayland-server-qt-windowmanager.o .obj/qwayland-server-text-input-unstable-v2.o .obj/qwayland-server-viewporter.o .obj/qwayland-server-scaler.o .obj/qwayland-server-xdg-shell-unstable-v6.o .obj/qwayland-server-xdg-shell.o .obj/qwayland-server-xdg-decoration-unstable-v1.o .obj/qwayland-server-xdg-output-unstable-v1.o .obj/qwayland-server-ivi-application.o .obj/qwayland-server-idle-inhibit-unstable-v1.o .obj/qwayland-server-qt-texture-sharing-unstable-v1.o .obj/qrc_compositor.o .obj/moc_qwaylandcompositorextension.o .obj/moc_qwldatadevicemanager_p.o .obj/moc_qwlclientbufferintegrationplugin_p.o .obj/moc_qwlserverbufferintegrationplugin_p.o .obj/moc_qwlhardwarelayerintegration_p.o .obj/moc_qwlhardwarelayerintegrationplugin_p.o .obj/moc_qwaylandcompositor.o .obj/moc_qwaylandclient.o .obj/moc_qwaylandsurface.o .obj/moc_qwaylandseat.o .obj/moc_qwaylandkeyboard.o .obj/moc_qwaylandkeymap.o .obj/moc_qwaylandpointer.o .obj/moc_qwaylandtouch.o .obj/moc_qwaylanddestroylistener.o .obj/moc_qwaylandview.o .obj/moc_qwaylandresource.o .obj/moc_qwaylandsurfacegrabber.o .obj/moc_qwaylandinputmethodcontrol.o .obj/moc_qwaylanddrag.o .obj/moc_qwaylandquickcompositor.o .obj/moc_qwaylandquicksurface.o .obj/moc_qwaylandquickoutput.o .obj/moc_qwaylandquickitem.o .obj/moc_qwaylandquickhardwarelayer_p.o .obj/moc_qwlqttouch_p.o .obj/moc_qwlqtkey_p.o .obj/moc_qwaylandshell.o .obj/moc_qwaylandwlshell.o .obj/moc_qwaylandtextinput.o .obj/moc_qwaylandtextinputmanager.o .obj/moc_qwaylandqtwindowmanager.o .obj/moc_qwaylandviewporter.o .obj/moc_qwaylandwlscaler.o .obj/moc_qwaylandxdgshellv5.o .obj/moc_qwaylandxdgshellv6.o .obj/moc_qwaylandxdgshell.o .obj/moc_qwaylandxdgdecorationv1.o .obj/moc_qwaylandxdgoutputv1.o .obj/moc_qwaylandshellsurface.o .obj/moc_qwaylandidleinhibitv1.o .obj/moc_qwaylandiviapplication.o .obj/moc_qwaylandivisurface.o .obj/moc_qwaylandquickshellintegration.o .obj/moc_qwaylandquickshellsurfaceitem.o .obj/moc_qwaylandquickshellsurfaceitem_p.o .obj/moc_qwaylandivisurfaceintegration_p.o .obj/moc_qwaylandwlshellintegration_p.o .obj/moc_qwaylandquickxdgoutputv1.o .obj/moc_qwaylandxdgshellv5integration_p.o .obj/moc_qwaylandxdgshellv6integration_p.o .obj/moc_qwaylandxdgshellintegration_p.o .obj/moc_qwltexturesharingextension_p.o  /usr/lib64/libQt5Quick.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5QmlModels.so /usr/lib64/libQt5Qml.so /usr/lib64/libQt5Network.so /usr/lib64/libQt5Core.so -lpthread -lwayland-server -lxkbcommon /usr/lib64/libQt5XkbCommonSupport.a -lpthread /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Core.so -lGL -lxkbcommon
      /usr/bin/ld: /tmp/cclAqzmA.lto.o: in function `QWaylandKeyboardPrivate::maybeUpdateXkbScanCodeTable()::{lambda(xkb_keymap*, unsigned int, void*)#1}::_FUN(xkb_keymap*, unsigned int, void*)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/compositor/compositor_api/qwaylandkeyboard.cpp:190: undefined reference to `QXkbCommon::keysymToQtKey(unsigned int, QFlags<Qt::KeyboardModifier>)'
      /usr/bin/ld: /tmp/cclAqzmA.lto.o: in function `QtWayland::WindowSystemEventHandler::sendEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/compositor/compositor_api/qwaylandcompositor.cpp:131: undefined reference to `QXkbCommon::modifiers(xkb_state*)'
      /usr/bin/ld: /tmp/cclAqzmA.lto.o:/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/compositor/compositor_api/qwaylandcompositor.cpp:134: undefined reference to `QXkbCommon::keysymToQtKey(unsigned int, QFlags<Qt::KeyboardModifier>, xkb_state*, unsigned int, bool, bool)'
      /usr/bin/ld: /tmp/cclAqzmA.lto.o:/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/compositor/compositor_api/qwaylandcompositor.cpp:135: undefined reference to `QXkbCommon::lookupString(xkb_state*, unsigned int)'
      /usr/bin/ld: /tmp/cclAqzmA.lto.o: in function `QWaylandTextInputPrivate::sendKeyEvent(QKeyEvent*)':
      /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-5.15.6/src/compositor/extensions/qwaylandtextinput.cpp:200: undefined reference to `QXkbCommon::toKeysym(QKeyEvent*)'
      collect2: error: ld returned 1 exit status
      make[2]: *** [Makefile:607: ../../lib/libQt5WaylandCompositor.so.5.15.6] Error 1
      
      

      I've firsted fists missing symbol

      [tkloczko@devel-g2v x86_64-redhat-linux-gnu]$ objdump -x /usr/lib64/libQt5ThemeSupport.a | grep QGenericUnixTheme | grep themeNames
      139 .gnu.lto__ZZZN17QGenericUnixTheme10themeNamesEvENKUlvE_clEvE15qstring_literal.8900.79d5ef04c6fd562 0000007b  0000000000000000  0000000000000000  0002ff07  2**0
      140 .gnu.lto__ZN17QGenericUnixTheme10themeNamesEv.8904.79d5ef04c6fd562 00001c08  0000000000000000  0000000000000000  0002ff82  2**0
      

      I

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            kloczek Tomasz Kloczko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes