intel / intel/llvm

Segmentation fault when trying to compile SYCL code with -gline-tables-only option

Open
#18,311 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Describe the bug

Hi,
I am trying to compile SYCL code in PVC with -gline-tables-only option to generate debug info as mentioned in VTune docs
https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2024-2/debug-info-for-linux-binaries.html

`icpx -gline-tables-only -fdebug-info-for-profiling -fsycl -fsycl-targets=spir64_gen -Xs "-device pvc" reduction_sum_1d.cpp
`
But it is giving error as below

Image

Any suggestions on how to resolve this issue?

### To reproduce

Adding the code below
[reduction_sum_1d.txt](https://github.com/user-attachments/files/20034817/reduction_sum_1d.txt)

### Environment

- OS: Ubuntu 22.04
- Target device and vendor: Intel(R) Data Center GPU Max 1550 (PVC)

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.