supported GNU version

CUDA 9.1 installed on to a system that I have access to, when building openmp project
with offloading support I get:

[22/1456] Building NVCC (Device) object projects/…common/src/omptarget-nvptx_generated_support.cu.o
FAILED: projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir//common/src/omptarget-nvptx_generated_support.cu.o
cd /home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/
/common/src && /home/usr4/c74014i/opt/cmake-3.15.5-Linux-x86_64/bin/cmake -E make_directory /home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir//common/src/. && /home/usr4/c74014i/opt/cmake-3.15.5-Linux-x86_64/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir//common/src/./omptarget-nvptx_generated_support.cu.o -D generated_cubin_file:STRING=/home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir//common/src/./omptarget-nvptx_generated_support.cu.o.cubin.txt -P /home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir//common/src/omptarget-nvptx_generated_support.cu.o.Release.cmake
In file included from /home/app/cuda/9.1/include/host_config.h:50,
from /home/app/cuda/9.1/include/cuda_runtime.h:78,
from :
/home/app/cuda/9.1/include/crt/host_config.h:121:2: error: #error – unsupported GNU version! gcc versions later than 6 are not supported!
121 | #error – unsupported GNU version! gcc versions later than 6 are not supported!

^~~~~
CMake Error at omptarget-nvptx_generated_support.cu.o.Release.cmake:215 (message):
Error generating
/home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/__/common/src/./omptarget-nvptx_generated_support.cu.o

Should I discuss this with the local admin saying CUDA 9.1 installation is not
done properly or just this is a limitation of the 9.1 release?

That’s the expected behavior. See
https://gist.github.com/ax3l/9489132 for details on GCC version requirements of various CUDA releases.

Jeff