5 Replies Latest reply on Jun 4, 2010 6:58 AM by omkaranathan

    Program Build Fails with Debugging Enabled


      I am attempting to debug a kernel on the CPU with gdb.  I appended -g to the build options, and clc runs for a much longer period of time than normal.  Finally, clBuildProgram returns -11 (buiild failure), and checking the value of CL_PROGRAM_BUILD_STATUS I get -2 (build error).  The program does compile normally without the -g option.

      I'm running on Linux, Ubuntu 10.04.  Any ideas?