Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8117694

Mac: Media libraries should build only x86_64 binaries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
      None

      Description

      With the switch to gradle, we no longer build fat binaries on Mac for any of the native libraries built by gradle. We also no longer run "lipo" to strip out the 32-bit library. Since the media binaries are built using their own Makefile, the native media libraries are still being built with both 32 and 64-bit binaries.

      fxplugins.dylib (for architecture i386): Mach-O dynamically linked shared library i386
      libglib-2.0.dylib (for architecture i386): Mach-O dynamically linked shared library i386
      libgstplugins-lite.dylib (for architecture i386): Mach-O dynamically linked shared library i386
      libgstreamer-lite.dylib (for architecture i386): Mach-O dynamically linked shared library i386
      libjfxmedia.dylib (for architecture i386): Mach-O dynamically linked shared library i386

      This needs to be fixed prior to shipping FX 8, since the binaries are needlessly twice as big as they should be.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stayer Kirill Kirichenko (Inactive)
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: