[llvm-bugs] [Bug 38566] New: Backend error compiling on c5.2xlarge
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 14 11:20:32 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38566
Bug ID: 38566
Summary: Backend error compiling on c5.2xlarge
Product: clang
Version: 3.8
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: danil at vast.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
When I try to build my library using llvm-3.8 on an EC2 instance with
instance_type t2.2xlarge, my code compiles normally without issue.
The same machine image (ami), with the same build scripts, launched with
instance type c5.2xlarge, suffers the fatal error shown below.
fatal error: error in backend: Cannot select: 0xd5efb50: i32 = X86ISD::CMP
0xd70f8e0, 0xd5ef8f0
0xd70f8e0: i1 = truncate 0xd5ef430
0xd5ef430: i8 = and 0xd611d30, 0xd55da90
0xd611d30: i8 = X86ISD::SETCC Constant:i8<3>, 0xd5fbdd0:1
0xd70f550: i8 = Constant<3>
0xd5fbdd0: i32,i32 = X86ISD::SUB 0xd60fee0, 0xd672fe0
0xd60fee0: i32,ch = load<LD4[%66](tbaa=<0xbae73a8>)> 0xa429fd0,
0xd613760, undef:i64
0xd613760: i64,ch = CopyFromReg 0xa429fd0, Register:i64 %vreg29
0xd610730: i64 = Register %vreg29
0xd55f2f0: i64 = undef
0xd672fe0: i32,ch = CopyFromReg 0xa429fd0, Register:i32 %vreg16
0xd611280: i32 = Register %vreg16
0xd55da90: i8 = and 0xd613890, Constant:i8<1>
0xd613890: i8 = X86ISD::SETCC_CARRY Constant:i8<2>, 0xd531720:1
0xd53bc10: i8 = Constant<2>
0xd531720: i32,i32 = X86ISD::SUB 0xd672fe0, 0xd623c60
0xd672fe0: i32,ch = CopyFromReg 0xa429fd0, Register:i32 %vreg16
0xd611280: i32 = Register %vreg16
0xd623c60: i32,ch = load<LD4[%sunkaddr17](tbaa=<0xbae73a8>)>
0xa429fd0, 0xd60e910, undef:i64
0xd60e910: i64 = add 0xd613760, Constant:i64<4>
0xd613760: i64,ch = CopyFromReg 0xa429fd0, Register:i64 %vreg29
0xd610730: i64 = Register %vreg29
0xd5fbb70: i64 = Constant<4>
0xd55f2f0: i64 = undef
0xd710000: i8 = Constant<1>
0xd5ef8f0: i1,ch = CopyFromReg 0xa429fd0, Register:i1 %vreg28
0xd672660: i1 = Register %vreg28
In function:
_ZNK7microdb19RowDictFieldMatcherIiE15_update_row_idsIZNKS_16DictRangeMatcherIiE15_match_functionERKNS_10DictionaryIiEEEUljE_EEbRKNS5_INS_3RowEEEjRNS_11DenseBitSetEbbOT_
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-3.8/bin
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/Filter-87b693.cpp
clang: note: diagnostic msg: /tmp/Filter-87b693.sh
clang: note: diagnostic msg:
********************
CMakeFiles/microdb.dir/build.make:1022: recipe for target
'CMakeFiles/microdb.dir/src/main/c++/search/filter/Filter.cpp.o' failed
make[2]: *** [CMakeFiles/microdb.dir/src/main/c++/search/filter/Filter.cpp.o]
Error 70
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/microdb.dir/all' failed
make[1]: *** [CMakeFiles/microdb.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
--
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/20180814/89ba67d6/attachment.html>
More information about the llvm-bugs
mailing list