JRuby explodes with ffi-gen #498

Closed
whitequark opened this Issue Jan 16, 2013 · 0 comments

Comments

Projects
None yet
3 participants

Steps to reproduce: clone http://github.com/whitequark/ruby-llvm branch target; bundle; rake generate_ffi
JRuby revision: 3642e08
Log: https://gist.github.com/595b1e779c3cbe6f9dbf

Logs for various option combinations as in #489 (comment) : https://gist.github.com/4544778

I have tried to bisect it, but 1.7.1 and later all explode, albeit within different frames in clang, and 1.7.0 and prior versions fail to load ffi-gen with the following message:

rake aborted!
unsupported array field type: POINTER
/home/whitequark/.gem/jruby/1.9.3/gems/ffi_gen-1.1.0/lib/ffi_gen/clang.rb:199:in `SourceLocation'
/home/whitequark/.gem/jruby/1.9.3/gems/ffi_gen-1.1.0/lib/ffi_gen/clang.rb:198:in `Clang'
/home/whitequark/.gem/jruby/1.9.3/gems/ffi_gen-1.1.0/lib/ffi_gen/clang.rb:5:in `(root)'
org/jruby/RubyKernel.java:1019:in `require'
/home/whitequark/.gem/jruby/1.9.3/gems/ffi_gen-1.1.0/lib/ffi_gen.rb:1:in `(root)'
/home/whitequark/.gem/jruby/1.9.3/gems/ffi_gen-1.1.0/lib/ffi_gen.rb:2:in `FFIGen'
org/jruby/RubyKernel.java:1019:in `require'
/home/whitequark/.gem/jruby/1.9.3/gems/ffi_gen-1.1.0/lib/ffi_gen.rb:1:in `(root)'
[snip]

ghost was assigned Jan 16, 2013

whitequark closed this Oct 25, 2014

enebo added this to the JRuby 9000 milestone Nov 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment