After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
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
gstreamer-1.0 release 1.9.0.1 iOS arm64 libraries fail to link using Xcode 7....
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Mac OS
: Normal blocker
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-13 09:15 UTC by Elvis Dowson
Modified: 2016-05-13 10:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elvis Dowson 2016-05-13 09:15:15 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)
Comment 1 Elvis Dowson 2016-05-13 09:19:26 UTC
Which file in the cerebro build system do I have to modify to enable Xcode's Bitcode build option?
Comment 2 Sebastian Dröge (slomo) 2016-05-13 09:25:38 UTC
The problem is that we can't easily generate bitcode for everything, there is stuff with assembly optimizations for example.
Comment 3 Elvis Dowson 2016-05-13 10:55:52 UTC
Ah, okay. I was able to get past the build error after disabling the bitcode setting.