[llvm-bugs] [Bug 40918] New: clang frontend command failed with exit code 70

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 1 06:56:31 PST 2019


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

            Bug ID: 40918
           Summary: clang frontend command failed with exit code 70
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: shi1986000 at 126.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Tips:
when building libclc-20140901gite822ae3 source package, I encountered  the
following error message associated with CLANG. Here I will provide some
compilation environment and software version information.

ENV Info:
(1) clang info
[loongson at localhost rpmbuild]$ clang --version
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: mips64el-unknown-linux-gnu
Thread model: posix

(2)arch info:

Linux localhost 4.16.0-rc7+ #73 SMP PREEMPT Thu Feb 14 15:24:32 CST 2019 mips64
mips64 mips64 GNU/Linux
(3)CPU info:
[loongson at localhost rpmbuild]$ lscpu
Architecture:          mips64
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
... ... ... ... ...
(4)llvm verson:
[loongson at localhost rpmbuild]$ rpm -qa | grep llvm
llvm-static-3.4-15.fc21.loongson.mips64el
llvm-libs-3.4-15.fc21.loongson.mips64el
llvm-doc-3.4-15.fc21.loongson.noarch
llvm-3.4-15.fc21.loongson.mips64el
llvm-devel-3.4-15.fc21.loongson.mips64el
[loongson at localhost rpmbuild]$ cat /etc/

The following is Eerror Message:
************************************************************************
CXX utils/prepare-builtins.o
fatal error: error in backend: Invalid primitive type
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: mips64el-unknown-linux-gnu
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: /tmp/prepare-builtins-3b2064.cpp
clang: note: diagnostic msg: /tmp/prepare-builtins-3b2064.sh
clang: note: diagnostic msg:

********************
Makefile:8: recipe for target 'utils/prepare-builtins.o' failed
make: *** [utils/prepare-builtins.o] Error 70

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.

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

-- 
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/20190301/982281b4/attachment.html>


More information about the llvm-bugs mailing list