Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt 5.2 Alpha iOS - clang: error - Undefined symbols for architecture armv7: "__Unwind_Backtrace"
Forum Updated to NodeBB v4.3 + New Features

Building Qt 5.2 Alpha iOS - clang: error - Undefined symbols for architecture armv7: "__Unwind_Backtrace"

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    V-Play-db
    wrote on last edited by
    #1

    I'm currently trying to build Qt 5.2 Alpha current stabel (16.09.2013 13:13)for iOS and I get an error which I could not resolve so far.

    My setup is OSX 10.8.5 with iOS SDK 7.0

    I use following commands to build the alpha :

    @
    git clone git://gitorious.org/qt/qt5.git qt5
    cd qt5
    ./init-repository
    cd ..
    cd qt5Shadow
    ../qt5/configure -xplatform macx-ios-clang -developer-build -release
    make -j3
    @

    When executing make it results in following error:

    @
    Ld Release-iphoneos/qml.app/qml normal armv7
    cd /Users/david/Development/qt5Shadow/qtdeclarative/tools/qml
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/david/Development/qt5Shadow/qtdeclarative/tools/qml/Release-iphoneos -L/Users/david/Development/qt5Shadow/qtdeclarative/tools/qml/.obj/release-static/qml.build/Release-iphoneos/qml.build/Objects-normal/armv7 -F/Users/david/Development/qt5Shadow/qtdeclarative/tools/qml/Release-iphoneos -filelist /Users/david/Development/qt5Shadow/qtdeclarative/tools/qml/.obj/release-static/qml.build/Release-iphoneos/qml.build/Objects-normal/armv7/qml.LinkFileList -dead_strip -headerpad_max_install_names -u _qt_registerPlatformPlugin -Wl,-no_new_main -nostartfiles -lcrt1_qt.o -L/Users/david/Development/qt5Shadow/qtbase/plugins/platforms -framework UIKit -L/Users/david/Development/qt5Shadow/qtbase/lib -framework OpenGLES -ldl -lz -lm -miphoneos-version-min=5.0 -lqios -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport -lQt5Qml -framework Security -framework SystemConfiguration -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -Xlinker -dependency_info -Xlinker /Users/david/Development/qt5Shadow/qtdeclarative/tools/qml/.obj/release-static/qml.build/Release-iphoneos/qml.build/Objects-normal/armv7/qml_dependency_info.dat -o /Users/david/Development/qt5Shadow/qtdeclarative/tools/qml/Release-iphoneos/qml.app/qml
    Undefined symbols for architecture armv7:
    "__Unwind_Backtrace", referenced from:
    QV4::NativeStackTrace::NativeStackTrace(QV4::ExecutionContext*) in libQt5Qml.a(qv4stacktrace.o)
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    ** BUILD FAILED **

    The following build commands failed:
    Ld Release-iphoneos/qml.app/qml normal armv7
    (1 failure)
    make[3]: *** [xcodebuild_build] Error 65
    make[2]: *** [sub-qml-make_first] Error 2
    make[1]: *** [sub-tools-make_first] Error 2
    make: *** [module-qtdeclarative-make_first] Error 2
    @

    Does anyone know what could be the problem? Maybe a missing library?

    Cheers,
    David

    1 Reply Last reply
    0
    • V Offline
      V Offline
      V-Play-db
      wrote on last edited by
      #2

      Problem was a Bug and is resolved now in the updated repro.

      https://bugreports.qt-project.org/browse/QTBUG-33979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved