New issue
Advanced search Search tips
Starred by 1 user
Status: WontFix
Owner:
Closed: Jan 2016
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment
iOS compile arm64 target
Reported by d4049...@googlemail.com, Jan 12 2016 Back to list
What steps will reproduce the problem?
1.Download the depot tools from git 
2. run "fetch webrtc_ios" to download the code
3. export GYP_CROSSCOMPILE=1
export GYP_DEFINES="OS=ios target_arch=arm64 target_subarch=arm64"
export GYP_GENERATOR_FLAGS="output_dir=out_ios64"
export GYP_GENERATORS=ninja
4. "cd src/" then run "webrtc/build/gyp_webrtc"
5. "cd out_ios64/Release/" then "ninja AppRTCDemo"

What is the expected result?
A compiled appRTCDemo.app

What do you see instead?
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:28:2: error: "NEON support not enabled"
#error "NEON support not enabled"
 ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:48:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(8))) int8_t int8x8_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:49:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(16))) int8_t int8x16_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:50:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(4))) int16_t int16x4_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:51:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(8))) int16_t int16x8_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:52:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(2))) int32_t int32x2_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:53:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(4))) int32_t int32x4_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:54:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(1))) int64_t int64x1_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:55:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(2))) int64_t int64x2_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:56:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(8))) uint8_t uint8x8_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:57:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(16))) uint8_t uint8x16_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:58:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(4))) uint16_t uint16x4_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:59:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(8))) uint16_t uint16x8_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:60:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(2))) uint32_t uint32x2_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:61:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(4))) uint32_t uint32x4_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:62:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(1))) uint64_t uint64x1_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:63:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(2))) uint64_t uint64x2_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:64:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(4))) float16_t float16x4_t;
                       ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/arm_neon.h:65:24: error: 'neon_vector_type' attribute is not supported for this target
typedef __attribute__((neon_vector_type(8))) float16_t float16x8_t;
                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[302/1725] CC obj/chromium/src/third_party/boringssl/src/ssl/boringssl.t1_lib.o
ninja: build stopped: subcommand failed.


What version of the product are you using? On what operating system?
not sure on version, but latest git pull for the depot tools
Mac OS 10.11.2

Please provide any additional information below.
Xcode: 7.2


 
Actually this is happening when compiling for any devices apart from the simulator.
Project Member Comment 2 by braveyao@webrtc.org, Jan 12 2016
Owner: braveyao@webrtc.org
I suppose you should call export " GYP_DEFINES="OS=ios" " before fetching. Or maybe you can call 'gclient sync' in the same console to see if it'll help.

I don't have any problem with the latest trunk.
I already did gclient sync and i still get this. This is also a fresh download from the latest trunk.

I also tried compiling for iOS and the same result happens, I'm pretty sure that i won't be the only one with this error, if anybody is actually able to download the code. 
Actually just tried that and it does build, will this include the 64 bit architecture? 
actually, no, the problem still exists when you run the command: "ninja AppRTCDemo" in the Release-iphoneos directory.

ninja AppRTCDemo
[6/1974] CC obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/x86/libvpx_intrinsics_sse4_1.quantize_sse4.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/x86/libvpx_intrinsics_sse4_1.quantize_sse4.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUSE_LIBJPEG_TURBO=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DDISABLE_FTP_SUPPORT=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1 -Igen -I../../chromium/src/third_party/libvpx_new/source/config/linux/ia32 -I../../chromium/src/third_party/libvpx_new/source/libvpx -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -Os -gdwarf-2 -fvisibility=hidden -Werror -miphoneos-version-min=7.0 -arch armv7 -Wall -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wno-conversion -Wno-parentheses-equality -Wno-unused-function -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -std=c99 -Xclang -load -Xclang /Users/reeda/Documents/webrtc_ios/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -fcolor-diagnostics -msse4.1  -c ../../chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/x86/quantize_sse4.c -o obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/x86/libvpx_intrinsics_sse4_1.quantize_sse4.o
clang: error: argument unused during compilation: '-msse4.1'
[6/1974] CC obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/common/x86/libvpx_intrinsics_sse2.idct_blk_sse2.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/common/x86/libvpx_intrinsics_sse2.idct_blk_sse2.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUSE_LIBJPEG_TURBO=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DDISABLE_FTP_SUPPORT=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1 -Igen -I../../chromium/src/third_party/libvpx_new/source/config/linux/ia32 -I../../chromium/src/third_party/libvpx_new/source/libvpx -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -Os -gdwarf-2 -fvisibility=hidden -Werror -miphoneos-version-min=7.0 -arch armv7 -Wall -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wno-conversion -Wno-parentheses-equality -Wno-unused-function -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -std=c99 -Xclang -load -Xclang /Users/reeda/Documents/webrtc_ios/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -fcolor-diagnostics -msse2  -c ../../chromium/src/third_party/libvpx_new/source/libvpx/vp8/common/x86/idct_blk_sse2.c -o obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/common/x86/libvpx_intrinsics_sse2.idct_blk_sse2.o
clang: error: argument unused during compilation: '-msse2'
[6/1974] CXX obj/webrtc/modules/video_processing/util/video_processing_sse2.denoiser_filter_sse2.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/webrtc/modules/video_processing/util/video_processing_sse2.denoiser_filter_sse2.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DEXPAT_RELATIVE_PATH -DWEBRTC_POSIX -DWEBRTC_MAC -DWEBRTC_IOS -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUSE_LIBJPEG_TURBO=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DDISABLE_FTP_SUPPORT=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1 -D_FORTIFY_SOURCE=2 -Igen -I../.. -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -Os -gdwarf-2 -fvisibility=hidden -Werror -miphoneos-version-min=7.0 -arch armv7 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -fcolor-diagnostics  -c ../../webrtc/modules/video_processing/util/denoiser_filter_sse2.cc -o obj/webrtc/modules/video_processing/util/video_processing_sse2.denoiser_filter_sse2.o
In file included from ../../webrtc/modules/video_processing/util/denoiser_filter_sse2.cc:11:
In file included from /Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/emmintrin.h:27:
In file included from /Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/xmmintrin.h:27:
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
    __builtin_ia32_emms();
    ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:5: note: '__builtin_isless' declared here
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:25: error: too few arguments to function call, expected 2, have 0
    __builtin_ia32_emms();
                        ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:45:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:51:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
    return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
           ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:69:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:75:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
    return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:81:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
    return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:87:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
    return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:93:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
    return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:99:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
    return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:105:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
    return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:111:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
    return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:117:19: error: use of undeclared identifier '__builtin_ia32_punpckldq'
    return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: error: use of undeclared identifier '__builtin_ia32_paddb'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v8qi' (vector of 8 'char' values)
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                                       ^~~~~~~~~~~~
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:129:19: error: use of undeclared identifier '__builtin_ia32_paddw'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:129:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v4hi' (vector of 4 'short' values)
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                                       ^~~~~~~~~~~~
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:135:19: error: use of undeclared identifier '__builtin_ia32_paddd'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:135:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v2si' (vector of 2 'int' values)
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                                       ^~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[6/1974] CXX obj/webrtc/modules/video_processing/video_processing_sse2.content_analysis_sse2.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/webrtc/modules/video_processing/video_processing_sse2.content_analysis_sse2.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DEXPAT_RELATIVE_PATH -DWEBRTC_POSIX -DWEBRTC_MAC -DWEBRTC_IOS -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUSE_LIBJPEG_TURBO=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DDISABLE_FTP_SUPPORT=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1 -D_FORTIFY_SOURCE=2 -Igen -I../.. -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -Os -gdwarf-2 -fvisibility=hidden -Werror -miphoneos-version-min=7.0 -arch armv7 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -fcolor-diagnostics  -c ../../webrtc/modules/video_processing/content_analysis_sse2.cc -o obj/webrtc/modules/video_processing/video_processing_sse2.content_analysis_sse2.o
In file included from ../../webrtc/modules/video_processing/content_analysis_sse2.cc:13:
In file included from /Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/emmintrin.h:27:
In file included from /Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/xmmintrin.h:27:
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
    __builtin_ia32_emms();
    ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:5: note: '__builtin_isless' declared here
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:25: error: too few arguments to function call, expected 2, have 0
    __builtin_ia32_emms();
                        ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:45:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:51:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
    return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
           ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:69:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:75:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
    return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:81:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
    return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:87:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
    return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:93:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
    return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:99:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
    return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:105:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
    return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:111:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
    return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:117:19: error: use of undeclared identifier '__builtin_ia32_punpckldq'
    return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: error: use of undeclared identifier '__builtin_ia32_paddb'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v8qi' (vector of 8 'char' values)
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                                       ^~~~~~~~~~~~
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:129:19: error: use of undeclared identifier '__builtin_ia32_paddw'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:129:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v4hi' (vector of 4 'short' values)
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                                       ^~~~~~~~~~~~
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:135:19: error: use of undeclared identifier '__builtin_ia32_paddd'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:135:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v2si' (vector of 2 'int' values)
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                                       ^~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[6/1974] OBJC obj.host/chromium/src/third_party/class-dump/src/class-dump.class-dump-Prefix.pch-m.gch
ninja: build stopped: subcommand failed.

Project Member Comment 6 by braveyao@webrtc.org, Jan 13 2016
Status: WontFix
I suppose you should try to build from src/ as "ninja -C out_ios/Release-iphoneos AppRTCDemo".
when i do that, this is the error:
ninja -C out/Release-iphoneos AppRTCDemo
ninja: Entering directory `out/Release-iphoneos'
[81/1933] CC obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/x86/libvpx_intrinsics_sse4_1.quantize_sse4.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/x86/libvpx_intrinsics_sse4_1.quantize_sse4.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUSE_LIBJPEG_TURBO=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DDISABLE_FTP_SUPPORT=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1 -Igen -I../../chromium/src/third_party/libvpx_new/source/config/linux/ia32 -I../../chromium/src/third_party/libvpx_new/source/libvpx -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -Os -gdwarf-2 -fvisibility=hidden -Werror -miphoneos-version-min=7.0 -arch armv7 -Wall -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wno-conversion -Wno-parentheses-equality -Wno-unused-function -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -std=c99 -Xclang -load -Xclang /Users/reeda/Documents/webrtc_ios/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -fcolor-diagnostics -msse4.1  -c ../../chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/x86/quantize_sse4.c -o obj/chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/x86/libvpx_intrinsics_sse4_1.quantize_sse4.o
clang: error: argument unused during compilation: '-msse4.1'
[81/1933] CXX obj/webrtc/modules/video_processing/util/video_processing_sse2.denoiser_filter_sse2.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/webrtc/modules/video_processing/util/video_processing_sse2.denoiser_filter_sse2.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DEXPAT_RELATIVE_PATH -DWEBRTC_POSIX -DWEBRTC_MAC -DWEBRTC_IOS -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUSE_LIBJPEG_TURBO=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DDISABLE_FTP_SUPPORT=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1 -D_FORTIFY_SOURCE=2 -Igen -I../.. -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -Os -gdwarf-2 -fvisibility=hidden -Werror -miphoneos-version-min=7.0 -arch armv7 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -fcolor-diagnostics  -c ../../webrtc/modules/video_processing/util/denoiser_filter_sse2.cc -o obj/webrtc/modules/video_processing/util/video_processing_sse2.denoiser_filter_sse2.o
In file included from ../../webrtc/modules/video_processing/util/denoiser_filter_sse2.cc:11:
In file included from /Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/emmintrin.h:27:
In file included from /Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/xmmintrin.h:27:
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
    __builtin_ia32_emms();
    ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:5: note: '__builtin_isless' declared here
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:25: error: too few arguments to function call, expected 2, have 0
    __builtin_ia32_emms();
                        ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:45:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:51:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
    return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
           ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:69:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:75:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
    return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:81:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
    return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:87:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
    return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:93:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
    return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:99:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
    return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:105:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
    return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:111:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
    return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:117:19: error: use of undeclared identifier '__builtin_ia32_punpckldq'
    return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: error: use of undeclared identifier '__builtin_ia32_paddb'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v8qi' (vector of 8 'char' values)
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                                       ^~~~~~~~~~~~
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:129:19: error: use of undeclared identifier '__builtin_ia32_paddw'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:129:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v4hi' (vector of 4 'short' values)
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                                       ^~~~~~~~~~~~
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:135:19: error: use of undeclared identifier '__builtin_ia32_paddd'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:135:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v2si' (vector of 2 'int' values)
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                                       ^~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[81/1933] CXX obj/webrtc/modules/video_processing/video_processing_sse2.content_analysis_sse2.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/webrtc/modules/video_processing/video_processing_sse2.content_analysis_sse2.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DEXPAT_RELATIVE_PATH -DWEBRTC_POSIX -DWEBRTC_MAC -DWEBRTC_IOS -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUSE_LIBJPEG_TURBO=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DDISABLE_FTP_SUPPORT=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DNS_BLOCK_ASSERTIONS=1 -D_FORTIFY_SOURCE=2 -Igen -I../.. -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -Os -gdwarf-2 -fvisibility=hidden -Werror -miphoneos-version-min=7.0 -arch armv7 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -fcolor-diagnostics  -c ../../webrtc/modules/video_processing/content_analysis_sse2.cc -o obj/webrtc/modules/video_processing/video_processing_sse2.content_analysis_sse2.o
In file included from ../../webrtc/modules/video_processing/content_analysis_sse2.cc:13:
In file included from /Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/emmintrin.h:27:
In file included from /Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/xmmintrin.h:27:
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
    __builtin_ia32_emms();
    ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:5: note: '__builtin_isless' declared here
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:39:25: error: too few arguments to function call, expected 2, have 0
    __builtin_ia32_emms();
                        ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:45:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:51:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
    return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
           ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:69:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:75:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
    return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:81:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
    return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:87:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
    return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:93:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
    return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:99:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
    return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:105:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
    return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:111:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
    return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:117:19: error: use of undeclared identifier '__builtin_ia32_punpckldq'
    return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: error: use of undeclared identifier '__builtin_ia32_paddb'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v8qi' (vector of 8 'char' values)
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                                       ^~~~~~~~~~~~
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:129:19: error: use of undeclared identifier '__builtin_ia32_paddw'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:129:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v4hi' (vector of 4 'short' values)
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                                       ^~~~~~~~~~~~
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:135:19: error: use of undeclared identifier '__builtin_ia32_paddd'; did you mean '__builtin_arm_qadd'?
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:123:19: note: '__builtin_arm_qadd' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/Users/reeda/Documents/webrtc_ios/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.8.0/include/mmintrin.h:135:40: error: cannot initialize a parameter of type 'int' with an rvalue of type '__v2si' (vector of 2 'int' values)
    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
                                       ^~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[81/1933] LIBTOOL-STATIC libyuv.a, POSTBUILDS
ninja: build stopped: subcommand failed.

Project Member Comment 8 by braveyao@webrtc.org, Jan 14 2016
Then try with a fresh sync again by following the exact steps suggested in https://sites.google.com/site/webrtc/native-code/ios. You should be fine then.
hi, i tried a fresh sync over the weekend and followed the exact steps on the page, but I'm still getting the problem. Could it be to do with my version of Xcode? or my version of python? 
xcode7.2
Snip20160201_1.png
835 KB View Download
See, im not the only one either.
I faced the same issue but for armV7 but I might have found a workaround.

Just ensure the env variables are correct
export GYP_DEFINES="OS=ios target_arch=arm64"
export GYP_GENERATOR_FLAGS="output_dir=out_ios64"

Execute the command line before each build (even after the same build)
webrtc/build/gyp_webrtc

I worked for me... but I haven't searched for the reason.
Sign in to add a comment