<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Backend error compiling on c5.2xlarge"
href="https://bugs.llvm.org/show_bug.cgi?id=38566">38566</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Backend error compiling on c5.2xlarge
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>danil@vast.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>