GNOME Bugzilla – Bug 766363
gstreamer-1.0 release 1.9.0.1 iOS arm64 libraries fail to link using Xcode 7.3.0 because object files do not contain bitcode
Last modified: 2016-05-13 10:55:52 UTC
I built gstreamer-1.0 release 1.9.0.1 using cerebro master branch with the latest commit id (92838cc7e8ce34f8a372e55286e29e5519cad7af), using cross-ios-arm64.cbc configuration. When I attempt to link iOS Tutorial 5, the linker complains that the library object files do not contain bitcode. ld: '/Users/elvis/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/GStreamer(libgstreamer-1_0_a-libgstreamer_1.0_la-gstinfo.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Which file in the cerebro build system do I have to modify to enable Xcode's Bitcode build option?
The problem is that we can't easily generate bitcode for everything, there is stuff with assembly optimizations for example.
Ah, okay. I was able to get past the build error after disabling the bitcode setting.