Comments (9)
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.
I could find only tertiary references to ppcle
so I think I'm going to leave 32-bit unpatched for the moment.
from jffi.
I don't know how to build jruby, but can look into trying out the new code. Thanks for the fix.
from jffi.
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.
from jffi.
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.
@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.
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.
@fenglixa followed up in elastic/logstash#2747
from jffi.
Related Issues (20)
- How to build win64 JNI? HOT 1
- Varargs support on Apple Silicon HOT 6
- Module name is not being set in base jar
- Can't build cleanly for FreeBSD/powerpc64 HOT 13
- Tests get stuck on aarch64 with openjdk 11 (Alpine Linux) HOT 1
- Update to JUnit5 and latest Maven Surefire Plugin HOT 2
- libjffi-1.2.so file is not present for s390x HOT 4
- Empty library archives? HOT 1
- Segmentation fault executing `Kernel.system("ls -lha")` inside Logstash HOT 5
- JVM crashes on setting callback for GTK3 signals HOT 2
- Issue with Apple Silicon Processor HOT 4
- JVM crash on Ubuntu 21 HOT 9
- Apple notarization failure HOT 12
- Update libffi to a newer version to support LoongArch HOT 2
- UnsatisfiedLinkError on Apple Silicon HOT 1
- s390x CI build not working, just falls back on x86_64 build
- Testsuite failures on 32-bit ARM arches HOT 2
- JFF crashes VM on invokeN0 on i386 and on armhf alltogether
- jffi9396993929588479283.so: /lib64/libc.so.6: version `GLIBC_2.27' not found HOT 55
- Close library HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jffi.