GNOME Bugzilla – Bug 756442
ios-universal: libvpx: failure to configure
Last modified: 2015-10-12 18:06:06 UTC
libvpx fails to configure with cerbero git master. Using Xcode 7.0.1 and building for ios-universal. This version of Xcode comes packaged with an SDK for OSX El Capitan (10.11). Currently running OSX Yosemite (10.10). ~snip~ [(39/84) libvpx -> fetch ] -----> Step done [(39/84) libvpx -> extract ] -----> Step done [(39/84) libvpx -> configure ] enabling pic disabling unit_tests enabling postproc enabling multi_res_encoding enabling vp9_temporal_denoising enabling vp9_postproc disabling examples Configuring selected codecs enabling vp8_encoder enabling vp8_decoder enabling vp9_encoder enabling vp9_decoder Configuring for target 'x86_64-iphonesimulator-gcc' enabling x86_64 enabling runtime_cpu_detect enabling mmx enabling sse enabling sse2 enabling sse3 enabling ssse3 enabling sse4_1 enabling avx enabling avx2 using yasm enabling use_x86inc enabling webm_io enabling libyuv Creating makefiles for x86_64-iphonesimulator-gcc libs Creating makefiles for x86_64-iphonesimulator-gcc docs enabling pic disabling unit_tests enabling postproc enabling multi_res_encoding enabling vp9_temporal_denoising enabling vp9_postproc disabling examples Configuring selected codecs enabling vp8_encoder enabling vp8_decoder enabling vp9_encoder enabling vp9_decoder Configuring for target 'armv7s-darwin-gcc' enabling armv7s enabling neon enabling neon_asm enabling media Toolchain is unable to link executables Configuration failed. This could reflect a misconfiguration of your toolchains, improper options selected, or another problem. If you don't see any useful error messages above, the next step is to look at the configure error log file (config.log) to determine what configure was trying to do when it died. Running command './configure --prefix=/Users/rjohnweber/cerbero/dist/ios_universal --libdir=/Users/rjohnweber/cerbero/dist/ios_universal/lib --enable-pic --as=yasm --disable-unit-tests --size-limit=16384x16384 --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --disable-examples --target=x86_64-iphonesimulator-gcc ' Running command './configure --prefix=/Users/rjohnweber/cerbero/dist/ios_universal --libdir=/Users/rjohnweber/cerbero/dist/ios_universal/lib --enable-pic --as=yasm --disable-unit-tests --size-limit=16384x16384 --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --disable-examples --target=armv7s-darwin-gcc ' The config.log for libvpx ends with the following message /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -L/Users/rjohnweber/cerbero/dist/ios_universal/lib -arch armv7s -mcpu=cortex-a9 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -miphoneos-version-min=6.0 -Wl,-iphoneos_version_min,6.0 -Wl,-undefined,error -Wl,-headerpad_max_install_names -Wno-error=unused-command-line-argument -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -arch armv7s -miphoneos-version-min=6.0 -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/lib/system -o /var/folders/vh/yhhl_h6x57912rwpbxz6dt9r0000gn/T//vpx-conf-36134-3722.x /var/folders/vh/yhhl_h6x57912rwpbxz6dt9r0000gn/T//vpx-conf-36134-3722.o -lpthread ld: in '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/system/libkeymgr.tbd', missing required architecture armv7s in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/system/libkeymgr.tbd for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation) Could this be due to a change made to solve the following bug? https://bugzilla.gnome.org/show_bug.cgi?id=728258
I fixed that earlier today commit 2d5677fe9d68a35d7bcf2b3af67d822cb3976064 Author: Sebastian Dröge <sebastian@centricular.com> Date: Mon Oct 12 14:54:06 2015 +0300 libvpx: Backport some patches from upstream to hopefully fix iOS build with XCode 7
Confirmed fixed. Thanks!