Comments (4)
@cprice404 I think we just need someone to build the so and contribute it in a PR!
from jffi.
hi @headius,
I was providing access to one of my OpenBSD boxes for @cprice404, where he actually figured what the problem is. After he figured what the problem is, and following his suggestions, I did
as described here:
https://tickets.puppetlabs.com/browse/SERVER-14?focusedCommentId=365569&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-365569
On OpenBSD, there currently is jruby 9.1.5.0 installed/available, providing a
/usr/local/jruby/lib/jni/x86_64-OpenBSD/libjffi-1.2.so
I basically copied that file into the puppetserver jar, and things started to work.
If you are fine with me, taking that .so from that jruby version, I can create a PR against jffi.
There may or may not be a problem I see with that approach:
ldd /usr/local/jruby/lib/jni/x86_64-OpenBSD/libjffi-1.2.so
/usr/local/jruby/lib/jni/x86_64-OpenBSD/libjffi-1.2.so:
Start End Type Open Ref GrpRef Name
00000650c4844000 00000650c4a57000 dlib 2 0 0 /usr/local/jruby/lib/jni/x86_64-OpenBSD/libjffi-1.2.so
000006500395b000 0000065003b6a000 rlib 0 1 0 /usr/lib/libpthread.so.23.0
with the next major or minor bump of libpthread, the once created .so might stop working.
OpenBSD doesn't have that concept of symlinking library versions with each other. so there is no such thing like a plain /usr/lib/libpthread.so or /usr/lib/libpthread.so.23.
There is only:
/usr/lib/libpthread.a /usr/lib/libpthread.so.23.0 /usr/lib/libpthread_p.a
not sure if I can kind of can link/create the libjffi-1.2.so file against the static libpthread.a.
Or do I see a problem where there is no problem?
If that might be a problem, hints on how to build the libjffi.so against the static libpthread.a are appreciated.
Other minor problem I want to point out, but for the time being neglectable: jruby port/packe is limited to AMD64 on OpenBSD, the comment says: "# Runtime failures on i386 in IO#pos and IO#rewind".
If there is a solution for libpthread, then I at least could build a libjffi.so for i386 as well, but it may or may not have runtime issues.
from jffi.
see PR #43
from jffi.
This was largely fixed by #43. Any additional issues should be filed separately.
from jffi.
Related Issues (20)
- 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
- Clarify licensing? HOT 4
- fun address is the same after Multiple load In Ubuntu HOT 1
- MAC arm64 HOT 1
- jffi Reporting CVE-2017-1000376 HOT 3
- Automated builds failing in CI
- [Feature Request] Direct Mapping like JNA's? 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.