-
Notifications
You must be signed in to change notification settings - Fork 798
Open
Labels
Description
Describe the bug
Build the compiler with clang and --use-libcxx
to configure.py
and then run the below tests (possibly removing an XFAIL first)
Failed Tests (22):
SYCL :: basic_tests/accessor/host-acc-assign-op.cpp
SYCL :: basic_tests/accessor/target_device.cpp
SYCL :: basic_tests/builtins/relational_builtins.cpp
SYCL :: basic_tests/device-selectors-exception.cpp
SYCL :: basic_tests/group.cpp
SYCL :: basic_tests/host_image_accessor_read.cpp
SYCL :: basic_tests/id.cpp
SYCL :: basic_tests/item.cpp
SYCL :: basic_tests/range.cpp
SYCL :: basic_tests/vectors/vectors.cpp
SYCL :: esimd/odr.cpp
SYCL :: extensions/device_architecture/device_architecture.cpp
SYCL :: invoke_simd/return-type-uniform.cpp
SYCL :: matrix/matrix-bfloat16-test-coord-basicB.cpp
SYCL :: matrix/matrix-bfloat16-test.cpp
SYCL :: matrix/matrix-elemwise-ops.cpp
SYCL :: matrix/matrix-tf32-test.cpp
SYCL :: regression/bit_cast_lin.cpp
SYCL :: regression/check_config_processing.cpp
SYCL :: regression/fsycl-save-temps.cpp
SYCL :: regression/host_builtins_gcc.cpp
SYCL :: regression/memcpy-in-vec-as.cpp
https://github.com/intel/llvm/actions/runs/16578206884/job/46887680249
Example logs
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: SYCL :: esimd/odr.cpp (1766 of 1793)
******************** TEST 'SYCL :: esimd/odr.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 9
/__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -fsycl-targets=spir64-unknown-unknown -DSOURCE1 -c /__w/llvm/llvm/src/sycl/test/esimd/odr.cpp -o /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp1.o
# executed command: /__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -fsycl-targets=spir64-unknown-unknown -DSOURCE1 -c /__w/llvm/llvm/src/sycl/test/esimd/odr.cpp -o /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp1.o
# note: command had no output on stdout or stderr
# RUN: at line 10
/__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -fsycl-targets=spir64-unknown-unknown -DSOURCE2 -c /__w/llvm/llvm/src/sycl/test/esimd/odr.cpp -o /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp2.o
# executed command: /__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -fsycl-targets=spir64-unknown-unknown -DSOURCE2 -c /__w/llvm/llvm/src/sycl/test/esimd/odr.cpp -o /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp2.o
# note: command had no output on stdout or stderr
# RUN: at line 11
/__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -fsycl-targets=spir64-unknown-unknown /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp1.o /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp2.o -o /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp.exe
# executed command: /__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -fsycl-targets=spir64-unknown-unknown /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp1.o /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp2.o -o /__w/llvm/llvm/build/tools/sycl/test/esimd/Output/odr.cpp.tmp.exe
# .---command stderr------------
# | /usr/bin/ld: /tmp/lit-tmp-lno1bkmt/odr-3d8233.o: in function `sycl::_V1::queue::queue<int (sycl::_V1::device const&), void>(int ( const&)(sycl::_V1::device const&), std::function<void (sycl::_V1::exception_list)> const&, sycl::_V1::property_list const&)':
# | odr.cpp:(.text._ZN4sycl3_V15queueC2IFiRKNS0_6deviceEEvEERKT_RKSt8functionIFvNS0_14exception_listEEERKNS0_13property_listE[_ZN4sycl3_V15queueC2IFiRKNS0_6deviceEEvEERKT_RKSt8functionIFvNS0_14exception_listEEERKNS0_13property_listE]+0x3a): undefined reference to `sycl::_V1::detail::select_device(std::function<int (sycl::_V1::device const&)> const&)'
# | /usr/bin/ld: odr.cpp:(.text._ZN4sycl3_V15queueC2IFiRKNS0_6deviceEEvEERKT_RKSt8functionIFvNS0_14exception_listEEERKNS0_13property_listE[_ZN4sycl3_V15queueC2IFiRKNS0_6deviceEEvEERKT_RKSt8functionIFvNS0_14exception_listEEERKNS0_13property_listE]+0x51): undefined reference to `sycl::_V1::queue::queue(sycl::_V1::device const&, std::function<void (sycl::_V1::exception_list)> const&, sycl::_V1::property_list const&)'
# | /usr/bin/ld: /tmp/lit-tmp-lno1bkmt/odr-3d8233.o: in function `sycl::_V1::handler::throwIfActionIsCreated()':
# | odr.cpp:(.text._ZN4sycl3_V17handler22throwIfActionIsCreatedEv[_ZN4sycl3_V17handler22throwIfActionIsCreatedEv]+0x51): undefined reference to `sycl::_V1::exception::exception(std::error_code, char const*)'
# | /usr/bin/ld: /tmp/lit-tmp-lno1bkmt/odr-3d8233.o: in function `sycl::_V1::handler::throwOnKernelParameterMisuseHelper(int, sycl::_V1::detail::kernel_param_desc_t (*)(int)) const':
# | odr.cpp:(.text._ZNK4sycl3_V17handler34throwOnKernelParameterMisuseHelperEiPFNS0_6detail19kernel_param_desc_tEiE[_ZNK4sycl3_V17handler34throwOnKernelParameterMisuseHelperEiPFNS0_6detail19kernel_param_desc_tEiE]+0xa7): undefined reference to `sycl::_V1::exception::exception(std::error_code, char const*)'
# | /usr/bin/ld: odr.cpp:(.text._ZNK4sycl3_V17handler34throwOnKernelParameterMisuseHelperEiPFNS0_6detail19kernel_param_desc_tEiE[_ZNK4sycl3_V17handler34throwOnKernelParameterMisuseHelperEiPFNS0_6detail19kernel_param_desc_tEiE]+0x139): undefined reference to `sycl::_V1::exception::exception(std::error_code, char const*)'
# | /usr/bin/ld: /tmp/lit-tmp-lno1bkmt/odr-3d8233.o: in function `std::enable_if<std::is_same<unsigned long, unsigned long>::value||std::is_same<unsigned long, unsigned long long>::value, void>::type sycl::_V1::detail::checkValueRangeImpl<unsigned long>(unsigned long)':
# | odr.cpp:(.text._ZN4sycl3_V16detail19checkValueRangeImplImEENSt9enable_ifIXoosr3std7is_sameIT_mEE5valuesr3std7is_sameIS4_yEE5valueEvE4typeES4_[_ZN4sycl3_V16detail19checkValueRangeImplImEENSt9enable_ifIXoosr3std7is_sameIT_mEE5valuesr3std7is_sameIS4_yEE5valueEvE4typeES4_]+0x4a): undefined reference to `sycl::_V1::exception::exception(std::error_code, char const*)'
# | /usr/bin/ld: /tmp/lit-tmp-lno1bkmt/odr-3d8233.o: in function `sycl::_V1::detail::array<1>::operator[](int) const':
# | odr.cpp:(.text._ZNK4sycl3_V16detail5arrayILi1EEixEi[_ZNK4sycl3_V16detail5arrayILi1EEixEi]+0x61): undefined reference to `sycl::_V1::exception::exception(std::error_code, char const*)'
# | /usr/bin/ld: /tmp/lit-tmp-lno1bkmt/odr-3d8233.o:odr.cpp:(.text._Z20__esimd_svm_block_ldIiLi8ELm4EEN4sycl3_V13ext5intel5esimd6detail15raw_vector_typeIT_XT0_EE4typeEPKS9_[_Z20__esimd_svm_block_ldIiLi8ELm4EEN4sycl3_V13ext5intel5esimd6detail15raw_vector_typeIT_XT0_EE4typeEPKS9_]+0x3d): more undefined references to `sycl::_V1::exception::exception(std::error_code, char const*)' follow
# | clang: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 1
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: SYCL :: regression/host_builtins_gcc.cpp (1773 of 1793)
******************** TEST 'SYCL :: regression/host_builtins_gcc.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -std=c++17 /__w/llvm/llvm/src/sycl/test/regression/host_builtins_gcc.cpp -o /__w/llvm/llvm/build/tools/sycl/test/regression/Output/host_builtins_gcc.cpp.tmp_clang_host.out
# executed command: /__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -std=c++17 /__w/llvm/llvm/src/sycl/test/regression/host_builtins_gcc.cpp -o /__w/llvm/llvm/build/tools/sycl/test/regression/Output/host_builtins_gcc.cpp.tmp_clang_host.out
# note: command had no output on stdout or stderr
# RUN: at line 2
/__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -std=c++17 -fsycl-host-compiler=g++ -fsycl-host-compiler-options="-std=c++17" /__w/llvm/llvm/src/sycl/test/regression/host_builtins_gcc.cpp -o /__w/llvm/llvm/build/tools/sycl/test/regression/Output/host_builtins_gcc.cpp.tmp_gcc_host.out
# executed command: /__w/llvm/llvm/build/bin/clang --driver-mode=g++ -fsycl -std=c++17 -fsycl-host-compiler=g++ -fsycl-host-compiler-options=-std=c++17 /__w/llvm/llvm/src/sycl/test/regression/host_builtins_gcc.cpp -o /__w/llvm/llvm/build/tools/sycl/test/regression/Output/host_builtins_gcc.cpp.tmp_gcc_host.out
# .---command stderr------------
# | /usr/bin/ld: /tmp/lit-tmp-lno1bkmt/host_builtins_gcc-c0d797.o: in function `sycl::_V1::detail::array<3>::operator[](int)':
# | host_builtins_gcc-9ec0a6.cpp:(.text._ZN4sycl3_V16detail5arrayILi3EEixEi[_ZN4sycl3_V16detail5arrayILi3EEixEi]+0x61): undefined reference to `sycl::_V1::exception::exception(std::error_code, char const*)'
# | /usr/bin/ld: /tmp/lit-tmp-lno1bkmt/host_builtins_gcc-c0d797.o: in function `sycl::_V1::detail::array<1>::operator[](int)':
# | host_builtins_gcc-9ec0a6.cpp:(.text._ZN4sycl3_V16detail5arrayILi1EEixEi[_ZN4sycl3_V16detail5arrayILi1EEixEi]+0x61): undefined reference to `sycl::_V1::exception::exception(std::error_code, char const*)'
# | clang: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 1
To reproduce
No response
Environment
No response
Additional context
No response