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

LIBDIR/objects-Custom directory contains .o files with LTO content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.9.0
    • 6.9.0 Beta3, 6.10
    • Build System: CMake
    • None

      What is this directory for? Why is it inside of LIBDIR, instead of DATADIR or ARCHDATADIR?

      $ find lib64/objects-Custom
      lib64/objects-Custom
      lib64/objects-Custom/ExampleIconsPrivate_resources_1
      lib64/objects-Custom/ExampleIconsPrivate_resources_1/.qt
      lib64/objects-Custom/ExampleIconsPrivate_resources_1/.qt/rcc
      lib64/objects-Custom/ExampleIconsPrivate_resources_1/.qt/rcc/qrc_example_icons_init.cpp.o
      lib64/objects-Custom/QmlTypeRegistrarPrivate_resources_1
      lib64/objects-Custom/QmlTypeRegistrarPrivate_resources_1/.qt
      lib64/objects-Custom/QmlTypeRegistrarPrivate_resources_1/.qt/rcc
      lib64/objects-Custom/QmlTypeRegistrarPrivate_resources_1/.qt/rcc/qrc_jsRootMetaTypes_init.cpp.o
      

      Those files must not be installed, because they contain LTO content. If they get used by the user, the compiler may crash or fail due to differences in LTO format. If they aren't be used, then they shouldn't be installed.

      QmlTypeRegistrarPrivate is qtdeclarative/src/qmltyperegistrar/CMakeLists.txt

      ExampleIconsPrivate is qtbase/src/assets/icons/CMakeLists.txt.

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

            qtbuildsystem Qt Build System Team
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes