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

Julia 0.4 support? #239

Closed
schmrlng opened this issue Mar 28, 2016 · 2 comments
Closed

Julia 0.4 support? #239

schmrlng opened this issue Mar 28, 2016 · 2 comments

Comments

@schmrlng
Copy link
Contributor

Is Julia 0.4 intended to be supported going forward? Currently Pkg.build("Cxx") fails with this Make.user

override LLVM_ASSERTIONS=1
override BUILD_LLVM_CLANG=1
override USE_LLVM_SHLIB=1
override LLVM_VER=3.7.1

on the release-0.4 branch. See this gist.

Alternatively, is there a particular commit on the current julia master (0.5) we should target where Cxx.jl is known to be working as intended? Aside from #236 which still stands, the current julia master gives me this behaviour (it seems that a lot of the behind-the-scenes JIT plumbing is being rewritten these days; this branch JuliaLang/julia#15609 suggested as a potential fix for #236 doesn't work either):

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.0-dev+3293 (2016-03-28 13:36 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 2103b17 (0 days old master)
|__/                   |  x86_64-linux-gnu

julia> using Cxx

julia> cxx"""#include <iostream>"""
julia: /home/schmrlng/code/oss/julia-0.5/src/jitlayers.cpp:358: {anonymous}::JuliaOJIT::ModuleHandleT {anonymous}::JuliaOJIT::addModule(std::unique_ptr<llvm::Module>): Assertion `F->isIntrinsic() || findUnmangledSymbol(F->getName()) || SectionMemoryManager::getSymbolAddressInProcess(F->getName())' failed.
[1]    2501 abort (core dumped)  julia
@Keno
Copy link
Collaborator

Keno commented Mar 29, 2016

Julia 0.4 is not supported. Julia 0.5 is technically supported, but was recently broken on julia master and I haven't gotten around to fixing it yet (plus there's another issue which requires jb/linear to be merged). I'll try to get everything in working order again once jb/linear is merged. Until then, I'd try some commit in early January.

@schmrlng
Copy link
Contributor Author

Cool, thanks for the clarification!

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