This is an archive of the discontinued LLVM Phabricator instance.

change MCJIT tests to XFAIL on x86_64
AbandonedPublic

Authored by david2050 on Jan 15 2015, 10:24 AM.

Details

Reviewers
rafael
Summary

These unit tests fail on the target x86_64-unknown-linux-gnu but are not seen as "expected failures" so we add x86_64 to the list of XFAIL targets.

(this is my first submissions, please suggest reviewers, please point out process errors, ...)

Diff Detail

Event Timeline

david2050 updated this revision to Diff 18236.Jan 15 2015, 10:24 AM
david2050 retitled this revision from to change MCJIT tests to XFAIL on x86_64.
david2050 updated this object.
david2050 edited the test plan for this revision. (Show Details)
david2050 added a reviewer: rafael.
david2050 set the repository for this revision to rL LLVM.
david2050 added subscribers: david2050, Unknown Object (MLST).
rafael edited edge metadata.Jan 15 2015, 1:04 PM

I don't see the failures on x86_64-unknown-linux-gnu. Anything special about your setup? What does the error look like?

Below is the check-all log and the version information from lli

% Debug+Asserts/bin/lli -version
LLVM (http://llvm.org/):

LLVM version 3.7.0svn
DEBUG build with assertions.
Built Jan 14 2015 (17:44:24).
Default target: x86_64-unknown-linux-gnu
Host CPU: corei7

Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: ExecutionEngine/MCJIT/eh-sm-pic.ll (14578 of 20206)

  • TEST 'LLVM :: ExecutionEngine/MCJIT/eh-sm-pic.ll'

FAILED ****

Script:

/home/dcallahan/llvm-trunk/build/Debug+Asserts/bin/lli
-relocation-model=pic -code-model=small

/home/dcallahan/llvm-trunk/llvm/test/ExecutionEngine/MCJIT/eh-sm-pic.ll

Exit Code: 1

Command Output (stderr):

LLVM ERROR: Program used external function '_ZTIi' which could not be
resolved!


Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: ExecutionEngine/MCJIT/eh.ll (14580 of 20206)

  • TEST 'LLVM :: ExecutionEngine/MCJIT/eh.ll' FAILED ****

Script:

/home/dcallahan/llvm-trunk/build/Debug+Asserts/bin/lli

/home/dcallahan/llvm-trunk/llvm/test/ExecutionEngine/MCJIT/eh.ll

Exit Code: 1

Command Output (stderr):

LLVM ERROR: Program used external function '_ZTIi' which could not be
resolved!


Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: ExecutionEngine/MCJIT/eh-lg-pic.ll (14584 of 20206)

  • TEST 'LLVM :: ExecutionEngine/MCJIT/eh-lg-pic.ll'

FAILED ****

Script:

/home/dcallahan/llvm-trunk/build/Debug+Asserts/bin/lli
-relocation-model=pic -code-model=large

/home/dcallahan/llvm-trunk/llvm/test/ExecutionEngine/MCJIT/eh-lg-pic.ll

Exit Code: 1

Command Output (stderr):

LLVM ERROR: Program used external function '_ZTIi' which could not be
resolved!


Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: ExecutionEngine/MCJIT/multi-module-eh-a.ll (14595 of 20206)

  • TEST 'LLVM ::

ExecutionEngine/MCJIT/multi-module-eh-a.ll' FAILED ****

Script:

/home/dcallahan/llvm-trunk/build/Debug+Asserts/bin/lli
-extra-module=/home/dcallahan/llvm-trunk/llvm/test/ExecutionEngine/MCJIT/In
puts/multi-module-eh-b.ll
/home/dcallahan/llvm-trunk/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-

a.ll

Exit Code: 1

Command Output (stderr):

LLVM ERROR: Program used external function '_ZTIi' which could not be
resolved!

--

Theses tests pass of my machine (also linux x86_64):

./bin/lli -relocation-model=pic -code-model=small ~/llvm/llvm/test/ExecutionEngine/MCJIT/eh-sm-pic.ll

I am afraid you will probably have to run lli in gdb to find out why symbol resolution is failing.

Thanks for double checking

david2050 abandoned this revision.Feb 4 2015, 10:20 AM

A local installation problem