<div dir="ltr">Hi,<div>I am trying to build an application that can do OpenMP offloading on a POWER8 + P100 system using the latest LLVM/Clang toolchain (openmp</div><div>is too the latest).</div><div><br></div><div>The build error is:</div><div><div>[  3%] Building CXX object sli/CMakeFiles/sli_lib.dir/arraydatum.cc.o</div><div>cd /gpfs/work/pcp0/pcp0151/build/nest-clang-upstream/sli && /gpfs/work/pcp0/pcp0151/opt/llvm+clang-upstream/bin/clang++  -Dsli_lib_EXPORTS -I/bgsys/drivers/ppcfloor/comm/gcc/include -I/gpfs/software/opt/gsl/2.4/include -I/gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/libnestutil -I/gpfs/work/pcp0/pcp0151/build/nest-clang-upstream/libnestutil  -std=c++11 -O2 -Wall -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda --cuda-path=/gpfs/software/opt/cuda/9.2.88  -fPIC   -o CMakeFiles/sli_lib.dir/arraydatum.cc.o -c /gpfs/homeb/pcp0/pcp0151/projects/nest-simulator/sli/arraydatum.cc</div><div>ptxas fatal   : Cannot take address of function '__pthread_key_create'</div><div>clang-8: error: ptxas command failed with exit code 255 (use -v to see invocation)</div><div>make[2]: *** [sli/CMakeFiles/sli_lib.dir/arraydatum.cc.o] Error 255</div><div>make[2]: Leaving directory `/gpfs/work/pcp0/pcp0151/build/nest-clang-upstream'</div><div>make[1]: *** [sli/CMakeFiles/sli_lib.dir/all] Error 2</div><div>make[1]: Leaving directory `/gpfs/work/pcp0/pcp0151/build/nest-clang-upstream'</div><div>make: *** [all] Error 2</div></div><div><br></div><div>The CUDA toolkit is 9.2.88, is it possible the error is fixed in the</div><div>latest toolkit?</div><div><br></div><div>Thanks,</div><div>Itaru.</div></div>