too long lines were shrinked: clang-15: warning: -lvi-cfi: 'linker' input unused [-Wunused-command-line-argument] [1847/1943] /usr/lib/llvm/15/bin/clang-15 -DCL_HPP_TARGET_OPENCL_VERSION=300 -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DCL_USE_DEP FAILED: lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o /usr/lib/llvm/15/bin/clang-15 -DCL_HPP_TARGET_OPENCL_VERSION=300 -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DCL_USE_DEPRECATED_OPEN clang-15: warning: -lvi-load-hardening: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -lvi-cfi: 'linker' input unused [-Wunused-command-line-argument] /var/tmp/portage/dev-libs/pocl-3.1/work/pocl-3.1/lib/CL/pocl_mem_management.c:120:7: error: use of undeclared identifier 'cmd' if (cmd && cmd->buffered) ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-j4_test-20221211-060004 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.6 Python 3.10.9 Available Rust versions: [1] rust-bin-1.65.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11] Available Java Virtual Machines: [1] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): HEAD of ::gentoo commit f77faab7b3157a9b556ec8a3f02854b251b7a0e1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Dec 12 13:31:48 2022 +0000 2022-12-12 13:31:48 UTC emerge -qpvO dev-libs/pocl [ebuild N ] dev-libs/pocl-3.1 USE="accel conformance hardening hwloc memmanager (-cuda) -debug -doc -examples -float-conversion -lto -test"
Created attachment 842059 [details] emerge-info.txt
Created attachment 842061 [details] dev-libs:pocl-3.1:20221212-143105.log.bz2
Created attachment 842063 [details] emerge-history.txt
Created attachment 842065 [details] environment
Created attachment 842067 [details] etc.clang.tar.bz2
Created attachment 842069 [details] etc.portage.tar.bz2
Created attachment 842071 [details] logs.tar.bz2
Created attachment 842073 [details] temp.tar.bz2
Compiles fine for me with clang-15.0.6 and "stricter" flag on clang-common.