Trouble compiling GPU Computing SDK: segmentation fault I get a "internal compiler error: Segmen

Hello all,

I’m trying to install the CUDA toolkit and SDK on my computer. I’ve gone through the installation as described in the Getting Started on Linux documentation for both the toolkit and the SDK. When I get to verifying the installation by typing “make” in [font=“Courier New”]~/NVIDIA_GPU_Computing_SDK/C[/font] directory, I get this strange error:

...*whole bunch of lines for make*...

make -C src/simpleGL/ 

make[1]: Entering directory `/home/common/NVIDIA_GPU_Computing_SDK/C/src/simpleGL'

In file included from simpleGL.cpp:49:

/usr/local/cuda/include/cuda_runtime.h:145: warning: unused parameter ‘flags’

In file included from /usr/local/cuda/bin/../include/common_functions.h:91,

                 from /usr/local/cuda/bin/../include/crt/host_runtime.h:164,

                 from /tmp/tmpxft_00002bb3_00000000-4_simpleGL_kernel.compute_10.cudafe1.stub.c:2,

                 from /tmp/tmpxft_00002bb3_00000000-4_simpleGL_kernel.compute_10.cudafe1.stub.c:2:

/usr/local/cuda/bin/../include/math_functions.h: In function ‘long long int llmin(long long int, long long int)’:

/usr/local/cuda/bin/../include/math_functions.h:4961: internal compiler error: Segmentation fault

Please submit a full bug report,

with preprocessed source if appropriate.

See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.

make[1]: *** [obj/i386/release/] Error 1

make[1]: Leaving directory `/home/common/NVIDIA_GPU_Computing_SDK/C/src/simpleGL'

make: *** [src/simpleGL/Makefile.ph_build] Error 2

My system is as follows:

Ubuntu 10.04 LTS 32-bit

GeForce 8800 GT

NVidia driver version 260.19.26 (Developer Driver for Linux)

CUDA Toolkit 3.2

All help is greatly appreciated. Please let me know if more system information is needed. Thanks!

That is a gcc internal compiler error, not anything related to CUDA. You might want to check what compiler version you are using and whether there is a newer version in the 10.04 LTS tree, or if you have the most recent version, whether rolling back to an earlier version fixes the problem.

I have gcc version 4.4.3, which is later than the mininum (can’t recall where I read that). I suppose I could downgrade, but I’m a little wary of doing such.