[llvm-bugs] [Bug 28522] New: libclc build error with current llvm/clang

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 12 09:28:51 PDT 2016


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

            Bug ID: 28522
           Summary: libclc build error with current llvm/clang
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: adf.lists at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Not sure where to file this or when it started (I haven't rebuilt libclc for
some time).

Trying to build current git libclc against git llvm, clang gives -

andy [libclc]$ ./configure.py --prefix=/usr
andy [libclc]$ make
LLVM-AS generic--/lib/subnormal_disable.bc
LLVM-AS generic--/lib/subnormal_use_default.bc
LLVM-CC nvptx--nvidiacl/lib/synchronization/barrier.cl.bc
./ptx-nvidiacl/lib/synchronization/barrier.cl:5:5: error: use of unknown
builtin '__builtin_ptx_bar_sync' [-Wimplicit-function-declaration]
    __builtin_ptx_bar_sync(0);
    ^
1 error generated.
Makefile:29: recipe for target
'nvptx--nvidiacl/lib/synchronization/barrier.cl.bc' failed
make: *** [nvptx--nvidiacl/lib/synchronization/barrier.cl.bc] Error 1

-- 
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/20160712/c3201c69/attachment.html>


More information about the llvm-bugs mailing list