Skip to content

Instantly share code, notes, and snippets.

@dcerisano
Created January 24, 2020 04:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcerisano/502a55e766857ab99158739a6011ba26 to your computer and use it in GitHub Desktop.
Save dcerisano/502a55e766857ab99158739a6011ba26 to your computer and use it in GitHub Desktop.
gn gen out/Shared --target_cpu="x64" --args="is_component_build=true is_debug=false is_clang=true"
Done. Made 129 targets from 68 files in 139ms
ninja -C out/Shared
ninja: Entering directory `out/Shared'
[89/642] CXX obj/libdawn_native_sources/BackendGL.o
FAILED: obj/libdawn_native_sources/BackendGL.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/libdawn_native_sources/BackendGL.o.d -DDAWN_ENABLE_VULKAN_VALIDATION_LAYERS -DDAWN_VK_DATA_DIR=\"vulkandata\" -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DCR_CLANG_REVISION=\"365097-f7e52fbd-8\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DCOMPONENT_BUILD -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_ABI_VERSION=Cr -D_LIBCPP_ENABLE_NODISCARD -DCR_LIBCXX_REVISION=361348 -DCR_SYSROOT_HASH=e7c53f04bd88d29d075bfd1f62b073aeb69cbe09 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DDAWN_ENABLE_BACKEND_NULL -DDAWN_ENABLE_BACKEND_OPENGL -DDAWN_ENABLE_BACKEND_VULKAN -DDAWN_USE_X11 -DSHADERC_SHAREDLIB -DSPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS -DVK_USE_PLATFORM_XCB_KHR -DDAWN_ENABLE_BACKEND_NULL -DDAWN_ENABLE_BACKEND_OPENGL -DDAWN_ENABLE_BACKEND_VULKAN -DDAWN_USE_X11 -I../.. -Igen -Igen/src -I../../src -Igen/src/include -I../../src/include -I../../third_party/shaderc/libshaderc/include -I../../third_party/shaderc/libshaderc_spvc/include -I../../third_party/spirv-headers/include -I../../third_party/SPIRV-Tools -Igen/third_party/SPIRV-Tools -I../../third_party/spirv-cross -I../../third_party -I../../third_party/khronos -I../../third_party/khronos -Igen/src -I../../src -I../../third_party/SPIRV-Tools/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -m64 -march=x86-64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_amd64-sysroot -fvisibility-inlines-hidden -c ../../src/dawn_native/opengl/BackendGL.cpp -o obj/libdawn_native_sources/BackendGL.o
../../src/dawn_native/opengl/BackendGL.cpp:184:25: error: allocating an object of abstract class type 'dawn_native::opengl::Device'
return {new Device(this, descriptor, mFunctions)};
^
../../src/dawn_native/Device.h:215:69: note: unimplemented pure virtual method 'CreateRayTracingAccelerationContainerImpl' in 'Device'
virtual ResultOrError<RayTracingAccelerationContainerBase*> CreateRayTracingAccelerationContainerImpl(
^
../../src/dawn_native/Device.h:217:66: note: unimplemented pure virtual method 'CreateRayTracingShaderBindingTableImpl' in 'Device'
virtual ResultOrError<RayTracingShaderBindingTableBase*> CreateRayTracingShaderBindingTableImpl(
^
../../src/dawn_native/Device.h:219:56: note: unimplemented pure virtual method 'CreateRayTracingPipelineImpl' in 'Device'
virtual ResultOrError<RayTracingPipelineBase*> CreateRayTracingPipelineImpl(
^
1 error generated.
[92/642] CXX obj/libdawn_native_sources/CommandBufferGL.o
FAILED: obj/libdawn_native_sources/CommandBufferGL.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/libdawn_native_sources/CommandBufferGL.o.d -DDAWN_ENABLE_VULKAN_VALIDATION_LAYERS -DDAWN_VK_DATA_DIR=\"vulkandata\" -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DCR_CLANG_REVISION=\"365097-f7e52fbd-8\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DCOMPONENT_BUILD -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_ABI_VERSION=Cr -D_LIBCPP_ENABLE_NODISCARD -DCR_LIBCXX_REVISION=361348 -DCR_SYSROOT_HASH=e7c53f04bd88d29d075bfd1f62b073aeb69cbe09 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DDAWN_ENABLE_BACKEND_NULL -DDAWN_ENABLE_BACKEND_OPENGL -DDAWN_ENABLE_BACKEND_VULKAN -DDAWN_USE_X11 -DSHADERC_SHAREDLIB -DSPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS -DVK_USE_PLATFORM_XCB_KHR -DDAWN_ENABLE_BACKEND_NULL -DDAWN_ENABLE_BACKEND_OPENGL -DDAWN_ENABLE_BACKEND_VULKAN -DDAWN_USE_X11 -I../.. -Igen -Igen/src -I../../src -Igen/src/include -I../../src/include -I../../third_party/shaderc/libshaderc/include -I../../third_party/shaderc/libshaderc_spvc/include -I../../third_party/spirv-headers/include -I../../third_party/SPIRV-Tools -Igen/third_party/SPIRV-Tools -I../../third_party/spirv-cross -I../../third_party -I../../third_party/khronos -I../../third_party/khronos -Igen/src -I../../src -I../../third_party/SPIRV-Tools/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -m64 -march=x86-64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_amd64-sysroot -fvisibility-inlines-hidden -c ../../src/dawn_native/opengl/CommandBufferGL.cpp -o obj/libdawn_native_sources/CommandBufferGL.o
../../src/dawn_native/opengl/CommandBufferGL.cpp:246:29: error: enumeration value 'AccelerationContainer' not handled in switch [-Werror,-Wswitch]
switch (layout.types[bindingIndex]) {
^
1 error generated.
[97/642] CXX obj/libdawn_native_sources/OpenGLFunctionsBase_autogen.o
[98/642] CXX obj/dawn_unittests/mock_webgpu.o
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment