OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.

Passing -g option is causing compiler to segfault

Bruce_M_
Beginner
256 Views

When I compile the following code with the -g flag to the OpenCL compiler, I get a segmentation fault.

[cpp]typedef struct { uint x; } S;

void f(__local S *p) {}

__kernel void k()

{

    __local S s;

    f(&s);

}[/cpp]

I'm using 64-bit Ubuntu 13.10 (which I know isn't supported, but perhaps this bug applies to supported platforms too). I tried to include more detailed instructions on how to reproduce the problem, but I kept getting an error message about triggering the spam filter.

0 Kudos
1 Reply
Yuri_K_Intel
Employee
256 Views
Hi Bruce, Thank you for reporting the issue. We had similar bug reports (with -g) before and there is a fix for it which I hope will be available in the next upcoming release. I will post an update here once the release is out. Thanks, Yuri
0 Kudos
Reply