compile failure on chromium.android/Android x64 Builder (dbg)
Builders failed on:
- Android x64 Builder (dbg):
https://build.chromium.org/p/chromium.android/builders/Android%20x64%20Builder%20%28dbg%29
Error message:
[18316/41605] CXX obj/components/subresource_filter/content/renderer/renderer/web_document_subresource_filter_impl.o
FAILED: obj/components/subresource_filter/content/renderer/renderer/web_document_subresource_filter_impl.o
/b/build/slave/cache/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/components/subresource_filter/content/renderer/renderer/web_document_subresource_filter_impl.o.d -DV8_DEPRECATION_WARNINGS -DUSE_OPENSSL_CERTS=1 -DNO_TCMALLOC -DUSE_EXTERNAL_POPUP_MENU=1 -DDISABLE_NACL -DSAFE_BROWSING_DB_REMOTE -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -DANDROID -DHAVE_SYS_UIO_H -DANDROID_NDK_VERSION=r12b -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__GNU_SOURCE=1 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DUSE_EGL -DDISABLE_FFMPEG_VIDEO_DECODERS -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DV8_USE_EXTERNAL_STARTUP_DATA -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DSK_IGNORE_DW_GRAY_FIX -DSK_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DSK_BUILD_FOR_ANDROID -DUSE_CHROMIUM_SKIA -I../.. -Igen -I../../third_party/khronos -I../../gpu -I../../third_party/libwebp -I../../third_party/flatbuffers/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -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/skia/src/sksl -I../../third_party/libwebm/source -Igen/media/base/android/media_jni_headers -Igen/media/base/android/media_jni_headers/media -I../../third_party/boringssl/src/include -Igen -I../../third_party/WebKit -Igen/third_party/WebKit -I../../v8/include -Igen/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -ffunction-sections -fno-short-enums -finline-limit=64 -m64 -march=x86-64 -Wall -Werror -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Os -fno-omit-frame-pointer -gdwarf-3 -g1 --sysroot=../../third_party/android_tools/ndk/platforms/android-21/arch-x86_64 -fvisibility=hidden -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 ../../components/subresource_filter/content/renderer/web_document_subresource_filter_impl.cc -o obj/components/subresource_filter/content/renderer/renderer/web_document_subresource_filter_impl.o
In file included from ../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/algorithm:628:0,
from ../../base/memory/ref_counted.h:10,
from ../../base/callback_internal.h:15,
from ../../base/callback.h:9,
from ../../components/subresource_filter/content/renderer/web_document_subresource_filter_impl.h:8,
from ../../components/subresource_filter/content/renderer/web_document_subresource_filter_impl.cc:5:
../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/memory: In instantiation of 'void std::__ndk1::unique_ptr<_Tp, _Dp>::reset(std::__ndk1::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = std::__ndk1::__function::__base<void(unsigned char*)>; _Dp = std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__function::__func<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&>, std::__ndk1::allocator<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&> >, void(unsigned char*)> > >; std::__ndk1::unique_ptr<_Tp, _Dp>::pointer = std::__ndk1::__function::__base<void(unsigned char*)>*]':
../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/memory:2598:52: required from 'std::__ndk1::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = std::__ndk1::__function::__base<void(unsigned char*)>; _Dp = std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__function::__func<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&>, std::__ndk1::allocator<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&> >, void(unsigned char*)> > >]'
../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/functional:1603:72: required from 'std::__ndk1::function<_Rp(_ArgTypes ...)>::function(_Fp, typename std::__ndk1::enable_if<(std::__ndk1::function<_Rp(_ArgTypes ...)>::__callable<_Fp>::value && (! std::__ndk1::is_same<_Fp, std::__ndk1::function<_Rp(_ArgTypes ...)> >::value))>::type*) [with _Fp = std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&>; _Rp = void; _ArgTypes = {unsigned char*}; typename std::__ndk1::enable_if<(std::__ndk1::function<_Rp(_ArgTypes ...)>::__callable<_Fp>::value && (! std::__ndk1::is_same<_Fp, std::__ndk1::function<_Rp(_ArgTypes ...)> >::value))>::type = void]'
../../third_party/flatbuffers/src/include/flatbuffers/flatbuffers.h:467:65: required from here
../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/memory:2630:34: error: invalid conversion from 'std::__ndk1::unique_ptr<std::__ndk1::__function::__base<void(unsigned char*)>, std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__function::__func<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&>, std::__ndk1::allocator<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&> >, void(unsigned char*)> > > >::pointer {aka std::__ndk1::__function::__base<void(unsigned char*)>*}' to 'std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__function::__func<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&>, std::__ndk1::allocator<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&> >, void(unsigned char*)> > >::pointer {aka std::__ndk1::__function::__func<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&>, std::__ndk1::allocator<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&> >, void(unsigned char*)>*}' [-fpermissive]
__ptr_.second()(__tmp);
^
In file included from ../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/algorithm:628:0,
from ../../base/memory/ref_counted.h:10,
from ../../base/callback_internal.h:15,
from ../../base/callback.h:9,
from ../../components/subresource_filter/content/renderer/web_document_subresource_filter_impl.h:8,
from ../../components/subresource_filter/content/renderer/web_document_subresource_filter_impl.cc:5:
../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/memory:3474:10: note: initializing argument 1 of 'void std::__ndk1::__allocator_destructor<_Alloc>::operator()(std::__ndk1::__allocator_destructor<_Alloc>::pointer) [with _Alloc = std::__ndk1::allocator<std::__ndk1::__function::__func<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&>, std::__ndk1::allocator<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&> >, void(unsigned char*)> >; std::__ndk1::__allocator_destructor<_Alloc>::pointer = std::__ndk1::__function::__func<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&>, std::__ndk1::allocator<std::__ndk1::__bind<void (flatbuffers::simple_allocator::*)(unsigned char*) const, const flatbuffers::simple_allocator&, unsigned char*&> >, void(unsigned char*)>*]'
void operator()(pointer __p) _NOEXCEPT
^
Comment 1 by estevenson@chromium.org
, Mar 8 2017