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

Symbol clashes using Q_GLOBAL_STATIC with ICC 17 in debug mode

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes