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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

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@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@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@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@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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to