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

Undefined symbols for msgSend stubs when linking with Xcode < 14

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.5.1, 6.6.0
    • 6.2, 6.5
    • Build System
    • None
    • iOS/tvOS/watchOS, macOS
    • c91ae574e (dev), 10290a3c9 (6.5)

    Description

      In Xcode 14 / ld 816 Apple implemented a size / performance optimization where they deduplicate _objc_msgSend setup infrastructure by Objective-C selectors.

      For static libraries, this causes issues when trying to link them into the app using Xcode 13, which isn't aware of these stubs.

      See https://github.com/llvm/llvm-project/issues/56034

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              vestbo Tor Arne Vestbø
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes