this error is from rebuild of old rocfft with new rocm-llvm, which means
we need to upgrade the whole stack together, cant to partial upgrade

-- Check for working CXX compiler: /usr/bin/hipcc - broken
CMake Error at /usr/share/cmake-4.2/Modules/CMakeTestCXXCompiler.cmake:73 
(message):
  The C++ compiler

    "/usr/bin/hipcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-iVbxsB'
    
    Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f 
Makefile cmTC_22238/fast
    gmake[2]: Entering directory 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-iVbxsB'
    /usr/bin/gmake  -f CMakeFiles/cmTC_22238.dir/build.make 
CMakeFiles/cmTC_22238.dir/build
    gmake[3]: Entering directory 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-iVbxsB'
    Building CXX object CMakeFiles/cmTC_22238.dir/testCXXCompiler.cxx.o
    /usr/bin/hipcc   -gz -g -O2 -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Xarch_host 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Xarch_host -fcf-protection -march=x86-64-v3 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/rocfft-7.1.1-0ubuntu1 -Wdate-time 
-D_FORTIFY_SOURCE=3  -o CMakeFiles/cmTC_22238.dir/testCXXCompiler.cxx.o -c 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-iVbxsB/testCXXCompiler.cxx
    sh: 1: /usr/lib/llvm-21/bin/clang++: not found
    sh: 1: /usr/local/cuda/bin/nvcc: not found
    sh: 1: nvcc: not found
    Device not supported - Defaulting to AMD
    sh: 1: /usr/lib/llvm-21/bin/clang++: not found
    failed to execute:/usr/lib/llvm-21/bin/clang++   -gz -g -O2 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -Xarch_host -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -Xarch_host 
-fcf-protection -march=x86-64-v3 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/rocfft-7.1.1-0ubuntu1 -Wdate-time 
-D_FORTIFY_SOURCE=3 -o "CMakeFiles/cmTC_22238.dir/testCXXCompiler.cxx.o" -c -x 
hip 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-iVbxsB/testCXXCompiler.cxx
    gmake[3]: *** [CMakeFiles/cmTC_22238.dir/build.make:81: 
CMakeFiles/cmTC_22238.dir/testCXXCompiler.cxx.o] Error 127
    gmake[3]: Leaving directory 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-iVbxsB'
    gmake[2]: *** [Makefile:134: cmTC_22238/fast] Error 2
    gmake[2]: Leaving directory 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-iVbxsB'
    
    


  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:54 (project)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153424

Title:
  [SRU] rocm-llvm 7.2.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rocm-llvm/+bug/2153424/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to