Created attachment 927954 [details] build log It seems to be this https://bugs.gentoo.org/945333 issue but when using clang. It also fails with gcc, but that's a different error.
Created attachment 927955 [details] emerge -pqv '=media-libs/opencv::gentoo'
Created attachment 927956 [details] emerge --info '=media-libs/opencv-4.10.0::gentoo'
Got broken by moving clang from sys-devel to llvm-core. Set NVCC_CCBIN=clang++-20 to work around this for now.
Created attachment 927977 [details] bug-955542.log That being said. It doesn't compile with clang-19 or clang-20 (with -allow-unsupported-compiler) either. It might be more fallout from glibc-2.41. We don't really support clang for cuda all that much yet. Some underlying infrastructure is there. But it's pretty much expect breakage.
(In reply to Paul Zander from comment #4) > We don't really support clang for cuda all that much yet. Some underlying > infrastructure is there. But it's pretty much expect breakage. Thanks for letting me know. I'll try to fix it failing to compile with gcc also then.
The long term goal is to allow that. So please keep testing and filing bugs. Or hit me up on irc (negril).