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

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

        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