[LLVMdev] [LLVMDev][3.5]: assertion failed in RuntimeDyldELF.cpp

Francis ANDRE francis.andre.kampbell at orange.fr
Tue Jul 22 06:16:15 PDT 2014


Hi LLVMDev list

I am building LLVM from the SVN trunk at 213638 on a W7/X86_64/Cygwin 
system and running make check leads to a series of failed assertions like

********************
FAIL: LLVM :: ExecutionEngine/MCJIT/test-setcond-fp.ll (6185 of 11245)
******************** TEST 'LLVM :: 
ExecutionEngine/MCJIT/test-setcond-fp.ll' FAILED ********************
Script:
--
/cygdrive/z/dev/llvm/x64/static/Release+Asserts/bin/lli -use-mcjit 
-mtriple=x86_64-unknown-cygwin-elf 
/cygdrive/z/dev/llvm/x64/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll 
 > /dev/null
--
Exit Code: 134

Command Output (stderr):
--
assertion "RealOffset <= INT32_MAX && RealOffset >= INT32_MIN" failed: 
file 
"/cygdrive/z/dev/llvm/x64/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp", 
line 308, function: void 
llvm::RuntimeDyldELF::resolveX86_64Relocation(const llvm::SectionEntry&, 
uint64_t, uint64_t, uint32_t, int64_t, uint64_t)
Stack dump:
0.      Program arguments: 
/cygdrive/z/dev/llvm/x64/static/Release+Asserts/bin/lli -use-mcjit 
-mtriple=x86_64-unknown-cygwin-elf 
/cygdrive/z/dev/llvm/x64/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll
/cygdrive/z/dev/llvm/x64/static/test/ExecutionEngine/MCJIT/Output/test-setcond-fp.ll.script: 
line 1:  5552 Aborted 
/cygdrive/z/dev/llvm/x64/static/Release+Asserts/bin/lli -use-mcjit 
-mtriple=x86_64-unknown-cygwin-elf 
/cygdrive/z/dev/llvm/x64/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll 
 > /dev/null

--

How could I deal with the configuration of LLVM to avoid such assertion 
error?

FA



More information about the llvm-dev mailing list