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

repc is not deterministic

    XMLWordPrintable

Details

    Description

      Order of qRegisterMetaType changes randomly in generated output. Those types seem to be stored in a QSet which in turn holds them in QHash and the hash is randomly seeded so the order may change between runs.

      This means the builds are not reproducible and it also causes unnecessary recompilation for tools like ccache since it sees the file has changed.

      Perhaps repc could set QT_HASH_SEED=0 environment variable at startup to avoid this.

      Attachments

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

        Activity

          People

            bstottle Brett Stottlemyer
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes