Closed
Description
Using buildbot configure/compile scripts, in release mode with no other options (in particular no cuda). I have Manjaro linux, arch based, default compiler is g++ 9.3.0. I get the following error. Will try again with g++-8 (and -7 if that fails), I suspect this is an issue due to differing warning/error handling in 9.
FAILED: tools/sycl/source/CMakeFiles/sycl_object.dir/detail/error_handling/enqueue_kernel.cpp.o
/usr/bin/c++ -DXPTI_ENABLE_INSTRUMENTATION -DXPTI_STATIC_LIBRARY -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/sycl/source -I/home/bda/isycl/llvm/sycl/source -I/usr/include/libxml2 -Iinclude -I/home/bda/isycl/llvm/llvm/include -I/home/bda/isycl/llvm/xpti/include -I/home/bda/isycl/llvm/sycl/include -Itools/sycl/OpenCL/inc -fPIC -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wextra -Wno-deprecated-declarations -Werror -O3 -UNDEBUG -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -MD -MT tools/sycl/source/CMakeFiles/sycl_object.dir/detail/error_handling/enqueue_kernel.cpp.o -MF tools/sycl/source/CMakeFiles/sycl_object.dir/detail/error_handling/enqueue_kernel.cpp.o.d -o tools/sycl/source/CMakeFiles/sycl_object.dir/detail/error_handling/enqueue_kernel.cpp.o -c /home/bda/isycl/llvm/sycl/source/detail/error_handling/enqueue_kernel.cpp
In file included from /home/bda/isycl/llvm/sycl/include/CL/sycl/types.hpp:53,
from /home/bda/isycl/llvm/sycl/include/CL/sycl/intel/sub_group.hpp:22,
from /home/bda/isycl/llvm/sycl/include/CL/sycl/nd_item.hpp:17,
from /home/bda/isycl/llvm/sycl/include/CL/sycl/detail/cg.hpp:22,
from /home/bda/isycl/llvm/sycl/source/detail/error_handling/error_handling.hpp:11,
from /home/bda/isycl/llvm/sycl/source/detail/error_handling/enqueue_kernel.cpp:13:
/home/bda/isycl/llvm/sycl/include/CL/sycl/multi_ptr.hpp:520:3: error: converting ‘cl::sycl::multi_ptr<const void, Space>’ to the same type will never use a type conversion operator [-Werror=class-conversion]
520 | operator multi_ptr<const void, Space>() const {
| ^~~~~~~~
cc1plus: all warnings being treated as errors