Giter Club home page Giter Club logo

Comments (9)

headius avatar headius commented on July 23, 2024

Apologies for missing this bug for so long. So it look then like at least the ppc64 platform should be a startsWith check. I'm mildly concerned that might suck in something other than actual ppc64, so maybe explicitly checking for ppc64le and ppc64be might be better.

I will put together a commit for that today. Would you be able to build and verify it?

from jffi.

headius avatar headius commented on July 23, 2024

I could find only tertiary references to ppcle so I think I'm going to leave 32-bit unpatched for the moment.

from jffi.

mbruzek avatar mbruzek commented on July 23, 2024

I don't know how to build jruby, but can look into trying out the new code. Thanks for the fix.

from jffi.

fenglixa avatar fenglixa commented on July 23, 2024

I installed Logstash 1.5.0.1, but seems it still cannot work on IBM Power Linux, ppc64le:

# rpm -qa |grep logstash
logstash-1.5.0-1.noarch
# /opt/logstash/bin/logstash  -f /etc/logstash/conf.d -l /var/log/logstash/logstash.log
io/console not supported; tty will not be manipulated
LoadError: Unsupported platform: unknown-linux
  require at org/jruby/RubyKernel.java:1071
   (root) at /opt/logstash/vendor/jruby/lib/ruby/shared/ffi/ffi.rb:69
  require at org/jruby/RubyKernel.java:1071
   (root) at /opt/logstash/vendor/jruby/lib/ruby/shared/ffi.rb:1
  require at org/jruby/RubyKernel.java:1071
   (root) at /opt/logstash/vendor/jruby/lib/ruby/shared/ffi.rb:1
   (root) at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:1
  require at org/jruby/RubyKernel.java:1071
     LibC at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:4
   (root) at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:3
   (root) at /opt/logstash/lib/bootstrap/environment.rb:48

from jffi.

headius avatar headius commented on July 23, 2024

from jffi.

fenglixa avatar fenglixa commented on July 23, 2024

Thanks headius,
Logstash 1.5.0.1 was bundled with JRuby 1.7.19.
Do you known which version of logstash bundled Jruby1.7.20? Or do you know how to work-around this issue with Jruby 1.7.19?
Thanks very much!

./jruby -v

jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on IBM J9 VM pxl6470_27sr2-20141101_01 (SR2) +jit [linux-ppc64le]

from jffi.

colinsurprenant avatar colinsurprenant commented on July 23, 2024

@fenglixa we will update to 1.7.20 in 1.5.1/1.6.0, which ever comes first, in the mean time I'd be happy to assist you into building yourself a logstash package with 1.7.20 from the 1.5.0 branch.

from jffi.

fenglixa avatar fenglixa commented on July 23, 2024

Thanks @colinsurprenant, Please share me the steps for building 1.7.20 from logstash1.5.0, I could try to verify it in my environment first. Thanks.

from jffi.

colinsurprenant avatar colinsurprenant commented on July 23, 2024

@fenglixa followed up in elastic/logstash#2747

from jffi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.