Skip to content

zlib issue: External LLVMFunction rb_lastline_set cannot be found #2170

@gogainda

Description

@gogainda
 1) Error:
TestZlibGzipFile#test_lineno:
RuntimeError: External LLVMFunction rb_lastline_set cannot be found. (com.oracle.truffle.llvm.runtime.except.LLVMLinkerException)
Translated to internal error
    /Users/novoi/tmp/zlib/ext/zlib/zlib.c:4324:in `rb_gzreader_gets'
    /Users/novoi/.rubies/truffleruby-dev/lib/truffle/truffle/cext_ruby.rb:39:in `gets'
    /Users/novoi/tmp/zlib/test/zlib/test_zlib.rb:644:in `block (2 levels) in test_lineno'
    /Users/novoi/.rubies/truffleruby-dev/lib/truffle/truffle/cext.rb:1003:in `rb_yield'
    call.c:70:in `rb_yield'
    /Users/novoi/.rubies/truffleruby-dev/lib/truffle/truffle/cext.rb:1462:in `rb_ensure'
    exception.c:68:in `rb_ensure'
    /Users/novoi/tmp/zlib/ext/zlib/zlib.c:3131:in `gzfile_wrap'
    /Users/novoi/tmp/zlib/ext/zlib/zlib.c:3173:in `gzfile_s_open'
    /Users/novoi/tmp/zlib/ext/zlib/zlib.c:3792:in `rb_gzreader_s_open'
    /Users/novoi/.rubies/truffleruby-dev/lib/truffle/truffle/cext_ruby.rb:39:in `open'
    /Users/novoi/tmp/zlib/test/zlib/test_zlib.rb:643:in `block in test_lineno'
    /Users/novoi/.rubies/truffleruby-dev/lib/mri/tempfile.rb:332:in `create'
    /Users/novoi/tmp/zlib/test/zlib/test_zlib.rb:639:in `test_lineno'

To reproduce:

git clone git@github.com:ruby/zlib.git 
cd zlib
bundle install
bundle exec rake

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions