[llvm-bugs] [Bug 49791] New: Compiling Offloading code with -g causes a segmentation fault

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 31 10:43:04 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=49791

            Bug ID: 49791
           Summary: Compiling Offloading code with -g causes a
                    segmentation fault
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: huberjn at ornl.gov
                CC: llvm-bugs at lists.llvm.org

Compiling the following code (https://godbolt.org/z/aYefxeWc8) with -g causes a
segmentation fault in ptxas for unknown reasons.

$ clang++ -fopenmp -fopenmp-targets=nvptx64 -g work.cpp
clang-13: error: unable to execute command: Segmentation fault (core dumped)
clang-13: error: ptxas command failed due to signal (use -v to see invocation)
clang version 13.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home2/3n4/clang/bin
clang-13: note: diagnostic msg: Error generating preprocessed source(s).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210331/a6afbe47/attachment.html>


More information about the llvm-bugs mailing list