Issue 267 in webp: Cannot Enable Bit Code for IOS 9

59 views
Skip to first unread message

we...@googlecode.com

unread,
Oct 7, 2015, 1:42:58 PM10/7/15
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 267 by dvale...@gmail.com: Cannot Enable Bit Code for IOS 9
https://code.google.com/p/webp/issues/detail?id=267

What steps will reproduce the problem?
1.Compile latest WebP Source Code for IOS
2.Create an Xcode project and import webp (Using Xcode 7 and IOS 9)
3.Turn on Bitcode and compile

What is the expected output? What do you see instead?
Project should compile and execute on mobile device, but it shows error
message
ld: '/Users/GitHub/3rdParty/Webp/WebP.framework/WebP(libwebpdecode_la-webp.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)

What version of the product are you using? On what operating system?
Xcode Version 7.0.1, Mac OS 10.11




--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

we...@googlecode.com

unread,
Oct 7, 2015, 3:02:53 PM10/7/15
to webp-d...@webmproject.org
Updates:
Status: Accepted

Comment #1 on issue 267 by jz...@google.com: Cannot Enable Bit Code for IOS
9
https://code.google.com/p/webp/issues/detail?id=267

Thanks for the report, I thought this might come up after seeing something
similar in libvpx:

https://chromium-review.googlesource.com/#/c/302236/

Adding '-fembed-bitcode' to the CFLAGS in iosbuild.sh should be enough.

we...@googlecode.com

unread,
Oct 7, 2015, 9:22:08 PM10/7/15
to webp-d...@webmproject.org
Updates:
Status: Started

Comment #2 on issue 267 by jz...@google.com: Cannot Enable Bit Code for IOS
9
https://code.google.com/p/webp/issues/detail?id=267

https://chromium-review.googlesource.com/#/c/304625/ works for me in a test
link with the examples. Give it a try if you get a chance.

we...@googlecode.com

unread,
Oct 8, 2015, 5:23:50 PM10/8/15
to webp-d...@webmproject.org

Comment #3 on issue 267 by dvale...@gmail.com: Cannot Enable Bit Code for
IOS 9
https://code.google.com/p/webp/issues/detail?id=267

Oy works correctly now, can we update this on the iosbuild.sh script?

we...@googlecode.com

unread,
Oct 8, 2015, 10:43:49 PM10/8/15
to webp-d...@webmproject.org

Comment #4 on issue 267 by jz...@google.com: Cannot Enable Bit Code for IOS
9
https://code.google.com/p/webp/issues/detail?id=267

Thanks for testing!
I submitted this, it will be available in the next release.
Reply all
Reply to author
Forward
0 new messages