[LLVMdev] LLVM Error

Sharma, Yogesh Yogesh.Sharma at saabsensis.com
Tue Sep 17 11:48:27 PDT 2013

I am running make check and I get the following error:

FAIL: LLVM :: ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll (4965 of 8802)
******************** TEST 'LLVM :: ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll' FAILED ********************
/opt/clang+llvm-src/clang+llvm-svncmake/bin/./lli -use-mcjit -O0 -relocation-model=pic -code-model=small /opt/clang+llvm-src/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
Exit Code: 1

Command Output (stderr):
LLVM ERROR: Program used external function '_GLOBAL_OFFSET_TABLE_' which could not be resolved!


Any idea how I can go about debugging this?  My configuration is:

/opt/cmake- ../llvm/ -DCMAKE_BUILD_TYPE:STRING='Release' -DCMAKE_INSTALL_PREFIX:PATH=/opt/clang+llvm-svncmake -DLLVM_TARGET_ARCH:STRING=i386-redhat-linux-gnu -DCMAKE_C_COMPILER=/opt/clang+llvm-3.3/bin/i386-redhat-linux-gnu-clang -DCMAKE_CXX_COMPILER=/opt/clang+llvm-3.3/bin/i386-redhat-linux-gnu-clang++

This message is intended only for the addressee and may contain information that is company confidential or privileged. Any technical data in this message may be exported only in accordance with the U.S. International Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message. If you have received this email in error, please delete it, and advise the sender immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130917/807536d3/attachment.html>

More information about the llvm-dev mailing list