Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: JRuby 1.4
    • Fix Version/s: None
    • Component/s: Extensions, IBM/Other VM
    • Labels:
      None
    • Environment:
    • Number of attachments :
      9

      Description

      OK, I know this looks like a crazy scenario, but here we go:

      I'm trying to run JRuby in the environment described above and I get this error:
      Could not load FFI Provider: FFI not available: Could not locate stub library (/jni/ppc-Linux/libjffi-0.6.so) in jar file (LoadError)

      What can I do ? Should I provide you with a build for that arch ? Please let me know, I would be happy to help.

      1. ant_clean_test_result.txt
        9 kB
        Antoine Toulme
      2. bool_callback_spec.rb
        0.6 kB
        Wayne Meissner
      3. nohup.out
        8 kB
        Antoine Toulme
      4. spec.log
        85 kB
        Antoine Toulme
      5. test_result.log
        5 kB
        Antoine Toulme
      6. with_jffi.log
        8 kB
        Antoine Toulme
      7. without_jffi.log
        9 kB
        Antoine Toulme

        Activity

        Hide
        Wayne Meissner added a comment -

        I committed your jffi-ppc-Linux.jar in commit 70acb3c1d6570be6d142f159a4d0b1c036d7fe38

        For an extra sanity check, can you update jruby and make sure you have a clean tree (i.e. no mods, its using the checked in version of jffi-ppc-Linux.jar) then rebuild & test jruby, and run it against the FFI specs again.

        If that all works, then I say we're good to go.

        Show
        Wayne Meissner added a comment - I committed your jffi-ppc-Linux.jar in commit 70acb3c1d6570be6d142f159a4d0b1c036d7fe38 For an extra sanity check, can you update jruby and make sure you have a clean tree (i.e. no mods, its using the checked in version of jffi-ppc-Linux.jar) then rebuild & test jruby, and run it against the FFI specs again. If that all works, then I say we're good to go.
        Hide
        Antoine Toulme added a comment -

        I have failures while running ant clean test, see attached files. All specs pass.

        Show
        Antoine Toulme added a comment - I have failures while running ant clean test, see attached files. All specs pass.
        Hide
        Antoine Toulme added a comment -

        I worked with Wayne extensively yesterday and we got to the point where the lib is created in 64 bits allright, but we could not run the specs.

        Without a 64 bit JVM I get this:
        http://gist.github.com/317358
        With a 64 bit JVM I get:
        http://gist.github.com/317360

        Show
        Antoine Toulme added a comment - I worked with Wayne extensively yesterday and we got to the point where the lib is created in 64 bits allright, but we could not run the specs. Without a 64 bit JVM I get this: http://gist.github.com/317358 With a 64 bit JVM I get: http://gist.github.com/317360
        Hide
        Antoine Toulme added a comment -

        So status on this: we have been successful doing the 32 bit version of the jar, but there are issues with 64 bit for some reason (see the gists in my previous comment).

        We are good to go with 32 bits for now.

        Show
        Antoine Toulme added a comment - So status on this: we have been successful doing the 32 bit version of the jar, but there are issues with 64 bit for some reason (see the gists in my previous comment). We are good to go with 32 bits for now.
        Hide
        Charles Oliver Nutter added a comment -

        Resolving as incomplete. We have had many iterations of jffi stuff since this time, so if it's not working please open a new bug.

        Show
        Charles Oliver Nutter added a comment - Resolving as incomplete. We have had many iterations of jffi stuff since this time, so if it's not working please open a new bug.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Antoine Toulme
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: