Error : NEON support not enabled, neon_vector_type attribute is not supported for this target.

78 views
Skip to first unread message

Ra

unread,
Jan 27, 2016, 7:49:57 AM1/27/16
to discuss-webrtc
 
Hi,

I was trying to make changes in modules/audio_processing/aec/aec_rdft.c file. I added "#include <arm_neon.h>".
In webrtc-checkout/src/out/Debug folder  I gave the command  "ninja -C ."

Then I am getting following errors
1) NEON support not enabled
2) neon_vector_type attribute is not supported for this target.


Please inform how to rectify this error.
My linux configurations is "Linux csk-csk-Desktop-System 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux"



Full error log is given below

csk@csk-csk-Desktop-System:~/webrtc-checkout/src/out/Debug$ ninja -C .
ninja: Entering directory `.'

[1/2146] CC obj/webrtc/modules/audio_processing/aec/audio_processing.aec_rdft.o
[2/2146] CC obj/webrtc/modules/audio_coding/codecs/isac/fix/source/isac_fix.bandwidth_estimator.o
[3/2146] CXX obj/webrtc/modules/media_file/media_file.media_file_impl.o
[4/2146] AR obj/webrtc/common_audio/libcommon_audio.a
[5/2146] CC obj/webrtc/modules/audio_coding/codecs/isac/fix/source/isac_fix.decode.o
[6/2146] CC obj/webrtc/modules/audio_coding/codecs/isac/fix/source/isac_fix.decode_bwe.o
[6/2146] AR obj/webrtc/common_audio/libcommon_audio.a
[7/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/ec/boringssl.wnaf.o
[7/2146] CC obj/webrtc/modules/audio_coding/codecs/isac/fix/source/isac_fix.decode_bwe.o
[8/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/ecdh/boringssl.ecdh.o
[8/2146] CC obj/webrtc/modules/audio_coding/codecs/isac/fix/source/isac_fix.bandwidth_estimator.o
[9/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/ecdsa/boringssl.ecdsa_asn1.o
[9/2146] CC obj/webrtc/modules/audio_coding/codecs/isac/fix/source/isac_fix.decode.o
[10/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/engine/boringssl.engine.o
[10/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/ecdh/boringssl.ecdh.o
[11/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/evp/boringssl.algorithm.o
[11/2146] CC obj/webrtc/modules/audio_processing/aec/audio_processing.aec_rdft.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/webrtc/modules/audio_processing/aec/audio_processing.aec_rdft.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DEXPAT_RELATIVE_PATH -DWEBRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=257955-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DWEBRTC_AUDIOPROC_DEBUG_DUMP -DWEBRTC_NS_FLOAT -DPROTOBUF_USE_DLLS -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -D_GLIBCXX_DEBUG=1 -Igen -I../.. -I../../webrtc/common_audio/resampler/include -I../../webrtc/common_audio/signal_processing/include -I../../webrtc/common_audio/vad/include -I../../webrtc/modules/audio_coding/codecs/isac/main/include -I../../webrtc -Igen/protoc_out -I../../chromium/src/third_party/protobuf -I../../chromium/src/third_party/protobuf/src -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-overflow -Wimplicit-fallthrough -Wthread-safety -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -fcolor-diagnostics -B/home/csk/webrtc-checkout/src/third_party/binutils/Linux_x64/Release/bin -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 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-overflow -Wimplicit-fallthrough -Wthread-safety -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-overflow -Wimplicit-fallthrough -Wthread-safety -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-overflow -Wimplicit-fallthrough -Wthread-safety -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-overflow -Wimplicit-fallthrough -Wthread-safety -m64 -march=x86-64 -O0 -g -funwind-tables -gsplit-dwarf   -c ../../webrtc/modules/audio_processing/aec/aec_rdft.c -o obj/webrtc/modules/audio_processing/aec/audio_processing.aec_rdft.o
In file included from ../../webrtc/modules/audio_processing/aec/aec_rdft.c:34:
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.0/include/arm_neon.h:28:2: error: "NEON support not enabled"
#error "NEON support not enabled"
 ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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;
                       ^
/home/csk/webrtc-checkout/src/chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.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.

[11/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/engine/boringssl.engine.o
[11/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/ecdsa/boringssl.ecdsa_asn1.o
[11/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/ec/boringssl.wnaf.o
[11/2146] CC obj/chromium/src/third_party/boringssl/src/crypto/evp/boringssl.algorithm.o
[11/2146] CXX obj/webrtc/modules/media_file/media_file.media_file_impl.o

ninja: build stopped: subcommand failed.

 


Reply all
Reply to author
Forward
0 new messages