Comments (4)
Hello! I'll try to reproduce it and I'll come back to you.
Thanks for the issue !
from easy-just-in-time.
Thank you for looking at this!
I forgot to add: the LLVM build I used is the official LLVM 6.0 release compiled with X86 as a target and with RTTI support.
from easy-just-in-time.
I've been digging a bit more into this and the reason for the assertion failure seems to be related to the fact that registerPass
is called multiple times from the initialization routines in the run-time, e.g. LLVMInitializeX86Target
called from InitNativeTarget
. This can be observed by running the example under gdb and breaking on registerPass
.
The bug doesn't manifest in the LLVM packaged in e.g. Debian because that is a release build, or in any case, assertions are disabled for package builds. Passing -DCMAKE_BUILD_TYPE="Release"
to the LLVM cmake call works around the bug.
from easy-just-in-time.
Today I've been trying to fix this. I did not find a solution for the moment. There seem to be other problems also with static linking for example. Thanks a lot for the help!
from easy-just-in-time.
Related Issues (17)
- more complex examples? HOT 5
- Throw an exception when a target's function bitcode could not be found
- Drop body of functions that are not used
- Easy::Jit on class methods HOT 1
- Better support for structures as parameters
- Devirtualization generates invalid code HOT 1
- Use CloneAndPruneFunctionInto in InlineParameters.cpp
- Compare with optimized convolutions HOT 1
- Use Easy::Jit function on an Easy::Jit object as function parameter.
- Jump to LLVM 7.0 HOT 6
- Every example fails with an Assertion Error HOT 8
- Example camfilter fails HOT 8
- Internal structure of the project HOT 3
- Can kernel be a template? HOT 1
- CMake Error: Could NOT find PY_lit (missing: PY_LIT) HOT 1
- Linking errors when moving to LLVM 14.0.6 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-just-in-time.