Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building java code fails during test phase #14

Closed
Zubnix opened this issue Apr 14, 2016 · 3 comments
Closed

Building java code fails during test phase #14

Zubnix opened this issue Apr 14, 2016 · 3 comments

Comments

@Zubnix
Copy link

Zubnix commented Apr 14, 2016

Building with gradlew build fails with the following error:

:llvm:test
aura.llvm.TargetMachineTest > testEmitToFile FAILED
java.lang.UnsatisfiedLinkError at TargetMachineTest.java:33
aura.llvm.TargetMachineTest > testAssemble FAILED
java.lang.NoClassDefFoundError at TargetMachineTest.java:46
aura.llvm.ObjectFileTest > testReadSections FAILED
java.lang.NoClassDefFoundError at ObjectFileTest.java:62
aura.llvm.ObjectFileTest > testLineNumberInfo FAILED
java.lang.NoClassDefFoundError at ObjectFileTest.java:123
aura.llvm.ObjectFileTest > testLoadFromFile FAILED
java.lang.NoClassDefFoundError at ObjectFileTest.java:42
aura.llvm.ModuleTest > testParseIRString FAILED
java.lang.NoClassDefFoundError at ModuleTest.java:36
aura.llvm.TargetTest > testGetTargets FAILED
java.lang.NoClassDefFoundError at TargetTest.java:34
aura.llvm.TargetTest > testLookupTarget FAILED
java.lang.NoClassDefFoundError at TargetTest.java:60
aura.llvm.TargetTest > testGetTarget FAILED
java.lang.NoClassDefFoundError at TargetTest.java:47
aura.llvm.TargetTest > testGetTargetsMap FAILED
java.lang.NoClassDefFoundError at TargetTest.java:40
13 tests completed, 10 failed, 3 skipped
:llvm:test FAILED

I was able to work around it by disabling the gradle task -x llvm:test but ideally that should not be used.

@ashleyj
Copy link
Owner

ashleyj commented Apr 17, 2016

This error is caused by a missing library libaura-llvm.so -- There was a step missing in the instructions.
I've pushed the lib into the repo, so if you do a git pull you can pick up the change. Feel free to compile it yourself, but the dependency count is quite high.

@Zubnix
Copy link
Author

Zubnix commented Apr 17, 2016

The library you added will probably fix it (will try it out asap), but ideally I'd like to compile it myself as well. Unfortunately the added step (building libauro-llvm.so) fails, see comment in #15 Are there any required dependencies or steps that are assumed?

@Zubnix
Copy link
Author

Zubnix commented Apr 18, 2016

bug caused by #15 and workaround provided, so closing this ticket.

@Zubnix Zubnix closed this as completed Apr 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants