Comments (3)
Oro!
Welcome to Crystal!
Did you try googling "llc: : Invalid MODULE_CODE_GLOBALVAR record"? I found a bunch of results saying that you probably have many LLVM versions installed so two llvm command are executed with different versions (crystal uses first llc, then clang). So the problem is not related to crystal.
What's the output of the following commands?
llc -version
clang --version
Anyway, make sure that on the command line when you execute any llvm executable they are using version 3.1.
from crystal.
llc -version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.9 (Ubuntu 2.9+dfsg-3ubuntu4)
...
clang --version
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
i ll try to switch 3.1 in ubuntu
from crystal.
So, 2.9 vs 3.0. Make sure both versions give you 3.1. I don't know how to do it in Ubuntu... (I'm on a Mac right now)
from crystal.
Related Issues (20)
- add something like ruby un.rb or cmake -E for cross platform scripts HOT 3
- regression: XPath swallows errors and raises opaque `error in [...] expression` instead HOT 1
- Proposal: Utility method for string truncation HOT 2
- Debugging Windows binaries with LLDB doesn't break on access violation
- Manage compiler dependencies with `shards` HOT 6
- Passing `Proc`s with non-default calling conventions across libs HOT 4
- Standardizing the type for timeout values HOT 1
- Symbol casting to Enums does not work in subclass initializers HOT 5
- OpenSSL errors that don't involve `ERR_get_error`
- Config requirements for LLVM bindings
- Return type of `unbuffered_read`/`unbuffered_write` HOT 2
- Inconsistent `JSON::Serializable` behavior when parsing case-sensitive `Enum`s HOT 3
- Compiler complains that an implemented abstract module method must be implemented when calling `super` HOT 2
- Introduce platform-specific `FileDescriptor::Handle` HOT 2
- Explicitly returning a lib struct or tuple inside a `fun` results in a codegen error
- io/console
- Detecting `libstdc++.so` in the interpreter HOT 1
- Catching hard failures in prelude-less codegen specs
- Error when requesting administrator privileges on windows with powershell HOT 1
- "Error: can't use variable name 'foo' inside assignment to variable 'foo'" only applies to ternary statement HOT 1
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 crystal.