On 3/20/25 3:36 PM, Luya Tshimbalanga wrote:
Hello team,

Blender failed to build with this following line:
'''
   [4%] Generating kernel_gfx1010.fatbin
cd 
/builddir/build/BUILD/blender-4.4.0-build/blender-4.4.0/redhat-linux-build/intern/cycles/kernel
 && /usr/lib64/rocm/llvm/bin/clang++ --offload-arch=gfx1010 --genco 
/builddir/build/BUILD/blender-4.4.0-build/blender-4.4.0/intern/cycles/kernel/device/hip/kernel.cpp
 -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D HIPCC -I 
/builddir/build/BUILD/blender-4.4.0-build/blender-4.4.0/intern/cycles/kernel/.. -I 
/builddir/build/BUILD/blender-4.4.0-build/blender-4.4.0/intern/cycles/kernel/device/hip 
-Wno-parentheses-equality -Wno-unused-value -ffast-math -o 
/builddir/build/BUILD/blender-4.4.0-build/blender-4.4.0/redhat-linux-build/intern/cycles/kernel/kernel_gfx1010.fatbin
clang++: error: unknown argument: '--genco'
'''
The issue seems related to clang and ROCm. Could someone from either LLVM and 
AMD investigate the problem? Here is the scratch build done in one COPR 
repository:

The error is coming from ROCm's bundled version of clang and not the system
clang in Fedora, so someone from the ROCm side will need to look at it.

- Tom

https://copr.fedorainfracloud.org/coprs/g/designsuite/blender/build/8799618/

Thanks in advance,

Luya Tshimbalanga
Fedora Design Team
Design Suite maintainer

--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to