[llvm-bugs] [Bug 25152] New: RDRAND intrinsic and "error: clang frontend command failed with exit code 70"

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 12 13:18:58 PDT 2015


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

            Bug ID: 25152
           Summary: RDRAND intrinsic and "error: clang frontend command
                    failed with exit code 70"
           Product: clang
           Version: 3.6
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: noloader at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15058
  --> https://llvm.org/bugs/attachment.cgi?id=15058&action=edit
rdrand-clang.cxx, rdrand-clang-8c9091.cpp and rdrand-clang-8c9091.sh

I'm attempting to use the RDRAND intrinsics with Clang 3.6 on OS X 10.8.5.
Clang 3.6 was built from sources.

$ /usr/local/bin/clang++ -g2 -O2 rdrand-clang.cxx -o rdrand-clang.exe
fatal error: error in backend: Cannot select: 0x7fc162aa6220: i32,glue,ch =
      X86ISD::RDRAND 0x7fc16245e890 [ORD=3] [ID=6] dbg:rdrand-clang.cxx:54:7
In function: main
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.6.0 (tags/RELEASE_360/final)
Target: x86_64-apple-darwin12.6.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/mk/y7lk0xrx72lcn_2q3d12jcch0000gn/T/rdrand-clang-8c9091.cpp
clang: note: diagnostic msg:
/var/folders/mk/y7lk0xrx72lcn_2q3d12jcch0000gn/T/rdrand-clang-8c9091.sh
clang: note: diagnostic msg: 

********************

-- 
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/20151012/020a7801/attachment.html>


More information about the llvm-bugs mailing list