Building Qt 5.2 Alpha iOS - clang: error - Undefined symbols for architecture armv7: "__Unwind_Backtrace"
-
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 -
Problem was a Bug and is resolved now in the updated repro.