x86 build for Android failed

101 views
Skip to first unread message

Andrey Grusha

unread,
Jun 21, 2016, 3:04:50 AM6/21/16
to discuss-webrtc
Hey there!
I have pulled source code on Jun 20 and found out that android build started to fail. Actually arm-targeted libraries were built as expected, the trouble was with x86 targeted library. The failure message is as follows:

FAILED: obj/webrtc/video/webrtc.video_send_stream.o
/vagrant/webrtc/src/third_party/android_tools/ndk//toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-g++ -MMD -MF obj/webrtc/video/webrtc.video_send_stream.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=270823-1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_BROWSER_CDMS -DENABLE_NOTIFICATIONS -DUSE_EXTERNAL_POPUP_MENU -DFIELDTRIAL_TESTING_ENABLED -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DENABLE_WEBVR -DSAFE_BROWSING_DB_REMOTE -DEXPAT_RELATIVE_PATH -DWEBRTC_BUILD_LIBEVENT -DWEBRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_ANDROID -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DUSE_LIBPCI=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1 -DHAVE_SYS_UIO_H -DANDROID_NDK_VERSION=r10e -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -I../../webrtc/modules/audio_coding/include -I../../webrtc/modules/include -I../../webrtc -I../../third_party/opus/src/src -I../../third_party/opus/src/celt -I../../chromium/src/third_party/opus/src/include -I../../webrtc/common_video/include -I../../webrtc/common_video/libyuv/include -I../../chromium/src/third_party/libyuv/include -I../../chromium/src/third_party/libyuv --param=ssp-buffer-size=4 -Werror -fno-strict-aliasing -Wall -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-overflow -fno-builtin-cos -fno-builtin-sin -fno-builtin-cosf -fno-builtin-sinf -msse2 -mfpmath=sse -mmmx -m32 -mstackrealign -ffunction-sections -funwind-tables -g -fno-short-enums -finline-limit=64 --sysroot=../../third_party/android_tools/ndk//platforms/android-16/arch-x86 -fno-stack-protector -Os -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -funwind-tables -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -std=gnu++11 -Wno-narrowing -isystem../../third_party/android_tools/ndk//sources/cxx-stl/llvm-libc++/libcxx/include -isystem../../third_party/android_tools/ndk//sources/cxx-stl/llvm-libc++abi/libcxxabi/include -isystem../../third_party/android_tools/ndk//sources/android/support/include  -c ../../webrtc/video/video_send_stream.cc -o obj/webrtc/video/webrtc.video_send_stream.o
../../webrtc/video/video_send_stream.cc: In member function 'void webrtc::internal::VideoSendStream::EncoderProcess()':
../../webrtc/video/video_send_stream.cc:631:14: error: '*((void*)& pending_state_change +4)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
       } else if (*pending_state_change == State::kStopped) {
              ^
cc1plus: all warnings being treated as errors
[96/830] CXX obj/webrtc/video/webrtc.vie_sync_module.o
ninja: build stopped: subcommand failed.

I believe it is some minor problem, and hope it will be fixed soon

Peter Boström

unread,
Jun 21, 2016, 5:04:32 AM6/21/16
to discuss-webrtc

Can you file a bug with how exact repro instructions and link it here?


--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/786a40cc-ab58-4cdf-bd94-02e19c96ee80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chen Cong

unread,
Jun 22, 2016, 1:59:03 AM6/22/16
to discuss-webrtc
+1

在 2016年6月21日星期二 UTC+8下午3:04:50,Andrey Grusha写道:

Peter Boström

unread,
Jun 22, 2016, 6:13:11 AM6/22/16
to discuss-webrtc
https://bugs.webrtc.org/ is the place btw.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.

Andrey Grusha

unread,
Jun 23, 2016, 2:51:46 AM6/23/16
to discuss-webrtc
Created: Issue 6033
Sorry for delay. I wanted to double check everything and it takes a lot of time
Reply all
Reply to author
Forward
0 new messages