Closed kiritigowda closed 9 months ago
Building with -D BUILD_WITH_AMD_ADVANCE=ON
-D BUILD_WITH_AMD_ADVANCE=ON
[ 70%] Building CXX object src/modules/CMakeFiles/modules.dir/hip/kernel/hue.cpp.o lld: error: undefined hidden symbol: llvm.amdgcn.atomic.inc.i32.p0i32 >>> referenced by /tmp/histogram-gfx941-aebaf1.o:(partial_histogram_pln) >>> referenced by /tmp/histogram-gfx941-aebaf1.o:(partial_histogram_pln) >>> referenced by /tmp/histogram-gfx941-aebaf1.o:(partial_histogram_pkd) >>> referenced 5 more times clang++: error: amdgcn-link command failed with exit code 1 (use -v to see invocation) make[2]: *** [src/modules/CMakeFiles/modules.dir/build.make:1302: src/modules/CMakeFiles/modules.dir/hip/kernel/histogram.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:918: src/modules/CMakeFiles/modules.dir/all] Error 2 make: *** [Makefile:166: all] Error 2
[ 72%] Building CXX object src/modules/CMakeFiles/modules.dir/hip/kernel/integral.cpp.o lld: error: undefined hidden symbol: llvm.amdgcn.atomic.inc.i32.p0i32 >>> referenced by /tmp/histogram-gfx941-d9e6b1.o:(partial_histogram_pln) >>> referenced by /tmp/histogram-gfx941-d9e6b1.o:(partial_histogram_pln) >>> referenced by /tmp/histogram-gfx941-d9e6b1.o:(partial_histogram_pkd) >>> referenced 5 more times clang++: error: amdgcn-link command failed with exit code 1 (use -v to see invocation) make[2]: *** [src/modules/CMakeFiles/modules.dir/build.make:1302: src/modules/CMakeFiles/modules.dir/hip/kernel/histogram.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:918: src/modules/CMakeFiles/modules.dir/all] Error 2 make: *** [Makefile:166: all] Error 2
ALL
Other
ROCm 6.0.0
rpp
cmake -D BUILD_WITH_AMD_ADVANCE=ON ../rpp
No response
@sampath1117 Please run a build-check on MI300 to see if we can replicate
@r-abishek @sampath1117 - requires rocm 6.0+ to reproduce & can be replicated on any machine
@kiritigowda PR #295 should fix this
Problem Description
Building with
-D BUILD_WITH_AMD_ADVANCE=ON
Operating System
ALL
CPU
ALL
GPU
Other
Other
ALL
ROCm Version
ROCm 6.0.0
ROCm Component
rpp
Steps to Reproduce
cmake -D BUILD_WITH_AMD_ADVANCE=ON ../rpp
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response