[llvm-bugs] [Bug 30698] New: OpenCL driver bug on AArch64 Ubuntu Xenial

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 14 03:58:34 PDT 2016


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

            Bug ID: 30698
           Summary: OpenCL driver bug on AArch64 Ubuntu Xenial
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: renato.golin at linaro.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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

We're moving up to a newer Ubuntu release and all Clang+LLVM+RT tests pass
except on: cl-phc.c.

The attached zip has the script/source to reproduce, but the error is:

clang-4.0:
/home/renato.golin/devel/llvm/worktree/arm64/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp:78:
void adjustCodeGenOpts(const llvm::Triple&, llvm::Reloc::Model,
llvm::CodeModel::Model&): Assertion `(TT.isOSBinFormatELF() ||
TT.isOSBinFormatMachO()) && "Only expect Darwin and ELF targets"' failed.

I'm not sure how to debug this.

-- 
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/20161014/4e403f37/attachment-0001.html>


More information about the llvm-bugs mailing list