New issue
Advanced search Search tips

Issue 887961 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Oct 16
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Build failure: elm overlay, chromeos-chrome (jumbo)

Project Member Reported by richard....@arm.com, Sep 21

Issue description

Build fails with the following output:

FAILED: obj/services/network/network_service/network_service_jumbo_2.o 
armv7a-cros-linux-gnueabihf-clang++ -B/usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.27.0-gold -MMD -MF obj/services/network/network_service/network_service_jumbo_2.o.d -DIS_NETWORK_SERVICE_IMPL -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DCR_CLANG_REVISION=\"340925-2\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCR_SYSROOT_HASH=b732cc2c870314130b767557b34764f8dd0a3df8 -DOS_CHROMEOS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBP_EXTERN=extern -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DCHROMEOS -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING -I. -I../../../../../../../home/rtownsend/chrome_root/src -Igen -I../../../../../../../home/rtownsend/chrome_root/src/third_party/libwebp/src -I../../../../../../../home/rtownsend/chrome_root/src/third_party/libyuv/include -I../../../../../../../home/rtownsend/chrome_root/src/third_party/protobuf/src -Igen/protoc_out -I../../../../../../../home/rtownsend/chrome_root/src/third_party/protobuf/src -I../../../../../../../home/rtownsend/chrome_root/src/third_party/boringssl/src/include -I../../../../../../../home/rtownsend/chrome_root/src/third_party/ced/src -I../../../../../../../home/rtownsend/chrome_root/src/third_party/icu/source/common -I../../../../../../../home/rtownsend/chrome_root/src/third_party/icu/source/i18n -I../../../../../../../home/rtownsend/chrome_root/src/third_party/webrtc_overrides -I../../../../../../../home/rtownsend/chrome_root/src/third_party/webrtc -I../../../../../../../home/rtownsend/chrome_root/src/third_party/abseil-cpp -I../../../../../../../home/rtownsend/chrome_root/src/third_party/webrtc_overrides -I../../../../../../../home/rtownsend/chrome_root/src/testing/gtest/include -I../../../../../../../home/rtownsend/chrome_root/src/third_party/webrtc -fno-strict-aliasing -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -no-canonical-prefixes -flto=thin -fwhole-program-vtables --target=arm-linux-gnueabihf -march=armv8-a+crc -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-user-defined-warnings -Wno-unused-lambda-capture -Wno-null-pointer-arithmetic -Wno-enum-compare-switch -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g2 -gsplit-dwarf -ggnu-pubnames -fsanitize=cfi-vcall -fsanitize-blacklist=../../../../../../../home/rtownsend/chrome_root/src/tools/cfi/blacklist.txt -fsanitize=cfi-derived-cast -fsanitize=cfi-unrelated-cast -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-header-guard -isystem../../../../../../../build/elm/usr/include/nss -isystem../../../../../../../build/elm/usr/include/nspr -std=c++14 -fno-exceptions -fno-rtti --sysroot=../../../../../../../build/elm -fvisibility-inlines-hidden -pipe -march=armv8-a+crc -mtune=cortex-a57.cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -fno-split-dwarf-inlining -D__google_stl_debug_vector=1 -Wno-unknown-warning-option -stdlib=libc++  -c gen/services/network/network_service_jumbo_2.cc -o obj/services/network/network_service/network_service_jumbo_2.o
In file included from gen/services/network/network_service_jumbo_2.cc:38:
./../../../../../../../home/rtownsend/chrome_root/src/services/network/udp_socket.cc:29:5: error: redefinition of 'ClampBufferSize'
int ClampBufferSize(int requested_buffer_size) {
    ^
./../../../../../../../home/rtownsend/chrome_root/src/services/network/tcp_connected_socket.cc:23:5: note: previous definition is here
int ClampBufferSize(int requested_buffer_size) {

Bisection indicates that http://crrev.com/b52e5772bea1dd76f60fea8d1275d028b253a88a is responsible.
 

Sign in to add a comment