[LLVMbugs] [Bug 20437] New: [X86] -code-model=small crash with x86-64 JIT

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 24 08:59:00 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20437

            Bug ID: 20437
           Summary: [X86] -code-model=small crash with x86-64 JIT
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

[hjl at 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 at gnu-6 build-x86_64-linux]$

-- 
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/20140724/65c85c60/attachment.html>


More information about the llvm-bugs mailing list