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

Can't compile qt6-qtdeclarative with hardened gcc 15.2.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.9.2
    • None
    • Ryzen 9 7900X, Fedora Kinoite 42
    • Linux/X11

      I attached a log with the error of the build, dockerfile for reproducibility and the hardening options

      Containerfile

      build.txt

      openssf.spec

      no-hardening.spec

      Don't use any hardening and it will compile just fine
      Either of those two options to disable the hardening work
      export GCC_SPEC_FILE=/dev/null
      export GCC_SPEC_FILE=no-hardening.spec

       

      The openssf compiler options specifically seem to break it

        1. no-hardening.spec
          0.1 kB
          renner 0
        2. openssf.spec
          0.5 kB
          renner 0
        3. Containerfile
          0.9 kB
          renner 0
        4. build.txt
          124 kB
          renner 0
        For Gerrit Dashboard: QTBUG-139967
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            renner0 renner 0
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes