Application build error with trunk (9.0.0)

My application fails to build on a POWER8 machine:

[ 35%] Building CXX object nestkernel/CMakeFiles/nestkernel.dir/subnet.cpp.o
[ 36%] Building CXX object nestkernel/CMakeFiles/nestkernel.dir/connector_model.cpp.o
[ 36%] Building CXX object nestkernel/CMakeFiles/nestkernel.dir/connection_id.cpp.o
[ 37%] Building CXX object nestkernel/CMakeFiles/nestkernel.dir/device.cpp.o
[ 37%] Building CXX object nestkernel/CMakeFiles/nestkernel.dir/dynamicloader.cpp.o
ptxas error : Debug information not found in presence of .target debug
ptxas fatal : Ptx assembly aborted due to errors
clang-9: error: ptxas command failed with exit code 255 (use -v to see invocation)
make[2]: *** [nestkernel/CMakeFiles/nestkernel.dir/dynamicloader.cpp.o] Error 255
make[1]: *** [nestkernel/CMakeFiles/nestkernel.dir/all] Error 2
make: *** [all] Error 2

Steps to produce:
$ git clone https://
$ mkdir /tmp/build/nest-clang-offload/
$ cd /tmp/build/nest-clang-offload/
$ cmake -DCMAKE_TOOLCHAIN_FILE=Platform/JURON_Clang -DCMAKE_INSTALL_PREFIX=/path/to/opt/nest-clang -Dwith-gsl=ON -Dwith-openmp=ON -Dwith-mpi=OFF -Dwith-python=OFF -Dwith-offload=ON /path/to/nest-simulator/

Alexey - Have you pushed the fix on to upstream i.e., projects/openmp repository?
I’m still seeing a build error with -O0 flag.

I’ve just confirmed that the build (with the -O0 debug flag included) went fine
on our POWER8 system. Thanks a lot!