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

Mac: Media libraries should build only x86_64 binaries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: