Hi All, Just finished upgrade of my Ubuntu system with AMD gfx1030 GPU from 20.04 to 22.04. Everything worked on 20.04, however it does not work on 22.04. The problem I have is tyhat none of the installed compielrs work they cannot find STL headers and libraries. I used the script installer method and validated the install as documented in the ROCm install guide. Here is the output when I try to compile the hello world OpenMP example from the HIP-Eamples repo:
```
bloring@amdrad:~/work/HIP-Examples/openmp-helloworld/build$ cmake ..
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- hip::amdhip64 is SHARED_LIBRARY
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bloring/work/HIP-Examples/openmp-helloworld/build
bloring@amdrad:~/work/HIP-Examples/openmp-helloworld/build$ make
[ 50%] Building CXX object CMakeFiles/test_openmp_helloworld.dir/openmp_helloworld.cpp.o
In file included from <built-in>:1:
/opt/rocm-5.4.3/llvm/lib/clang/15.0.0/include/__clang_hip_runtime_wrapper.h:50:10: fatal error: 'cmath' file not found
#include <cmath>
^~~~~~~
1 error generated when compiling for gfx1030.
make[2]: *** [CMakeFiles/test_openmp_helloworld.dir/build.make:76: CMakeFiles/test_openmp_helloworld.dir/openmp_helloworld.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/test_openmp_helloworld.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
```