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

Build error on arm64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.15.10
    • Build System
    • None
    • macOS 13.0 (Ventura), Apple M2 Pro
    • iOS/tvOS/watchOS

    Description

      Can we build now pure arm64 Qt5.15 for iOS&Simulator on macOS 13?

      > ./configure -prefix /opt/qt/5.15.10.ce1/ios/rebug -opensource -confirm-license -xplatform macx-ios-clang -sql-sqlite -opensource -confirm-license -debug-and-release
      > make

      Finally...

       

      /Applications/Xcode14.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios12.0-simulator -isysroot /Applications/Xcode14.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.1.sdk -L/Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/.obj/EagerLinkingTBDs -L/Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/Debug-iphonesimulator -L/Users/danilabagroff/Sources/qt5.15.10/qtbase/plugins/platforms -L/Applications/Xcode14.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.1.sdk/System/Library/Frameworks/ -L/Users/danilabagroff/Sources/qt5.15.10/qtbase/lib -L/Users/danilabagroff/Sources/qt5.15.10/qtbase/plugins/imageformats -F/Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/.obj/EagerLinkingTBDs -F/Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/Debug-iphonesimulator -filelist /Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/.obj/sharedmemory.build/Debug-iphonesimulator/sharedmemory.build/Objects-normal/x86_64/sharedmemory.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/.obj/sharedmemory.build/Debug-iphonesimulator/sharedmemory.build/Objects-normal/x86_64/sharedmemory_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib\=libc++ -Wl,-e,_qt_main_wrapper -Wl,-rpath,@executable_path/Frameworks -L/Users/danilabagroff/Sources/qt5.15.10/qtbase/plugins/platforms -framework AssetsLibrary -framework MobileCoreServices -lm -framework UIKit -lz -framework OpenGLES -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/.obj/sharedmemory.build/Debug-iphonesimulator/sharedmemory.build/sharedmemory.app-Simulated.xcent -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __ents_der -Xlinker /Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/.obj/sharedmemory.build/Debug-iphonesimulator/sharedmemory.build/sharedmemory.app-Simulated.xcent.der -lqios_debug -framework QuartzCore -framework AudioToolbox -lQt5FontDatabaseSupport_debug -lqtfreetype_debug -lQt5GraphicsSupport_debug -lQt5ClipboardSupport_debug -framework ImageIO -lqgif_debug -lqico_debug -lqjpeg_debug -lqtlibjpeg_debug -lQt5Widgets_debug -lQt5Gui_debug -framework Metal -lqtlibpng_debug -lqtharfbuzz_debug -framework CoreText -framework CoreGraphics -lQt5Core_debug -framework CoreFoundation -framework Foundation -lqtpcre2_debug -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/.obj/sharedmemory.build/Debug-iphonesimulator/sharedmemory.build/Objects-normal/x86_64/sharedmemory_dependency_info.dat -o /Users/danilabagroff/Sources/qt5.15.10/qtbase/examples/corelib/ipc/sharedmemory/Debug-iphonesimulator/sharedmemory.app/sharedmemory
      Undefined symbols for architecture x86_64:
        "_IORegistryEntryCreateCFProperty", referenced from:
            QSysInfo::machineUniqueId() in libQt5Core_debug.a(qglobal.o)
        "_IOServiceGetMatchingService", referenced from:
            QSysInfo::machineUniqueId() in libQt5Core_debug.a(qglobal.o)
        "_IOServiceMatching", referenced from:
            QSysInfo::machineUniqueId() in libQt5Core_debug.a(qglobal.o)
      ld: symbol(s) not found for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation) 

       

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              danilabagroff Daniil Megrabyan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes