Package: clang-17 Version: 1:17.0.6-5 Severity: minor X-Debbugs-Cc: c...@slerp.xyz, debian...@lists.debian.org
Dear Maintainer, I noticed a build failure in rocmprim on ppc64el that seems to have been introduced between clang-15 and clang-17. I'm not certain that this is a compiler issue, because several ROCm libraries are closely coupled to the compiler also must be updated to switch out the compiler. However, the error message seems to suggest that it is compiler-related. Compare the buildd logs for rocprim 5.7.1 using clang-17 [1] and using clang-15 [2]. With clang-17, this error is encountered on ppc64el: [ 80%] Building CXX object test/rocprim/CMakeFiles/test_warp_sort.dir/test_warp_sort.cpp.o cd /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/test/rocprim && /usr/bin/hipcc -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/rocprim/include -I/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/rocprim/include/rocprim -I/<<PKGBUILDDIR>>/rocprim/include -isystem /<<PKGBUILDDIR>>/test -isystem /usr/lib/clang/17.0.6/include/.. -gz -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Xarch_host -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++14 -DGTEST_HAS_PTHREAD=1 -x hip --offload-arch=gfx803 --offload-arch=gfx900 --offload-arch=gfx906 --offload-arch=gfx908 --offload-arch=gfx90a --offload-arch=gfx1010 --offload-arch=gfx1030 --offload-arch=gfx1100 --offload-arch=gfx1101 --offload-arch=gfx1102 -MD -MT test/rocprim/CMakeFiles/test_warp_sort.dir/test_warp_sort.cpp.o -MF CMakeFiles/test_warp_sort.dir/test_warp_sort.cpp.o.d -o CMakeFiles/test_warp_sort.dir/test_warp_sort.cpp.o -c /<<PKGBUILDDIR>>/test/rocprim/test_warp_sort.cpp <...> fatal error: error in backend: Do not know how to promote this operator's operand! clang++-17: error: clang frontend command failed with exit code 70 (use -v to see invocation) Debian clang version 17.0.6 (5) Target: powerpc64le-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin clang++-17: note: diagnostic msg: Error generating preprocessed source(s). make[3]: *** [test/rocprim/CMakeFiles/test_warp_sort.dir/build.make:79: test/rocprim/CMakeFiles/test_warp_sort.dir/test_warp_sort.cpp.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:1511: test/rocprim/CMakeFiles/test_warp_sort.dir/all] Error 2 Sincerely, Cory Bloor [1]: https://buildd.debian.org/status/fetch.php?pkg=rocprim&arch=ppc64el&ver=5.7.1-2%7Eexp1&stamp=1709257820&raw=0 [2]: https://buildd.debian.org/status/fetch.php?pkg=rocprim&arch=ppc64el&ver=5.7.1-1&stamp=1706224966&raw=0 -- System Information: Architecture: ppc64el (ppc64le) Kernel: Linux 5.10.0-28-powerpc64le Shell: /bin/sh Versions of packages clang-17 depends on: ii binutils 2.42-3 ii libc6 2.37-15 ii libc6-dev 2.37-15 ii libclang-common-17-dev 1:17.0.6-5 ii libclang-cpp17t64 1:17.0.6-5 ii libclang1-17t64 1:17.0.6-5 ii libgcc-13-dev 13.2.0-16.1 ii libgcc-s1 14-20240221-2.1 ii libobjc-13-dev 13.2.0-16.1 ii libstdc++-13-dev 13.2.0-16.1 ii libstdc++6 14-20240221-2.1 ii llvm-17-linker-tools 1:17.0.6-5 -- no debconf information