New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 597155 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: ----



Sign in to add a comment

Android x64 Builder (dbg) compile failure: %lld format string issue

Project Member Reported by n...@chromium.org, Mar 23 2016

Issue description

The Android x64 Builder (dbg) bot is failing to compile. Looks like a 64-bit issue.

Culprit CL: https://codereview.chromium.org/1811833002 ("Show max latency on client's status bar")

Failure log:

https://uberchromegw.corp.google.com/i/chromium.android/builders/Android%20x64%20Builder%20%28dbg%29/builds/3211/

FAILED: /b/build/slave/android_build/build/src/build/goma/client/gomacc ../../third_party/android_tools/ndk/toolchains/x86_64-4.9/prebuilt/linux-x86_64/bin/x86_64-linux-android-g++ -MMD -MF obj/remoting/android/remoting_client_jni/chromoting_jni_instance.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DENABLE_NOTIFICATIONS -DENABLE_BROWSER_CDMS -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -DNO_TCMALLOC -DENABLE_WEBRTC=1 -DDISABLE_NACL -DENABLE_SUPERVISED_USERS=1 -DENABLE_AUTOFILL_DIALOG=1 -DUSE_PROPRIETARY_CODECS -DVIDEO_HOLE=1 -DSAFE_BROWSING_DB_REMOTE -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DENABLE_WEBVR -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -DANDROID -DHAVE_SYS_UIO_H -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__GNU_SOURCE=1 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DPOSIX_AVOID_MMAP -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DDISABLE_FFMPEG_VIDEO_DECODERS -DFEATURE_ENABLE_SSL -DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH -DNO_MAIN_THREAD_WRAPPING -DNO_SOUND_SYSTEM -DANDROID -DWEBRTC_POSIX -DXML_STATIC -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DSK_BUILD_FOR_ANDROID -DUSE_CHROMIUM_SKIA -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_NOEXCEPT= -DU_STATIC_IMPLEMENTATION -I../.. -Igen -Igen/remoting/android/jni_headers -Igen/remoting/android/jni_headers/remoting -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/protobuf -I../../third_party/boringssl/src/include -I../../third_party/khronos -I../../gpu -I../../third_party/webrtc_overrides -I../../third_party/libjingle/overrides -I../../third_party/libjingle/source -I../../testing/gtest/include -I../../third_party -I../../third_party/expat/files/lib -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/images -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -ffunction-sections -fno-short-enums -finline-limit=64 -m64 -march=x86-64 -Wall -Werror -Wno-unused-local-typedefs -Wno-missing-field-initializers -Wno-unused-parameter -Os -fdata-sections -ffunction-sections -fomit-frame-pointer -g1 --sysroot=../../third_party/android_tools/ndk/platforms/android-21/arch-x86_64 -fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -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 -fno-exceptions -c ../../remoting/client/jni/chromoting_jni_instance.cc -o obj/remoting/android/remoting_client_jni/chromoting_jni_instance.o
../../remoting/client/jni/chromoting_jni_instance.cc: In member function 'void remoting::ChromotingJniInstance::LogPerfStats()':
../../remoting/client/jni/chromoting_jni_instance.cc:500:43: error: format '%lld' expects argument of type 'long long int', but argument 7 has type 'int64_t {aka long int}' [-Werror=format=]
       perf_tracker_->round_trip_ms().Max());
                                           ^
../../remoting/client/jni/chromoting_jni_instance.cc:500:43: error: format '%lld' expects argument of type 'long long int', but argument 9 has type 'int64_t {aka long int}' [-Werror=format=]
../../remoting/client/jni/chromoting_jni_instance.cc:500:43: error: format '%lld' expects argument of type 'long long int', but argument 11 has type 'int64_t {aka long int}' [-Werror=format=]
../../remoting/client/jni/chromoting_jni_instance.cc:500:43: error: format '%lld' expects argument of type 'long long int', but argument 13 has type 'int64_t {aka long int}' [-Werror=format=]
../../remoting/client/jni/chromoting_jni_instance.cc:500:43: error: format '%lld' expects argument of type 'long long int', but argument 15 has type 'int64_t {aka long int}' [-Werror=format=]
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
 

Comment 1 by n...@chromium.org, Mar 23 2016

Labels: -Restrict-View-Google -Pri-2 Pri-1
Here's another link to the builder: https://build.chromium.org/p/chromium.android/builders/Android%20x64%20Builder%20(dbg)

Comment 2 by n...@chromium.org, Mar 23 2016

Status: Fixed (was: Started)
Reverted with https://codereview.chromium.org/1817093005/ and https://codereview.chromium.org/1830483002/

Sign in to add a comment