[Interest] 5.6.0 beta candidate iOS Build Failed ( ld: symbol(s) not found for architecture armv7 )?

Kalinowski Maurice Maurice.Kalinowski at theqtcompany.com
Fri Dec 11 08:53:07 CET 2015


https://bugreports.qt.io/browse/QTBUG-49886

Maurice


From: Interest [mailto:interest-bounces at qt-project.org] On Behalf Of Edward Sutton
Sent: Thursday, December 10, 2015 5:19 PM
To: Qt Interest <interest at qt-project.org>
Subject: [Interest] 5.6.0 beta candidate iOS Build Failed ( ld: symbol(s) not found for architecture armv7 )?

When building iOS widget app using 5.6.0 beta candidate:

** BUILD FAILED **


The following build commands failed:
Ld obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/armv7/TSR normal armv7
(1 failure)

[cid:image001.png at 01D133F1.5ABBD850]


  *   OS X 10.10.5
  *   Xcode 7.2
  *   Qt 5.6 Beta Candidate Mac: http://download.qt.io/snapshots/qt/5.6/5.6.0-beta/224/
  *   qt-opensource-mac-x64-android-ios-5.6.0-beta_224.dmg

Qt 5.5.1 has no problems with same environment?

-Ed

Ld obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/armv7/TSR normal armv7
cd /Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/Debug-iphoneos -L/Users/edward3/Qt5.6.0/5.6/ios/plugins/platforms -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks -L/Users/edward3/Qt5.6.0/5.6/ios/lib -L/Users/edward3/Qt5.6.0/5.6/ios/plugins/imageformats -F/Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/Debug-iphoneos -filelist /Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/armv7/TSR.LinkFileList -miphoneos-version-min=6.0 -dead_strip -headerpad_max_install_names -stdlib=libc++ -u _qt_registerPlatformPlugin -Wl,-e,_qt_main_wrapper -framework MessageUI -framework ExternalAccessory -L/Users/edward3/Qt5.6.0/5.6/ios/plugins/platforms -framework UIKit -framework AssetsLibrary -L/Users/edward3/Qt5.6.0/5.6/ios/lib -framework MobileCoreServices -framework OpenGLES -L/Users/edward3/Qt5.6.0/5.6/ios/plugins/imageformats -lz -lm -fobjc-link-runtime -lqios_debug -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport_debug -lQt5DBus_debug -lqtfreetype_debug -lQt5PrintSupport_debug -lQt5Widgets_debug -lQt5Bluetooth_debug -framework CoreBluetooth -lQt5Concurrent_debug -lQt5Xml_debug -lqdds_debug -lqicns_debug -lqico_debug -lqtga_debug -lqtiff_debug -lqwbmp_debug -lqwebp_debug -lQt5Gui_debug -lqtharfbuzzng_debug -lQt5Core_debug -lqtpcre_debug -Xlinker -dependency_info -Xlinker /Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/armv7/TSR_dependency_info.dat -o /Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/armv7/TSR
Undefined symbols for architecture armv7:
"qt_memfill32(unsigned int*, unsigned int, int)", referenced from:
void qt_memfill<unsigned int>(unsigned int*, unsigned int, int) in libQt5Gui_debug.a(qimage.o)
void qt_memfill<unsigned int>(unsigned int*, unsigned int, int) in libQt5Gui_debug.a(qdrawhelper.o)
GradientBase32::memfill(unsigned int*, unsigned int, int) in libQt5Gui_debug.a(qdrawhelper.o)
void qt_memfill<unsigned int>(unsigned int*, unsigned int, int) in libQt5Gui_debug.a(qcompositionfunctions.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ld obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/arm64/TSR normal arm64
cd /Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/Debug-iphoneos -L/Users/edward3/Qt5.6.0/5.6/ios/plugins/platforms -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks -L/Users/edward3/Qt5.6.0/5.6/ios/lib -L/Users/edward3/Qt5.6.0/5.6/ios/plugins/imageformats -F/Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/Debug-iphoneos -filelist /Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/arm64/TSR.LinkFileList -miphoneos-version-min=6.0 -dead_strip -headerpad_max_install_names -stdlib=libc++ -u _qt_registerPlatformPlugin -Wl,-e,_qt_main_wrapper -framework MessageUI -framework ExternalAccessory -L/Users/edward3/Qt5.6.0/5.6/ios/plugins/platforms -framework UIKit -framework AssetsLibrary -L/Users/edward3/Qt5.6.0/5.6/ios/lib -framework MobileCoreServices -framework OpenGLES -L/Users/edward3/Qt5.6.0/5.6/ios/plugins/imageformats -lz -lm -fobjc-link-runtime -lqios_debug -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport_debug -lQt5DBus_debug -lqtfreetype_debug -lQt5PrintSupport_debug -lQt5Widgets_debug -lQt5Bluetooth_debug -framework CoreBluetooth -lQt5Concurrent_debug -lQt5Xml_debug -lqdds_debug -lqicns_debug -lqico_debug -lqtga_debug -lqtiff_debug -lqwbmp_debug -lqwebp_debug -lQt5Gui_debug -lqtharfbuzzng_debug -lQt5Core_debug -lqtpcre_debug -Xlinker -dependency_info -Xlinker /Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/arm64/TSR_dependency_info.dat -o /Users/edward3/Documents/projects/build-tsr-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/arm64/TSR

** BUILD FAILED **


The following build commands failed:
Ld obj/TSR.build/Debug-iphoneos/TSR.build/Objects-normal/armv7/TSR normal armv7
(1 failure)
make: *** [xcodebuild-debug-iphoneos] Error 65
10:11:35: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project tsr (kit: iphoneos-clang Qt 5.6.0 for iOS)
When executing step "Make"
10:11:35: Elapsed time: 02:42.
This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151211/8f11d0bc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 22759 bytes
Desc: image001.png
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151211/8f11d0bc/attachment.png>


More information about the Interest mailing list