[llvm-bugs] [Bug 50347] New: Mapping of global scope deep object fails

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 14 12:56:27 PDT 2021


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

            Bug ID: 50347
           Summary: Mapping of global scope deep object fails
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: jtramm at anl.gov
                CC: llvm-bugs at lists.llvm.org

Created attachment 24859
  --> https://bugs.llvm.org/attachment.cgi?id=24859&action=edit
reproducer

The code for this bug report is available here: 

https://github.com/jtramm/omp_target_issues/tree/master/global_test/class_A

When attempting to compile this code with clang++ for a V100 target I get the
following error:

clang++ -Wall -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda -Xopenmp-target
-march=sm_70 -g -c main.cpp -o main.o
<unknown>:0: error: expected relocatable expression
error: cannot compile inline asm
1 error generated.

The compiler version is:

$ clang++ --version
clang version 13.0.0 (https://github.com/llvm/llvm-project.git
c82a0ae70e280c1c40b1af09ef275ddc7ed4254d)

-- 
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/20210514/b223319e/attachment.html>


More information about the llvm-bugs mailing list