Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JRuby 1.4
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      4

      Description

      The current release of jffi bundled with JRuby has binaries for Darwin (all arches), i386-Linux, i386-Windows, i386-SunOS and x86_64-SunOS. It would be beneficial to have binaries for at least x86_64-Linux, and maybe more esoteric platforms like i386-FreeBSD and x86_64-FreeBSD.

      To build jffi, do something like:

       hg clone -r0.6 https://kenai.com/hg/jffi~core  jffi-0.6
       cd jffi-0.6
       ant jar test
       cp dist/x86_64-Linux.jar /path/to/jruby/build_lib/jffi-x86_64-Linux.jar
       cd /path/to/jruby
       ant clean test
      

      The resulting dist/$CPU-$OS.jar file could also be attached to this issue, and someone could commit it to jruby.

      1. ant.out.txt.bz2
        4 kB
        Albert Davidson Chou

        Issue Links

          Activity

          Hide
          Charles Oliver Nutter added a comment -

          Because there's already an i386-FreeBSD.jar of the expected size in JFFI, I've copied that to build_lib/jffi-i386-FreeBSD.jar. Pushed to master in bab330d and 1.4 in 1d7de2d.

          Show
          Charles Oliver Nutter added a comment - Because there's already an i386-FreeBSD.jar of the expected size in JFFI, I've copied that to build_lib/jffi-i386-FreeBSD.jar. Pushed to master in bab330d and 1.4 in 1d7de2d.
          Hide
          Marc Seeger added a comment -

          There is still no windows x64 dll file
          copying the i386 file and repacking it in the jar didn't work.
          does anybody have a 64 bit version of the dll for windows?

          Show
          Marc Seeger added a comment - There is still no windows x64 dll file copying the i386 file and repacking it in the jar didn't work. does anybody have a 64 bit version of the dll for windows?
          Hide
          Hiro Asari added a comment -

          Marc,

          I suspect that files are missing because no one has the machine necessary to produce them.

          Do you have one for x86_64 Windows? If so, what (else) do you need to create it?

          Show
          Hiro Asari added a comment - Marc, I suspect that files are missing because no one has the machine necessary to produce them. Do you have one for x86_64 Windows? If so, what (else) do you need to create it?
          Hide
          Marc Seeger added a comment -

          I do have access to a windows x86_64 machine.
          What I am missing is the proper knowledge to actually be able to compile the dll

          I opened a new bug for it: JRUBY-4358

          Show
          Marc Seeger added a comment - I do have access to a windows x86_64 machine. What I am missing is the proper knowledge to actually be able to compile the dll I opened a new bug for it: JRUBY-4358
          Hide
          Aria Bamdad added a comment -

          Apologies if this is not the right venue to post this question. I am trying to build the binaries for JFFI for the s390x architecture for JFFI 1.0.2 but receive the following error when I run 'ant jar test' and receive the following error after a while:

          -build-native-library:
          [exec] env: /bsc/jruby/jffi-1.0.2/jni/libffi/configure: No such file or directory
          [exec] make: *** [/bsc/jruby/jffi-1.0.2/build/jni/libffi-s390x-linux/.libs/libffi_convenience.a] Error 127
          [exec] Configuring libffi for s390x-linux

          BUILD FAILED
          /bsc/jruby/jffi-1.0.2/custom-build.xml:125: exec returned: 2

          Can someone describe how ones goes about building binaries for specific architectures?

          Thanks.

          Show
          Aria Bamdad added a comment - Apologies if this is not the right venue to post this question. I am trying to build the binaries for JFFI for the s390x architecture for JFFI 1.0.2 but receive the following error when I run 'ant jar test' and receive the following error after a while: -build-native-library: [exec] env: /bsc/jruby/jffi-1.0.2/jni/libffi/configure: No such file or directory [exec] make: *** [/bsc/jruby/jffi-1.0.2/build/jni/libffi-s390x-linux/.libs/libffi_convenience.a] Error 127 [exec] Configuring libffi for s390x-linux BUILD FAILED /bsc/jruby/jffi-1.0.2/custom-build.xml:125: exec returned: 2 Can someone describe how ones goes about building binaries for specific architectures? Thanks.

            People

            • Assignee:
              Thomas E Enebo
              Reporter:
              Wayne Meissner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: