Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.1.0 RC
-
macOS11.2.3
Xcode 12.4, Build version 12D4e
Qt Creator 4.15.0
Based on Qt 5.15.2 (Clang 11.0 (Apple), 64 bit)
Built on Apr 22 2021 01:17:31
-
-
143509a0224097b56b27c7f3ebc8065f6ef28951 (qt/qtimageformats/6.1.0) 1b9c329316785a2611f001b3a6132d1e58b0696e (qt/qtimageformats/6.1)
Description
Install Qt6.1.0 iOS binaries on macOS11.2(.3), open Creator and one of the examples, quickcontrols2/gallery used in test. Select iOS hw target (not the simulator) and compile.
Compile fails on linker error:
Undefined symbols for architecture arm64: "_VP8LEncDspInitNEON", referenced from: _VP8LEncDspInit_body in libqwebp_debug.a(lossless_enc.c.o) "_VP8FiltersInitNEON", referenced from: _VP8FiltersInit_body in libqwebp_debug.a(filters.c.o) "_VP8DspInitNEON", referenced from: _VP8DspInit_body in libqwebp_debug.a(dec.c.o) "_WebPInitConvertARGBToYUVNEON", referenced from: _WebPInitConvertARGBToYUV_body in libqwebp_debug.a(yuv.c.o) "_WebPInitAlphaProcessingNEON", referenced from: _WebPInitAlphaProcessing_body in libqwebp_debug.a(alpha_processing.c.o) "_WebPInitSharpYUVNEON", referenced from: _WebPInitConvertARGBToYUV_body in libqwebp_debug.a(yuv.c.o) "_WebPRescalerDspInitNEON", referenced from: _WebPRescalerDspInit_body in libqwebp_debug.a(rescaler.c.o) "_VP8EncDspInitNEON", referenced from: _VP8EncDspInit_body in libqwebp_debug.a(enc.c.o) "_WebPInitUpsamplersNEON", referenced from: _WebPInitUpsamplers_body in libqwebp_debug.a(upsampling.c.o) "_VP8LDspInitNEON", referenced from: _VP8LDspInit_body in libqwebp_debug.a(lossless.c.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Full log attached.
I did another clean install, having 6.1.0, 6.0.4 and 5.15.4 iOS binaries installed. I compiled for reference also with 6.0.4 and 5.15.4 iOS binaries. Creator build failed in some cases, but when opening the xcodeproject file (created by Creator) in Xcode and compiled there, fails disappeared and when trying again with 6.1.0, it was able to build example as well as deploy and run on device also, with both Creator and Xcode. I don't know what I did to get it working, I was compiling different examples with one of the three Qt version.
But, after that, on same machine, I did again a fresh install only with 6.1.0 iOS, and again either Creator or Xcode was able to compile any of the examples I tried.
Simulator build works with 6.1.0. Also, RTA smoke tests run on 10.14, 10.15 and 11.0 on virtual machines work, but the use iOS Simulator mode.
I don't have macOS with older os to verify is this on 11.2 or others also.
Attachments
Issue Links
- is duplicated by
-
QTBUG-93385 Chip example build and run fails for iPhone 11
- Closed