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

code_native not working on Mac, with LLVM 3.4 #6635

Closed
ViralBShah opened this issue Apr 25, 2014 · 7 comments
Closed

code_native not working on Mac, with LLVM 3.4 #6635

ViralBShah opened this issue Apr 25, 2014 · 7 comments
Assignees
Labels
kind:bug Indicates an unexpected problem or unintended behavior

Comments

@ViralBShah
Copy link
Member

On my mac, with LLVM 3.4, code_native does not work. Is this known/expected, or a bug?

julia> foo(x::Float64) = 1
foo (generic function with 1 method)

julia> code_native(foo, (Float64,))
Warning: Unable to find function pointer
ERROR: no method found for the specified argument types
@ViralBShah ViralBShah added the bug label Apr 25, 2014
@Keno
Copy link
Member

Keno commented Apr 25, 2014

Nobody has updated the disassembler to work with MCJIT yet.

@ihnorton ihnorton self-assigned this Apr 25, 2014
@ihnorton
Copy link
Member

I'll take care of it.

@ViralBShah
Copy link
Member Author

Thanks.

@ViralBShah
Copy link
Member Author

I am sure this has been discussed before - but why aren't we moving to LLVM 3.4 yet? I am using it daily now, and can't quite tell what else is missing.

@tkelman
Copy link
Contributor

tkelman commented Apr 25, 2014

Nobody with the right knowledge of LLVM has spent the time to make the API fixes for Windows https://gist.github.com/tkelman/11294079 - whether that's strictly lack of time or if there are additional fundamental problems with Windows support on anything other than 3.3, I'm not sure.

@Keno
Copy link
Member

Keno commented Apr 25, 2014

I was under the impression that some of my MCJIT patches had not made it in in time for 3.4, but maybe I'm wrong about that. Certainly none of the debugging work I did is.

@ihnorton
Copy link
Member

fixed in 75abf02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants