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

Symbol clashes using Q_GLOBAL_STATIC with ICC 17 in debug mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.9.0
    • Core: Other

    Description

      If you have two Q_GLOBAL_STATIC with the same name (such as "loader") in two different files, ICC produces object files o Linux that export the same symbol. Then the linker incorrectly coalesces them into the same object. At runtime we get weird crashes.

      Attachments

        For Gerrit Dashboard: QTBUG-60867
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes