New issue
Advanced search Search tips

Issue 822827 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

error: no viable overloaded '=' when enable vulkan in build

Reported by sl1pk...@gmail.com, Mar 16 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3350.0 Safari/537.36

Steps to reproduce the problem:
1. download dev channel source tarball
2. set 'enable_vulkan=true'
3. start build

What is the expected behavior?
build

What went wrong?
fail build

FAILED: obj/components/viz/service/service/skia_renderer.o 
/tmp/makepkg/chromium-dev/src/chromium-66.0.3359.26/third_party/llvm-build/Release+Asserts/bin/clang++  -MMD -MF obj/components/viz/service/service/skia_renderer.o.d -DVIZ_SERVICE_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=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 -DNO_UNWIND_TABLES -DCR_CLANG_REVISION=\"325667-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSPIRV_LINUX -DGLSLANG_OSINCLUDE_UNIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DENABLE_IPC_FUZZER -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -I../.. -Igen -Igen/shim_headers/libpng_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/zlib_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/libdrm_shim -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -I../../third_party/vulkan/include -I../../third_party/shaderc/src/libshaderc/include -I../../third_party/shaderc/src/libshaderc_util/include -I../../third_party/SPIRV-Tools/src/include -I../../third_party/glslang/src -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/snappy_shim -Igen/shim_headers/opus_shim -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/encode -I../../third_party/skia/include/gpu -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/usr/include -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/skia/include/gpu/vk -I../../third_party/vulkan/include -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/protobuf/src -I../../third_party/libwebm/source -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/mesa/src/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -no-canonical-prefixes -m64 -march=x86-64 -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-inconsistent-missing-override -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -isystem/usr/include/glib-2.0 -isystem/usr/lib/glib-2.0/include -std=gnu++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -D_FORTIFY_SOURCE=2 -march=native -O2 -pipe -fstack-protector-strong  -Wno-unknown-warning-option -c ../../components/viz/service/display/skia_renderer.cc -o obj/components/viz/service/service/skia_renderer.o
../../components/viz/service/display/skia_renderer.cc:191:16: error: no viable overloaded '='
  info_.fAlloc = {VK_NULL_HANDLE, 0, 0, 0};
  ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
../../third_party/skia/include/gpu/vk/GrVkTypes.h:33:8: note: candidate function (the implicit copy assignment operator) not viable: cannot convert initializer list argument to 'const GrVkAlloc'
struct GrVkAlloc {
       ^
../../third_party/skia/include/gpu/vk/GrVkTypes.h:33:8: note: candidate function (the implicit move assignment operator) not viable: cannot convert initializer list argument to 'GrVkAlloc'
1 error generated.

Did this work before? Yes 66.0.3350.0

Chrome version: 66.0.3350.0  Channel: n/a
OS Version: 
Flash Version: 

using clang from google (python2 tools/clang/scripts/update.py --without-android)
 
Components: Internals>Services>Viz

Comment 2 by cblume@chromium.org, May 31 2018

Cc: cblume@chromium.org

Sign in to add a comment