<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - [X86] -code-model=small crash with x86-64 JIT"
href="http://llvm.org/bugs/show_bug.cgi?id=20437">20437</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[X86] -code-model=small crash with x86-64 JIT
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hjl.tools@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>[hjl@gnu-6 build-x86_64-linux]$ Debug+Asserts/bin/lli -use-mcjit
-code-model=small
/export/ssd/git/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll >
/dev/null
lli:
/export/ssd/git/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:308:
void llvm::RuntimeDyldELF::resolveX86_64Relocation(const llvm::SectionEntry&,
uint64_t, uint64_t, uint32_t, int64_t, uint64_t): Assertion `RealOffset <=
(2147483647) && RealOffset >= (-2147483647-1)' failed.
0 lli 0x00000000014eeaf9 llvm::sys::PrintStackTrace(_IO_FILE*) +
38
1 lli 0x00000000014eed76
2 lli 0x00000000014ee725
3 libpthread.so.0 0x0000003047c0f770
4 libc.so.6 0x0000003047435b89 gsignal + 57
5 libc.so.6 0x0000003047437298 abort + 328
6 libc.so.6 0x000000304742eae6
7 libc.so.6 0x000000304742eb92
8 lli 0x00000000011db721
llvm::RuntimeDyldELF::resolveX86_64Relocation(llvm::SectionEntry const&,
unsigned long, unsigned long, unsigned int, long, unsigned long) + 1131
9 lli 0x00000000011dd8b4
llvm::RuntimeDyldELF::resolveRelocation(llvm::SectionEntry const&, unsigned
long, unsigned long, unsigned int, long, unsigned long) + 126
10 lli 0x00000000011dd834
llvm::RuntimeDyldELF::resolveRelocation(llvm::RelocationEntry const&, unsigned
long) + 104
11 lli 0x00000000011c62d6
llvm::RuntimeDyldImpl::resolveRelocationList(llvm::SmallVector<llvm::RelocationEntry,
64u> const&, unsigned long) + 136
12 lli 0x00000000011c66f3
llvm::RuntimeDyldImpl::resolveExternalSymbols() + 1039
13 lli 0x00000000011c3534
llvm::RuntimeDyldImpl::resolveRelocations() + 50
14 lli 0x00000000011c6ddf llvm::RuntimeDyld::resolveRelocations() +
27
15 lli 0x00000000011b8ef2 llvm::MCJIT::finalizeLoadedModules() + 56
16 lli 0x00000000011b8ff5 llvm::MCJIT::finalizeObject() + 185
17 lli 0x0000000000966f0d main + 4386
18 libc.so.6 0x0000003047421ca5 __libc_start_main + 245
19 lli 0x000000000095cf69
Stack dump:
0. Program arguments: Debug+Asserts/bin/lli -use-mcjit -code-model=small
/export/ssd/git/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll
Aborted
[hjl@gnu-6 build-x86_64-linux]$</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>