pgcpp -Mcudax86 TERMINATED by signal11

I’m compiling some CUDA code to x86 using pgcpp. Unfortunately, it crashes during compilation. Here is the output below. The code compiles fine with nvcc and icpc.

/opt/pgi/linux86-64/13.9/bin/pgcpp -DLIBFREENECT_INTERFACE -I/opt/pgi/linux86-64/13.9/cuda/CUDA-x86-SDK/common/inc -I/opt/pgi/linux86-64/13.9/cuda/5.5/includ
e -Mcudax86 -Minfo -c
pgcpp-Fatal-/opt/pgi/linux86-64/13.9/bin/pgcpp1 TERMINATED by signal 11
Arguments to /opt/pgi/linux86-64/13.9/bin/pgcpp1
/opt/pgi/linux86-64/13.9/bin/pgcpp1 --llalign -Dunix -D__unix -D__unix__ -Dlinux -D__linux -D__linux__ -D__NO_MATH_INLINES -D__x86_64 -D__x86_64__ -D__LONG_M
AX__=9223372036854775807L ‘-D__SIZE_TYPE__=unsigned long int’ ‘-D__PTRDIFF_TYPE__=long int’ -D__THROW= -D__extension__= -D__amd_64__amd64__ -D__k8 -D__k8__ -
D__SSE__ -D__MMX__ -D__SSE2__ -D__SSE3__ -D__SSSE3__ -D__STDC_HOSTED__ -D__PGI -I/opt/pgi/linux86-64/13.9/cuda/CUDA-x86-SDK/common/inc -I/opt/pgi/linux86-64/
13.9/cuda/5.5/include -I- -I/opt/pgi/linux86-64/13.9/include/CC -I/opt/pgi/linux86-64/13.9/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.6/i
nclude -I/usr/lib/gcc/x86_64-linux-gnu/4.6/include -I/usr/include -DLIBFREENECT_INTERFACE --zc_eh --gnu_version=40601 -D__pgnu_vsn=40601 -q --cuda --mp -I/op
t/pgi/linux86-64/2013/cuda/5.0/include -D__PGI -D__CUDACC__ -D__PGI_CUDA_X86 --preinclude cuda_runtime.h --preinclude pgi_cuda_x86.h -o /tmp/pgcpp4v5eOMp6VNX
make: *** [helpers.o] Error 127

Any help on this would be appreciated. Apologies in advance if this is an error due to includes/flags.



Hi Andy,

Thanks for the report. Can you please send a reproducing example to PGI Customer Support ( We’ll need it in order to diagnose the issue.

  • Mat