[llvm-bugs] [Bug 24978] New: MCJIT on Windows x64 causes assert(isInt<32>(RealOffset)) in RuntimeDyidELF.cpp

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 28 13:59:54 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24978

            Bug ID: 24978
           Summary: MCJIT on Windows x64 causes
                    assert(isInt<32>(RealOffset)) in RuntimeDyidELF.cpp
           Product: libraries
           Version: 3.7
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: alex.moiseenko at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Environment: Windows 8 x64.

On some machines all goes well when using MCJIT but on others there is an
assertion failure on assert(isInt<32>(RealOffset)); in RuntimeDyidELF.cpp

However if we explicitly set code and relocation model when we create
ExecutionEngine - then assertion is not triggered and everything is fine:

.setCodeModel(llvm::CodeModel::Large)
.setRelocationModel(llvm::Reloc::Static)

Probably the following issues are related:

https://llvm.org/bugs/show_bug.cgi?id=15356
https://llvm.org/bugs/show_bug.cgi?id=21423

-- 
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/20150928/2584d099/attachment.html>


More information about the llvm-bugs mailing list