IPC fuzzer compile failure |
||
Issue descriptionBuild with enable_ipc_fuzzer=1 See breakage on https://build.chromium.org/p/chromium.lkgr/console Example https://build.chromium.org/p/chromium.lkgr/builders/ASAN%20Release/builds/1990/steps/compile/logs/stdio [20287/21647] CXX obj/content/shell/common/layout_test/content_shell_lib.layout_test_messages.o FAILED: /mnt/data/b/build/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/tools/ipc_fuzzer/fuzzer/ipc_fuzzer.fuzzer.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DCR_CLANG_REVISION=264915-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_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_NOTIFICATIONS -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DFIELDTRIAL_TESTING_ENABLED -DADDRESS_SANITIZER -DMEMORY_TOOL_REPLACES_ALLOCATOR -DMEMORY_SANITIZER_INITIAL_SIZE -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_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 -DENABLE_IPC_FUZZER=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DUSE_CUPS -DGL_GLEXT_PROTOTYPES -DMOJO_USE_SYSTEM_IMPL -DPROTOBUF_USE_DLLS -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DFEATURE_ENABLE_SSL -DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH -DNO_MAIN_THREAD_WRAPPING -DNO_SOUND_SYSTEM -DLINUX -DWEBRTC_LINUX -DWEBRTC_POSIX -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_NOEXCEPT= -DU_STATIC_IMPLEMENTATION -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_NSS_VERIFIER=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DSANITIZER_COVERAGE -DLEAK_SANITIZER -DWTF_USE_LEAK_SANITIZER=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../.. -I../../skia/config -I../../third_party/khronos -I../../gpu -Igen/angle -I../../third_party/WebKit/Source -Igen/protoc_out -I../../third_party/protobuf -I../../third_party/protobuf/src -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -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/WebKit -I../../third_party/icu/source/common -I../../third_party/npapi -I../../third_party/npapi/bindings -I../../v8/include -I../../third_party/libpng -I../../third_party/zlib -I../../third_party/libwebp -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -I../../third_party/WebKit -Igen/third_party/WebKit -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 -Xclang -load -Xclang /mnt/data/b/build/slave/ASAN_Release/build/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansion -fcolor-diagnostics -B/mnt/data/b/build/slave/ASAN_Release/build/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -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 -pthread -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/glib-2.0 -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/gtk-2.0 -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/atk-1.0 -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/cairo -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/gdk-pixbuf-2.0 -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/pango-1.0 -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/gio-unix-2.0/ -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/pixman-1 -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/freetype2 -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/libpng12 -pthread -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/include/glib-2.0 -I/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -m64 -march=x86-64 --sysroot=/mnt/data/b/build/slave/ASAN_Release/build/src/build/linux/debian_wheezy_amd64-sysroot -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-coverage=edge -fsanitize=leak -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++/../libc++abi/trunk/include -c ../../tools/ipc_fuzzer/fuzzer/fuzzer.cc -o obj/tools/ipc_fuzzer/fuzzer/ipc_fuzzer.fuzzer.o In file included from ../../tools/ipc_fuzzer/fuzzer/fuzzer.cc:2020: In file included from ../../tools/ipc_fuzzer/message_lib/all_messages.h:28: In file included from ../../content/common/all_messages.h:10: In file included from ../../content/common/content_message_generator.h:33: ../../content/common/input_messages.h:118:28: error: 'pointer_action_type_' is a private member of 'content::SyntheticPointerActionParams' IPC_STRUCT_TRAITS_MEMBER(pointer_action_type_) ^ ../../content/common/input/synthetic_pointer_action_params.h:71:21: note: declared private here PointerActionType pointer_action_type_; ^ In file included from ../../tools/ipc_fuzzer/fuzzer/fuzzer.cc:2020: In file included from ../../tools/ipc_fuzzer/message_lib/all_messages.h:28: In file included from ../../content/common/all_messages.h:10: In file included from ../../content/common/content_message_generator.h:33: ../../content/common/input_messages.h:119:28: error: 'index_' is a private member of 'content::SyntheticPointerActionParams' IPC_STRUCT_TRAITS_MEMBER(index_) ^ ../../content/common/input/synthetic_pointer_action_params.h:75:7: note: declared private here int index_; ^ In file included from ../../tools/ipc_fuzzer/fuzzer/fuzzer.cc:2020: In file included from ../../tools/ipc_fuzzer/message_lib/all_messages.h:28: In file included from ../../content/common/all_messages.h:10: In file included from ../../content/common/content_message_generator.h:33: ../../content/common/input_messages.h:120:28: error: 'position_' is a private member of 'content::SyntheticPointerActionParams' IPC_STRUCT_TRAITS_MEMBER(position_) ^ ../../content/common/input/synthetic_pointer_action_params.h:73:15: note: declared private here gfx::PointF position_; ^ 3 errors generated. ninja: build stopped: subcommand failed. This has broken ipc build, Lanwei@ - this is a regression from your change - https://chromium.googlesource.com/chromium/src/+/7f8f2c5601e8506e62615e48e4a83424ea4b1c0b. please fix soon.
,
Apr 5 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/76edb92f5b5568d9b26847c27ec68a95f38e01c8 commit 76edb92f5b5568d9b26847c27ec68a95f38e01c8 Author: lanwei <lanwei@chromium.org> Date: Tue Apr 05 01:24:42 2016 Fix SyntheticPointerActionParams compile error for ipc fuzzer IPC Fuzzer redefines IPC_STRUCT_TRAITS_BEGIN, add another friend struct for SyntheticPointerActionParams. BUG= 600129 , 525187 TBR=tdresser@chromium.org Review URL: https://codereview.chromium.org/1859763002 Cr-Commit-Position: refs/heads/master@{#385072} [modify] https://crrev.com/76edb92f5b5568d9b26847c27ec68a95f38e01c8/content/common/input/synthetic_pointer_action_params.h
,
Apr 5 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by och...@chromium.org
, Apr 4 2016